1 Star 0 Fork 0

fred/SWCompression

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
SWCompression.podspec 3.64 KB
一键复制 编辑 原始数据 按行查看 历史
Timofey Solomko 提交于 2024-04-21 18:13 +08:00 . Prepare for 4.8.6 release
Pod::Spec.new do |s|
s.name = "SWCompression"
s.version = "4.8.6"
s.summary = "A framework with functions for working with compression, archives and containers."
s.description = "A framework with (de)compression algorithms and functions for processing various archives and containers."
s.homepage = "https://github.com/tsolomko/SWCompression"
s.documentation_url = "http://tsolomko.github.io/SWCompression"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Timofey Solomko" => "tsolomko@gmail.com" }
s.source = { :git => "https://github.com/tsolomko/SWCompression.git", :tag => "#{s.version}" }
s.ios.deployment_target = "11.0"
s.osx.deployment_target = "10.13"
s.tvos.deployment_target = "11.0"
s.watchos.deployment_target = "4.0"
# s.visionos.deployment_target = "1.0"
s.swift_versions = ["5"]
s.dependency "BitByteData", "~> 2.0"
s.subspec "Deflate" do |sp|
sp.source_files = "Sources/{Deflate/*,Common/*,Common/CodingTree/*}.swift"
sp.resource_bundles = {"SWCompression/Deflate" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_DEFLATE" }
end
s.subspec "GZip" do |sp|
sp.dependency "SWCompression/Deflate"
sp.resource_bundles = {"SWCompression/GZip" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.source_files = "Sources/{GZip/*,Common/*}.swift"
end
s.subspec "Zlib" do |sp|
sp.dependency "SWCompression/Deflate"
sp.resource_bundles = {"SWCompression/Zlib" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.source_files = "Sources/{Zlib/*,Common/*}.swift"
end
s.subspec "BZip2" do |sp|
sp.source_files = "Sources/{BZip2/*,Common/*,Common/CodingTree/*}.swift"
sp.resource_bundles = {"SWCompression/BZip2" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_BZ2" }
end
s.subspec "LZMA" do |sp|
sp.source_files = "Sources/{LZMA/*,Common/*}.swift"
sp.resource_bundles = {"SWCompression/LZMA" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_LZMA" }
end
s.subspec "LZMA2" do |sp|
sp.dependency "SWCompression/LZMA"
sp.source_files = "Sources/{LZMA2/*,Common/*}.swift"
sp.resource_bundles = {"SWCompression/LZMA2" => ["Sources/PrivacyInfo.xcprivacy"]}
end
s.subspec "LZ4" do |sp|
sp.source_files = "Sources/{LZ4/*,Common/*}.swift"
sp.resource_bundles = {"SWCompression/LZ4" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_LZ4" }
end
s.subspec "XZ" do |sp|
sp.dependency "SWCompression/LZMA2"
sp.source_files = "Sources/{XZ/*,Common/*}.swift"
sp.resource_bundles = {"SWCompression/XZ" => ["Sources/PrivacyInfo.xcprivacy"]}
end
s.subspec "ZIP" do |sp|
sp.dependency "SWCompression/Deflate"
sp.source_files = "Sources/{Zip/*,Common/*,Common/Container/*}.swift"
sp.resource_bundles = {"SWCompression/ZIP" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_ZIP" }
end
s.subspec "TAR" do |sp|
sp.source_files = "Sources/{TAR/*,Common/*,Common/Container/*}.swift"
sp.resource_bundles = {"SWCompression/TAR" => ["Sources/PrivacyInfo.xcprivacy"]}
end
s.subspec "SevenZip" do |sp|
sp.dependency "SWCompression/LZMA2"
sp.source_files = "Sources/{7-Zip/*,Common/*,Common/Container/*}.swift"
sp.resource_bundles = {"SWCompression/SevenZip" => ["Sources/PrivacyInfo.xcprivacy"]}
sp.pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DSWCOMPRESSION_POD_SEVENZIP" }
end
end
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/smart-paste/SWCompression.git
git@gitee.com:smart-paste/SWCompression.git
smart-paste
SWCompression
SWCompression
master

搜索帮助