apotocki/dav1d 1.5.4 (r1, apple)
- Library
- dav1d
- Variant
- apple, target apple
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/dav1d/1.5/apple/ - Recipe SHA-256
ad7b3bbb3fd807bc723b4cf035ac2c55c63d1463106da1cb0e66592bc61d3114
Recipe files changed
Inputs
| source.sha256 | 686616b7c69eb88d44459391ab25cac13b6647a3b288835c5784e71c1514a5c5 |
|---|---|
| source.url | https://downloads.videolan.org/pub/videolan/dav1d/1.5.4/dav1d-1.5.4.tar.xz |
Platforms
ios, iossim, macosx, catalyst, tvos, tvossim, watchos, watchossim, xros, xrossim
Toolchains
meson { default-recipe = "apotocki/meson", version = ">= 1.2" }nasm { default-recipe = "apotocki/nasm", version = ">= 2.14" }ninja { default-recipe = "apotocki/ninja", version = ">= 1.10" }
Recipe files
build.lua
-- dav1d's meson build, the library only. otok builds are meson's "plain" build type
-- (build-lua-api.md 6.2), so trim_dsp, which follows the build type, follows the configuration here.
function build(slice, options, deps)
otok.meson{ options = {
enable_tools = false, enable_tests = false, enable_examples = false, enable_docs = false,
trim_dsp = slice.configuration == "release",
-- the AArch64 assembly assumes 64-bit pointers: the structure offsets it checks differ on arm64_32
enable_asm = slice.arch ~= "arm64_32",
} }
local p = slice.prefix
return { libraries = { dav1d = p .. "/lib/libdav1d.a" }, headers = p .. "/include" }
end
recipe.toml
# The otok recipe of dav1d (https://github.com/apotocki/otok): VideoLAN's AV1 decoder, built with meson
# (otok.meson), for every Apple platform; static.
[recipe]
api = 1
library = "dav1d"
name = "dav1d"
version = "1.5.4"
revision = 1
license = "BSD-2-Clause"
license-files = ["COPYING"]
homepage = "https://code.videolan.org/videolan/dav1d"
description = "dav1d, an AV1 decoder focused on speed and correctness."
keywords = ["av1", "video", "decoder"]
linkage = ["static"]
[source]
url = "https://downloads.videolan.org/pub/videolan/dav1d/1.5.4/dav1d-1.5.4.tar.xz"
sha256 = "686616b7c69eb88d44459391ab25cac13b6647a3b288835c5784e71c1514a5c5"
[platforms]
supported = ["ios", "iossim", "macosx", "catalyst", "tvos", "tvossim", "watchos", "watchossim", "xros", "xrossim"]
build-on = ["macos/xcode"]
[toolchains]
meson = { version = ">= 1.2", default-recipe = "apotocki/meson" }
ninja = { version = ">= 1.10", default-recipe = "apotocki/ninja" }
nasm = { version = ">= 2.14", default-recipe = "apotocki/nasm" } # the assembly of x86_64
[[product]]
name = "Dav1d"
libraries = ["dav1d"]
apple = { privacy-manifest = "none" }