-
Notifications
You must be signed in to change notification settings - Fork 52
/
SJBaseVideoPlayer.podspec
68 lines (58 loc) · 2.38 KB
/
SJBaseVideoPlayer.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
Pod::Spec.new do |s|
s.name = 'SJBaseVideoPlayer'
s.version = '3.7.7.1'
s.summary = 'video player.'
s.description = 'https://github.com/changsanjiang/SJBaseVideoPlayer/blob/master/README.md'
s.homepage = 'https://github.com/changsanjiang/SJBaseVideoPlayer'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'SanJiang' => '[email protected]' }
s.platform = :ios, '12.0'
s.source = { :git => 'https://github.com/changsanjiang/SJBaseVideoPlayer.git', :tag => "v#{s.version}" }
s.frameworks = "UIKit", "AVFoundation"
s.requires_arc = true
s.source_files = 'SJBaseVideoPlayer/*.{h,m}'
s.default_subspecs = 'Common', 'AVPlayer'
s.subspec 'Common' do |ss|
ss.source_files = 'SJBaseVideoPlayer/Common/**/*.{h,m}'
ss.dependency 'SJBaseVideoPlayer/ResourceLoader'
end
s.subspec 'ResourceLoader' do |ss|
ss.source_files = 'SJBaseVideoPlayer/ResourceLoader/*.{h,m}'
ss.resources = 'SJBaseVideoPlayer/ResourceLoader/SJBaseVideoPlayerResources.bundle'
end
s.subspec 'AVPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/AVPlayer/**/*.{h,m}'
ss.dependency 'SJBaseVideoPlayer/Common'
end
s.subspec 'IJKPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/IJKPlayer/**/*.{h,m}'
ss.dependency 'PodIJKPlayer'
ss.dependency 'SJBaseVideoPlayer/Common'
ss.libraries = 'z', 'c++'
end
s.subspec 'AliPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/AliPlayer/**/*.{h,m}'
ss.dependency 'AliPlayerSDK_iOS'
ss.dependency 'SJBaseVideoPlayer/Common'
end
s.subspec 'AliVodPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/AliVodPlayer/**/*.{h,m}'
ss.dependency 'AliyunPlayer_iOS/AliyunVodPlayerSDK'
ss.dependency 'SJBaseVideoPlayer/Common'
end
s.subspec 'PLPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/PLPlayer/**/*.{h,m}'
ss.dependency 'PLPlayerKit'
ss.dependency 'SJBaseVideoPlayer/Common'
end
s.subspec 'KSYMediaPlayer' do |ss|
ss.source_files = 'SJBaseVideoPlayer/KSYMediaPlayer/**/*.{h,m}'
ss.dependency 'KSYMediaPlayer_iOS/KSYMediaPlayer_vod'
ss.dependency 'SJBaseVideoPlayer/Common'
end
s.dependency 'Masonry'
s.dependency 'SJUIKit/AttributesFactory', '>= 0.0.0.38'
s.dependency 'SJUIKit/ObserverHelper'
s.dependency 'SJUIKit/Queues'
s.dependency 'SJUIKit/SQLite3'
end