forked from HelloiOS2014/SJVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSJVideoPlayer.podspec
126 lines (102 loc) · 4.5 KB
/
SJVideoPlayer.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
Pod::Spec.new do |s|
s.name = 'SJVideoPlayer'
s.version = '2.2.4'
s.summary = 'video player.'
s.description = 'https://github.com/changsanjiang/SJVideoPlayer/blob/master/README.md'
s.homepage = 'https://github.com/changsanjiang/SJVideoPlayer'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'SanJiang' => 'changsanjiang@gmail.com' }
s.platform = :ios, '8.0'
s.source = { :git => 'https://gitee.com/changsanjiang/SJVideoPlayer.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.dependency 'Masonry'
s.dependency 'SJBaseVideoPlayer'
s.dependency 'SJUIFactory'
s.dependency 'SJAttributesFactory'
s.source_files = 'SJVideoPlayer/*.{h,m}'
# 通用
s.subspec 'Common' do |ss|
ss.source_files = 'SJVideoPlayer/Common/*.{h,m}'
end
# 容器
s.subspec 'Adapters' do |ss|
ss.source_files = 'SJVideoPlayer/Adapters/**/*.{h,m}'
ss.dependency 'SJVideoPlayer/Common'
end
# 切换器
s.subspec 'Switcher' do |ss|
ss.source_files = 'SJVideoPlayer/Switcher/**/*.{h,m}'
end
# 进度条
s.subspec 'SJProgressSlider' do |ss|
ss.source_files = 'SJVideoPlayer/SJProgressSlider/*.{h,m}'
end
# 加载圈圈
s.subspec 'SJLoadingView' do |ss|
ss.source_files = 'SJVideoPlayer/SJLoadingView/*.{h,m}'
end
s.subspec 'Settings' do |ss|
ss.source_files = 'SJVideoPlayer/Settings/*.{h,m}'
ss.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/ResourceLoader'
ss.dependency 'SJVideoPlayer/SJEdgeControlLayer/ResourceLoader'
end
# 边缘控制层
s.subspec 'SJEdgeControlLayer' do |ss|
ss.source_files = 'SJVideoPlayer/SJEdgeControlLayer/*.{h,m}'
ss.subspec 'ResourceLoader' do |a|
a.source_files = 'SJVideoPlayer/SJEdgeControlLayer/ResourceLoader/*.{h,m}'
a.resource = 'SJVideoPlayer/SJEdgeControlLayer/ResourceLoader/SJEdgeControlLayer.bundle'
end
ss.subspec 'View' do |v|
v.source_files = 'SJVideoPlayer/SJEdgeControlLayer/View/*.{h,m}'
v.dependency 'SJVideoPlayer/SJEdgeControlLayer/ResourceLoader'
end
ss.dependency 'SJVideoPlayer/Adapters'
ss.dependency 'SJVideoPlayer/Switcher'
ss.dependency 'SJVideoPlayer/Common'
ss.dependency 'SJVideoPlayer/SJProgressSlider'
ss.dependency 'SJVideoPlayer/SJLoadingView'
end
s.subspec 'SJEdgeLightweightControlLayer' do |l|
l.source_files = 'SJVideoPlayer/SJEdgeLightweightControlLayer/*.{h,m}'
l.dependency 'SJVideoPlayer/SJEdgeControlLayer'
l.subspec 'LightweightControlView' do |view|
view.source_files = 'SJVideoPlayer/SJEdgeLightweightControlLayer/LightweightControlView/*.{h,m}'
end
end
s.subspec 'SJFilmEditingControlLayer' do |f|
f.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/*.{h,m}'
f.dependency 'SJVideoPlayer/SJProgressSlider'
f.dependency 'SJVideoPlayer/Switcher'
f.subspec 'ResourceLoader' do |a|
a.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/ResourceLoader/*'
a.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/Header'
a.resource = 'SJVideoPlayer/SJFilmEditingControlLayer/ResourceLoader/SJFilmEditing.bundle'
end
f.subspec 'Category' do |c|
c.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/Category/*'
end
f.subspec 'Result' do |r|
r.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/Result/*'
r.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/Header'
end
f.subspec 'Header' do |h|
h.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/Header/*'
end
f.subspec 'View' do |v|
v.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/View/*'
v.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/Header'
end
end
s.subspec 'SJLoadFailedControlLayer' do |ss|
ss.source_files = 'SJVideoPlayer/SJLoadFailedControlLayer/*.{h,m}'
ss.dependency 'SJVideoPlayer/SJEdgeControlLayer'
end
s.subspec 'SJMoreSettingControlLayer' do |ss|
ss.source_files = 'SJVideoPlayer/SJMoreSettingControlLayer/*.{h,m}'
ss.dependency 'SJVideoPlayer/SJEdgeControlLayer'
ss.subspec 'Core' do |sss|
sss.source_files = 'SJVideoPlayer/SJMoreSettingControlLayer/Core/*.{h,m}'
end
end
end