apotocki/lzma 5.8.4 (r1, apple)
- Library
- lzma
- Variant
- apple, target apple
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/lzma/5.8/apple/ - Recipe SHA-256
91452bc9f2496a677599ce849b536ee5e633042e18684c1d37609e8841ad7680
Recipe files changed
Inputs
| source.commit | d3e650e63c110e830fd5391e7f8b45df0b91d3da |
|---|---|
| source.git | https://github.com/tukaani-project/xz |
| source.tag | v5.8.4 |
Platforms
ios, iossim, macosx, catalyst, tvos, tvossim, watchos, watchossim, xros, xrossim
Toolchains
cmake { default-recipe = "apotocki/cmake", version = ">= 3.20" }ninja { default-recipe = "apotocki/ninja", version = ">= 1.10" }
Recipe files
PrivacyInfo.xcprivacy
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>
build.lua
-- The CMake project without its command line tools, translations and documentation: liblzma.a.
function build(slice, options, deps)
otok.cmake{
defines = {
XZ_NLS = false, XZ_DOC = false, XZ_SANDBOX = "no",
XZ_TOOL_XZ = false, XZ_TOOL_XZDEC = false, XZ_TOOL_LZMADEC = false, XZ_TOOL_LZMAINFO = false, XZ_TOOL_SCRIPTS = false,
},
}
local p = slice.prefix
return { libraries = { lzma = p .. "/lib/liblzma.a" }, headers = p .. "/include" }
end
recipe.toml
# The otok recipe of liblzma from XZ Utils (https://github.com/apotocki/otok): the library alone for every Apple
# platform, from the release tag; static.
[recipe]
api = 1
library = "lzma"
name = "lzma"
version = "5.8.4"
revision = 1
license = "0BSD"
# COPYING tells which license applies to which part; liblzma is 0BSD
license-files = ["COPYING", "COPYING.0BSD"]
homepage = "https://tukaani.org/xz/"
description = "liblzma, the LZMA and XZ compression library of XZ Utils."
keywords = ["compression", "lzma", "xz"]
linkage = ["static"]
[source]
git = "https://github.com/tukaani-project/xz"
commit = "d3e650e63c110e830fd5391e7f8b45df0b91d3da"
tag = "v5.8.4"
[platforms]
supported = ["ios", "iossim", "macosx", "catalyst", "tvos", "tvossim", "watchos", "watchossim", "xros", "xrossim"]
build-on = ["macos/xcode"]
[toolchains]
cmake = { version = ">= 3.20", default-recipe = "apotocki/cmake" }
ninja = { version = ">= 1.10", default-recipe = "apotocki/ninja" }
[[product]]
name = "LZMA"
libraries = ["lzma"]
apple = { privacy-manifest = "PrivacyInfo.xcprivacy" }