Otok public index

apotocki/lz4

apotocki/lz4 1.11.1 (r1, apple)

Library
lz4
Variant
apple, target apple
Channel
stable
Published
2026-11-10
Recipe source
https://github.com/otok-dev/recipes.git
7387b6ee8dee98c91c576f3e39051559e5e83d83 in recipes/lz4/1.11/apple/
Recipe SHA-256
12707d926fcbacad985488ed0decf46bf50fae342723b3b28a28dfa6f06116f6
Previous
1.11.0 (r1, apple)

Changes since 1.11.0 (r1, apple)

Key1.11.0 (r1, apple)1.11.1 (r1, apple)
source.commit"c72c7c0ec132ad2ce2fe9fad7b0c728d9faee2fc""aa4647fad575d01a874aaaadcdbe8e6a40e072f5"
source.tag"v1.11.0""v1.11.1"

The upstream changes between the two sources

Recipe files changed

  • recipe.toml changed

2 files are the same as in 1.11.0 (r1, apple).

Inputs

source.commitaa4647fad575d01a874aaaadcdbe8e6a40e072f5
source.githttps://github.com/lz4/lz4
source.tagv1.11.1

Platforms

ios, iossim, macosx, catalyst, tvos, tvossim, watchos, watchossim, xros, xrossim

Toolchains

Recipe files

PrivacyInfo.xcprivacy 373 bytes · raw
<?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 565 bytes · raw
-- The CMake project in build/cmake, the static library only.
function build(slice, options, deps)
    otok.cmake{
        source = slice.source .. "/build/cmake",
        defines = { BUILD_STATIC_LIBS = true, LZ4_BUILD_CLI = false, LZ4_BUILD_LEGACY_LZ4C = false },
    }
    local p = slice.prefix
    -- lz4file.h includes lz4frame_static.h, which the CMake project does not install
    otok.copy(slice.source .. "/lib/lz4frame_static.h", p .. "/include/lz4frame_static.h")
    return { libraries = { lz4 = p .. "/lib/liblz4.a" }, headers = p .. "/include" }
end
recipe.toml 931 bytes · raw
# The otok recipe of LZ4 (https://github.com/apotocki/otok): liblz4 for every Apple platform, from the release tag;
# static.
[recipe]
api = 1
library = "lz4"
name = "lz4"
version = "1.11.1"
revision = 1
license = "BSD-2-Clause"
license-files = ["lib/LICENSE"]
homepage = "https://lz4.org"
description = "LZ4, an extremely fast lossless compression library."
keywords = ["compression", "lz4"]
linkage = ["static"]

[source]
git = "https://github.com/lz4/lz4"
commit = "aa4647fad575d01a874aaaadcdbe8e6a40e072f5"
tag = "v1.11.1"

[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 = "LZ4"
libraries = ["lz4"]
apple = { privacy-manifest = "PrivacyInfo.xcprivacy" }