-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlibdav1d.podspec
44 lines (38 loc) · 1.44 KB
/
libdav1d.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
#
# Be sure to run `pod lib lint TestLibrary.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'libdav1d'
s.version = '0.0.9'
s.summary = 'dav1d is an AV1 decoder :)'
s.description = <<-DESC
dav1d is a new AV1 cross-platform decoder, open-source, and focused on speed and correctness.
DESC
s.homepage = 'https://github.com/videolan/dav1d'
s.license = { :type => 'BSD 2-clause' }
s.author = { 'Alliance for Open Media' => 'https://aomedia.org' }
s.platform = :ios
s.source = { :git => 'git@github.com:link-u/libdav1d-static.git' }
s.ios.deployment_target = '10.0'
s.xcconfig = {
'BUILD_LIBRARY_FOR_DISTRIBUTION' => 'YES'
}
s.requires_arc = true
s.subspec 'both' do |ss|
ss.ios.preserve_paths = 'both/libdav1d.xcframework'
ss.ios.vendored_frameworks = 'both/libdav1d.xcframework'
end
s.subspec '8bit' do |ss|
ss.ios.preserve_paths = '8bit/libdav1d.xcframework'
ss.ios.vendored_frameworks = '8bit/libdav1d.xcframework'
end
s.subspec '16bit' do |ss|
ss.ios.preserve_paths = '16bit/libdav1d.xcframework'
ss.ios.vendored_frameworks = '16bit/libdav1d.xcframework'
end
s.default_subspecs = 'both'
end