-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
PLzmaSDK.podspec
28 lines (25 loc) · 1.07 KB
/
PLzmaSDK.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
Pod::Spec.new do |s|
s.name = 'PLzmaSDK'
s.version = '1.4.6'
s.summary = '(Portable, Patched, Package, cross-P-latform) Lzma SDK, libplzma'
s.homepage = 'https://github.com/OlehKulykov/PLzmaSDK'
s.source = { :git => s.homepage + '.git', :tag => s.version }
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.authors = { 'Oleh Kulykov' => '[email protected]' }
s.swift_versions = ['5.0', '5.1', '5.2', '5.3', '5.4', '5.5', '5.6', '5.7', '5.8', '5.9', '5.10']
s.resource = 'resources/PrivacyInfo.xcprivacy'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.13'
# s.tvos.deployment_target = '12.0'
# s.watchos.deployment_target = '2.0'
s.subspec 'libplzma' do |libplzma|
libplzma.source_files = 'libplzma.h', 'libplzma.hpp', 'src/**/*.{c,cpp,h,hpp}'
libplzma.public_header_files = 'libplzma.h'
libplzma.compiler_flags = '-fPIC -fno-rtti -DLIBPLZMA_VERSION_BUILD=1047'
libplzma.libraries = 'c++'
end
s.subspec 'Swift' do |swift|
swift.source_files = 'swift/*.swift'
swift.dependency 'PLzmaSDK/libplzma'
end
end