Otok public index

apotocki/meson

apotocki/meson 1.12.1 (r1, linux)

Library
meson
Variant
linux, target linux
Channel
stable
Published
2026-11-07
Recipe source
https://github.com/otok-dev/recipes
32756a87cf5bd189ca4c9825159bf0713ea8cf5e in recipes/meson/1.12/linux/
Recipe SHA-256
682e37bd953baf10c943dfb14456e3be69e9cbbedc647a034e66856353b246cd

Recipe files changed

Inputs

source.sha256ab0a6ca09f8ef70c564c8241fb5a23957886a0b53fb58412b5e07eaf07dba743
source.urlhttps://github.com/mesonbuild/meson/releases/download/1.12.1/meson-1.12.1.tar.gz

Platforms

linux

Toolchains

Recipe files

build.lua 438 bytes · raw
-- meson.py beside the mesonbuild package, as the release archive has them: meson.py imports mesonbuild from its own
-- directory. Nothing is compiled.
function build(slice, options, deps)
    local p = slice.prefix
    otok.copy(slice.source .. "/meson.py", p .. "/meson.py")
    otok.copy(slice.source .. "/mesonbuild", p .. "/mesonbuild")
    return { programs = { meson = { script = p .. "/meson.py", interpreter = "python" } } }
end
recipe.toml 1014 bytes · raw
# The otok recipe of Meson (https://github.com/apotocki/otok): the meson program for the builds of other recipes, which
# name it as their toolchain (`meson = { default-recipe = "apotocki/meson" }`). Meson is Python: the program is meson.py,
# run by the Python of the python recipe (docs/PLAN.md decision 70 of otok); the builds that use it bring their ninja.
[recipe]
api = 1
library = "meson"
name = "meson"
version = "1.12.1"
revision = 1
license = "Apache-2.0"
license-files = ["COPYING"]
homepage = "https://mesonbuild.com"
description = "Meson, the build system: meson.py and its mesonbuild package, run by Python."
keywords = ["build", "tool"]

[tool]
programs = ["meson"]

[source]
url = "https://github.com/mesonbuild/meson/releases/download/1.12.1/meson-1.12.1.tar.gz"
sha256 = "ab0a6ca09f8ef70c564c8241fb5a23957886a0b53fb58412b5e07eaf07dba743"

[platforms]
supported = ["linux"]
build-on = ["linux/gcc", "linux/clang"]

[toolchains]
python = { version = ">= 3.10", default-recipe = "apotocki/python" }