forked from debugly/FFmpegTutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FFmpegTutorial.podspec
123 lines (101 loc) · 4.47 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
#
# 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.19'
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 = '9.0'
s.osx.deployment_target = '10.11'
s.static_framework = true
s.subspec 'common' do |ss|
ss.source_files = 'FFmpegTutorial/Classes/common/**/*.{h,c,m}'
ss.public_header_files = [
'FFmpegTutorial/Classes/common/*.h',
'FFmpegTutorial/Classes/common/hud/*.h',
'FFmpegTutorial/Classes/common/videoRenderer/mac/FFTVideoRendererProtocol.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.osx.source_files = 'FFmpegTutorial/Classes/0x30/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x30/FFTPlayer0x30.h'
end
s.subspec '0x31' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x31/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x31/FFTPlayer0x31.h'
end
s.subspec '0x32' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x32/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x32/FFTPlayer0x32.h'
end
s.subspec '0x33' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x33/**/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x33/FFTPlayer0x33.h'
end
s.subspec '0x34' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x34/**/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x34/FFTPlayer0x34.h'
end
s.subspec '0x35' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x35/**/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x35/FFTPlayer0x35.h'
end
s.subspec '0x36' do |ss|
ss.osx.source_files = 'FFmpegTutorial/Classes/0x36/**/*.{h,m}'
ss.osx.public_header_files = 'FFmpegTutorial/Classes/0x36/FFTPlayer0x36.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.dependency 'MRFFmpegPod'
s.osx.framework = 'OpenGL'
s.ios.framework = 'OpenGLES'
end