apotocki/dav1d 1.5.4 (r1, linux)
- Library
- dav1d
- Variant
- linux, target linux
- Channel
- stable
- Published
- 2026-11-07
- Recipe source
- https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5einrecipes/dav1d/1.5/linux/ - Recipe SHA-256
88d95cdb8af700d0801c387cb136489245c1b20c69e681ca0f7b7568d750155c
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
linux
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",
} }
local p = slice.prefix
local lib = otok.glob(slice.linkage == "static" and "lib/libdav1d.a" or "lib/libdav1d.so", p)[1]
return { libraries = { dav1d = lib }, 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 Linux; static or dynamic.
[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", "dynamic"]
[source]
url = "https://downloads.videolan.org/pub/videolan/dav1d/1.5.4/dav1d-1.5.4.tar.xz"
sha256 = "686616b7c69eb88d44459391ab25cac13b6647a3b288835c5784e71c1514a5c5"
[platforms]
supported = ["linux"]
build-on = ["linux/gcc", "linux/clang"]
[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"]