forked from mpvkit/MPVKit
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMPVKit-GPL.podspec
More file actions
63 lines (54 loc) · 1.76 KB
/
MPVKit-GPL.podspec
File metadata and controls
63 lines (54 loc) · 1.76 KB
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
Pod::Spec.new do |s|
s.name = 'MPVKit-GPL'
s.version = '0.40.0-av'
s.summary = 'MPVKit with AVFoundation video output for iOS/tvOS'
s.description = <<-DESC
MPVKit fork with AVFoundation video output (vo_avfoundation) support.
Features Picture-in-Picture, hardware-accelerated VideoToolbox decoding,
composite OSD for subtitles, and HDR/Dolby Vision support.
DESC
s.homepage = 'https://github.com/streamyfin/MPVKit'
s.license = { :type => 'GPL-3.0', :text => 'GPL-3.0. See https://www.gnu.org/licenses/gpl-3.0.html' }
s.author = { 'streamyfin' => 'https://github.com/streamyfin' }
s.source = { :http => 'https://github.com/streamyfin/MPVKit/releases/download/0.40.0-av/MPVKit-GPL-Frameworks.zip' }
s.ios.deployment_target = '13.0'
s.tvos.deployment_target = '13.0'
s.static_framework = true
s.requires_arc = true
# For remote download: zip extracts to MPVKit.xcframework
s.vendored_frameworks = 'MPVKit.xcframework'
# System frameworks
s.frameworks = [
'AVFoundation',
'AudioToolbox',
'CoreAudio',
'CoreVideo',
'CoreFoundation',
'CoreMedia',
'Metal',
'VideoToolbox'
]
# System libraries
s.libraries = [
'bz2',
'iconv',
'expat',
'resolv',
'xml2',
'z',
'c++'
]
# Compiler flags - supports arm64 + x86_64 for simulators
s.pod_target_xcconfig = {
'VALID_ARCHS' => 'arm64 x86_64',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'i386'
}
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'i386'
}
s.xcconfig = {
'OTHER_LDFLAGS' => '$(inherited) -ObjC'
}
end