forked from jgh-/VideoCore-Inactive
-
Notifications
You must be signed in to change notification settings - Fork 6
/
VideoCore.podspec
58 lines (48 loc) · 2.85 KB
/
VideoCore.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Pod::Spec.new do |s|
s.name = "VideoCore"
s.version = "0.3.2"
s.summary = "An audio and video manipulation and streaming pipeline with support for RTMP."
s.description = <<-DESC
This is a work-in-progress library with the
intention of being an audio and video manipulation
and streaming pipeline for iOS.
DESC
s.homepage = "https://github.com/jgh-/VideoCore"
s.license = 'MIT'
s.authors = { "James Hurley" => "[email protected]" }
s.source = { :git => "https://github.com/jgh-/VideoCore.git", :tag => s.version.to_s }
s.requires_arc = false
s.header_dir = 'videocore'
s.header_mappings_dir = '.'
s.source_files = [ 'mixers/**/*.h*', 'mixers/**/*.cpp', 'mixers/**/*.m*',
'rtmp/**/*.h*', 'rtmp/**/*.cpp', 'rtmp/**/*.m*',
'sources/**/*.h*', 'sources/**/*.cpp', 'sources/**/*.m*',
'stream/**/*.h*', 'stream/**/*.cpp', 'stream/**/*.m*',
'system/**/*.h*', 'system/**/*.cpp', 'system/**/*.m*',
'transforms/**/*.h*', 'transforms/**/*.cpp', 'transforms/**/*.m*',
'api/**/*.h*', 'api/**/*.m*',
'filters/**/*.cpp', 'filters/**/*.h*' ]
s.frameworks = [ 'VideoToolbox', 'AudioToolbox', 'AVFoundation', 'CFNetwork', 'CoreMedia',
'CoreVideo', 'OpenGLES', 'Foundation', 'CoreGraphics' ]
s.libraries = 'c++'
s.dependency 'boost', '~> 1.51.0'
s.dependency 'glm', '~> 0.9.4.6'
s.dependency 'UriParser-cpp', '~> 0.1.3'
s.xcconfig = { "HEADER_SEARCH_PATHS" => "${PODS_ROOT}/boost ${PODS_ROOT}/**" }
s.ios.deployment_target = '8.0'
# Before we can get OS X deployment working, we'll need to use sub-specs to
# separate out the source files for OS X vs. iOS
#s.osx.deployment_target = '10.7'
s.subspec 'Swift' do |swift|
swift.public_header_files = 'api/**/*.h'
swift.source_files = [ 'mixers/**/*.h*', 'mixers/**/*.cpp', 'mixers/**/*.m*',
'rtmp/**/*.h*', 'rtmp/**/*.cpp', 'rtmp/**/*.m*',
'sources/**/*.h*', 'sources/**/*.cpp', 'sources/**/*.m*',
'stream/**/*.h*', 'stream/**/*.cpp', 'stream/**/*.m*',
'system/**/*.h*', 'system/**/*.cpp', 'system/**/*.m*',
'transforms/**/*.h*', 'transforms/**/*.cpp', 'transforms/**/*.m*',
'api/**/*.h*', 'api/**/*.m*',
'filters/**/*.cpp', 'filters/**/*.h*' ]
swift.ios.deployment_target = '8.0'
end
end