forked from NPAW/avplayer-adapter-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
YouboraAVPlayerAdapter.podspec
83 lines (57 loc) · 3.03 KB
/
YouboraAVPlayerAdapter.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
Pod::Spec.new do |s|
s.name = 'YouboraAVPlayerAdapter'
s.version = '6.6.8'
# Metadata
s.summary = "Adapter to use YouboraLib on AVPlayer"
s.description = "<<-DESC
YouboraAVPlayerAdapter is an adapter used
for AVPlayer.
DESC"
s.homepage = "http://developer.nicepeopleatwork.com/"
s.license = { :type => "MIT", :file => "LICENSE.md" }
s.author = { "Nice People at Work" => "[email protected]" }
# Platforms
s.ios.deployment_target = "9.0"
s.tvos.deployment_target = "9.0"
s.osx.deployment_target = "10.10"
# Platforms
s.swift_version = "4.0", "4.1", "4.2", "4.3", "5.0", "5.1"
# Source Location
s.source = { :git => 'https://bitbucket.org/npaw/avplayer-adapter-ios.git', :tag => s.version}
# Source files
s.source_files = 'YouboraAVPlayerAdapter/Generic/**/*.{h,m}'
s.ios.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h'
s.tvos.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ tvOS/YouboraAVPlayerAdapter.h'
s.osx.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ OSX/YouboraAVPlayerAdapter.h'
s.public_header_files = "YouboraAVPlayerAdapter/Generic/**/*.h, YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h"
# Project settings
s.requires_arc = true
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) YOUBORAADAPTER_VERSION=' + s.version.to_s }
s.default_subspec = 'Default'
s.subspec 'Default' do |default|
# just the plain adapter
end
# Dependency
s.dependency 'YouboraLib', '~> 6.5'
# s.subspec 'Streamroot' do |streamroot|
# streamroot.ios.deployment_target = '10.2'
# streamroot.tvos.deployment_target = '10.2'
# streamroot.dependency 'AVPlayerDNAPlugin', '~> 1.1'
# streamroot.public_header_files = "YouboraAVPlayerAdapter/Generic/**/*.h, YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h"
# # Source files
# streamroot.source_files = 'YouboraAVPlayerAdapter/Generic/**/*.{h,m}'
# streamroot.ios.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h'
# streamroot.tvos.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ tvOS/YouboraAVPlayerAdapter.h'
# end
s.subspec 'Polynet' do |polynet|
polynet.ios.deployment_target = '10.2'
polynet.ios.dependency 'PolyNetSDK', '4.33.113'
polynet.tvos.deployment_target = '9.0'
polynet.tvos.dependency 'PolyNetSDKtvOS', '4.32.113'
polynet.public_header_files = "YouboraAVPlayerAdapter/Generic/**/*.h, YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h"
# Source files
polynet.source_files = 'YouboraAVPlayerAdapter/Generic/**/*.{h,m}'
polynet.ios.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ iOS/YouboraAVPlayerAdapter.h'
polynet.tvos.source_files = 'YouboraAVPlayerAdapter/YouboraAVPlayerAdapter\ tvOS/YouboraAVPlayerAdapter.h'
end
end