forked from BrikerMan/BMPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IBPlayer.podspec
48 lines (38 loc) · 1.65 KB
/
IBPlayer.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
Pod::Spec.new do |s|
s.name = "IBPlayer"
s.version = "1.0.2"
s.summary = "Video Player Using Swift, based on AVPlayer"
s.description = <<-DESC
Video Player Using Swift, based on AVPlayer, support for the horizontal screen, vertical screen, the upper and lower slide to adjust the volume, the screen brightness, or so slide to adjust the playback progress.
DESC
s.homepage = "https://github.com/BrikerMan/BMPlayer"
s.license = 'MIT'
s.author = { "Eliyar Eziz" => "[email protected]" }
s.source = { :git => "https://github.com/iblacksun/BMPlayer.git", :branch => 'master' }
s.social_media_url = 'http://weibo.com/536445669'
s.ios.deployment_target = '8.0'
s.platform = :ios, '8.0'
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '4.2' }
s.default_subspec = 'Full'
s.subspec 'Core' do |core|
core.frameworks = 'UIKit', 'AVFoundation'
core.source_files = 'Source/BMPlayerLayerView.swift'
end
s.subspec 'Full' do |full|
full.source_files = 'Source/*.swift','Source/Default/*'
full.resources = "Source/**/*.xcassets"
full.frameworks = 'UIKit', 'AVFoundation'
full.dependency 'IBPlayer/Core'
full.dependency 'SnapKit', '~> 4.0.1'
full.dependency 'NVActivityIndicatorView', '~> 4.4.0'
end
s.subspec 'CacheSupport' do |cache|
cache.source_files = 'Source/*.swift','Source/CacheSupport/*'
cache.resources = "Source/**/*.xcassets"
cache.frameworks = 'UIKit', 'AVFoundation'
cache.dependency 'IBPlayer/Core'
cache.dependency 'SnapKit', '~> 4.0.1'
cache.dependency 'NVActivityIndicatorView', '~> 4.4.0'
cache.dependency 'VIMediaCache'
end
end