-
Notifications
You must be signed in to change notification settings - Fork 65
/
FFmpegTutorial.podspec
131 lines (108 loc) · 5.2 KB
/
FFmpegTutorial.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#
# Be sure to run `pod lib lint FFmpegTutorial.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'FFmpegTutorial'
s.version = '0.5.24'
s.summary = '适合 iOS/macOS 开发人员学习的 FFmpeg 教程.'
s.description = <<-DESC
帮助零基础的 iOS/macOS 开发人员快速学习FFmpeg和音视频渲染技术。
DESC
s.homepage = 'https://debugly.cn/FFmpegTutorial/'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'MattReach' => '[email protected]' }
s.source = { :git => 'https://github.com/debugly/FFmpegTutorial.git', :tag => s.version.to_s }
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.13'
# s.static_framework = true
s.subspec 'common' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/common/**/*.{h,c,m,metal}'
ss.public_header_files = [
'FFmpegTutorial/Classes/common/*.h',
'FFmpegTutorial/Classes/common/hud/*.h',
'FFmpegTutorial/Classes/common/videoRenderer/IJKVideoRenderingProtocol.h',
'FFmpegTutorial/Classes/common/videoRenderer/IJKOverlayAttach.h'
]
ss.private_header_files = 'FFmpegTutorial/Classes/common/headers/private/*.h'
ss.osx.exclude_files = 'FFmpegTutorial/Classes/common/hud/ios/*.*', 'FFmpegTutorial/Classes/common/videoRenderer/ios/*.*'
ss.ios.exclude_files = 'FFmpegTutorial/Classes/common/hud/mac/*.*', 'FFmpegTutorial/Classes/common/videoRenderer/mac/*.*'
end
s.subspec '0x01' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x01/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x01/*.h'
ss.ios.exclude_files = 'FFmpegTutorial/Classes/0x01/FFTOpenGLVersionHelper.{h,m}'
end
s.subspec '0x02' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x02/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x02/*.h'
end
s.subspec '0x03' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x03/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x03/*.h'
end
s.subspec '0x04' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x04/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x04/*.h'
end
s.subspec '0x05' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x05/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x05/*.h'
end
s.subspec '0x06' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x06/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x06/*.h'
end
s.subspec '0x10' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x10/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x10/FFTPlayer0x10.h'
end
s.subspec '0x20' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x20/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x20/FFTPlayer0x20.h'
end
s.subspec '0x30' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x30/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x30/FFTPlayer0x30.h'
end
s.subspec '0x31' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x31/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x31/FFTPlayer0x31.h'
end
s.subspec '0x32' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x32/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x32/FFTPlayer0x32.h'
end
s.subspec '0x33' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x33/**/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x33/FFTPlayer0x33.h'
end
s.subspec '0x34' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x34/**/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x34/FFTPlayer0x34.h'
end
s.subspec '0x35' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x35/**/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x35/FFTPlayer0x35.h'
end
s.subspec '0x50' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/0x50/*.{h,m}'
ss.public_header_files = 'FFmpegTutorial/Classes/0x50/FFTPlayer0x50.h'
end
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) IJK_USE_METAL_2=1',
'MTL_LANGUAGE_REVISION' => 'Metal20'
}
s.ios.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../../build/product/ios/universal/ffmpeg/include'}
s.ios.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../../build/product/ios/universal/ffmpeg/include'}
s.ios.vendored_libraries = 'build/product/ios/universal/*/lib/*.a'
s.ios.framework = 'OpenGLES',"CoreFoundation","CoreVideo","VideoToolbox","CoreMedia","AudioToolbox","Security"
s.osx.pod_target_xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../../build/product/macos/universal/ffmpeg/include'}
s.osx.xcconfig = { 'HEADER_SEARCH_PATHS' => '${PODS_ROOT}/../../../build/product/macos/universal/ffmpeg/include'}
s.osx.vendored_libraries = 'build/product/macos/universal/*/lib/*.a'
s.osx.frameworks = 'OpenGL',"CoreFoundation","CoreVideo","VideoToolbox","CoreMedia","AudioToolbox","Security"
s.libraries = "z","bz2","iconv","lzma","xml2"
end