forked from changsanjiang/SJVideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SJVideoPlayer.podspec
102 lines (84 loc) · 3.84 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
Pod::Spec.new do |s|
s.name = 'SJVideoPlayer'
s.version = '2.0.8.2'
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' => '[email protected]' }
s.platform = :ios, '8.0'
s.source = { :git => 'https://github.com/changsanjiang/SJVideoPlayer.git', :tag => "v#{s.version}" }
s.requires_arc = true
s.dependency 'Masonry'
s.dependency 'SJBaseVideoPlayer'
s.dependency 'SJFullscreenPopGesture'
s.source_files = 'SJVideoPlayer/*.{h,m}'
s.subspec 'SJEdgeControlLayer' do |e|
e.source_files = 'SJVideoPlayer/SJEdgeControlLayer/*.{h,m}'
e.dependency 'SJBaseVideoPlayer'
e.dependency 'SJSlider'
e.dependency 'SJAttributesFactory'
e.dependency 'SJLoadingView'
e.subspec 'Asset' do |a|
a.source_files = 'SJVideoPlayer/SJEdgeControlLayer/Asset/*'
a.resource = 'SJVideoPlayer/SJEdgeControlLayer/Asset/SJEdgeControlLayer.bundle'
end
e.subspec 'MaskView' do |mk|
mk.source_files = 'SJVideoPlayer/SJEdgeControlLayer/MaskView/*'
end
e.subspec 'EdgeViews' do |ev|
ev.source_files = 'SJVideoPlayer/SJEdgeControlLayer/EdgeViews/*'
ev.dependency 'SJVideoPlayer/SJEdgeControlLayer/MaskView'
ev.dependency 'SJVideoPlayer/SJEdgeControlLayer/Asset'
end
e.subspec 'MoreSetting' do |ms|
ms.source_files = 'SJVideoPlayer/SJEdgeControlLayer/MoreSetting/*'
ms.dependency 'SJVideoPlayer/SJEdgeControlLayer/Asset'
end
end
s.subspec 'SJEdgeLightweightControlLayer' do |l|
l.source_files = 'SJVideoPlayer/SJEdgeLightweightControlLayer/*.{h,m}'
l.dependency 'SJBaseVideoPlayer'
l.dependency 'SJSlider'
l.dependency 'SJLoadingView'
l.dependency 'SJVideoPlayer/SJEdgeControlLayer/Asset'
l.dependency 'SJVideoPlayer/SJEdgeControlLayer/MaskView'
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 'SJBaseVideoPlayer'
f.dependency 'SJSlider'
f.dependency 'SJAttributesFactory'
f.subspec 'Asset' do |a|
a.source_files = 'SJVideoPlayer/SJFilmEditingControlLayer/Asset/*'
a.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/Header'
a.resource = 'SJVideoPlayer/SJFilmEditingControlLayer/Asset/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 'Settings' do |ss|
ss.source_files = 'SJVideoPlayer/Settings/*.{h,m}'
ss.dependency 'SJVideoPlayer/SJFilmEditingControlLayer/Asset'
ss.dependency 'SJVideoPlayer/SJEdgeControlLayer/Asset'
end
s.subspec 'Switcher' do |ss|
ss.source_files = 'SJVideoPlayer/Switcher/*.{h,m}'
ss.dependency 'SJBaseVideoPlayer'
end
end