forked from kaltura/player-sdk-native-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
KalturaPlayerSDK.podspec
62 lines (34 loc) · 2.69 KB
/
KalturaPlayerSDK.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
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "KalturaPlayerSDK"
s.version = "2.6.8"
s.summary = "The Kaltura player-sdk-native component enables embedding the kaltura player into native environments."
#s.description = <<-DESC
# The Kaltura player-sdk-native component enables embedding the kaltura player into native environments.
# DESC
s.homepage = "https://github.com/kaltura/player-sdk-native-ios"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = { :type => 'AGPLv3', :text => 'AGPLv3' }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.authors = { "Eliza Sapir" => "[email protected]", "Nissim Pardo" => "[email protected]" }
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.platform = :ios, "8.0"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => 'https://github.com/kaltura/player-sdk-native-ios.git', :tag => 'v' + s.version.to_s }
s.libraries = 'stdc++', 'z', 'System', 'stdc++.6', 'xml2.2', 'c++', 'stdc++.6.0.9', 'xml2'
s.framework = 'MediaPlayer', 'SystemConfiguration', 'QuartzCore', 'CoreFoundation', 'AVFoundation', 'AudioToolbox', 'CFNetwork', 'AdSupport', 'WebKit', 'MessageUI', 'Social', 'MediaAccessibility', 'Foundation', 'CoreGraphics', 'UIKit'
s.requires_arc = true
s.subspec 'Core' do |sp|
sp.source_files = "**/*.{h,m}", "PlayerSDK/KALTURAPlayerSDK/**/*.{h,m}"
sp.resource_bundle = { 'KALTURAPlayerSDKResources' => 'KALTURAPlayerSDK/*.{xib,plist}' }
end
s.subspec 'Widevine' do |sp|
sp.libraries = 'WViPhoneAPI'
sp.vendored_library = 'libWViPhoneAPI.a'
sp.pod_target_xcconfig = { 'ENABLE_BITCODE' => 'NO', 'GCC_PREPROCESSOR_DEFINITIONS'=>'WIDEVINE_ENABLED=1' }
end
s.subspec 'GoogleCast' do |sp|
sp.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS'=>'GOOGLE_CAST_ENABLED=1' }
sp.dependency 'google-cast-sdk', '~> 3.2.0'
end
end