Files
2026-06-02 21:38:47 +02:00

24 lines
921 B
Python

# Must match the build machine's wayland-scanner (from the Alpine image), which
# wayland requires to be the exact same version when cross-compiling.
version = "1.25.0"
revision = 1
description = "Core Wayland protocol library and scanner"
license = "MIT"
url = "https://wayland.freedesktop.org/"
source = tarball(
url=f"https://gitlab.freedesktop.org/wayland/wayland/-/releases/{version}/downloads/wayland-{version}.tar.xz",
sha256="c065f040afdff3177680600f249727e41a1afc22fccf27222f15f5306faa1f03",
)
host_deps = ["binutils", "gcc", "pkgconf"]
# The build machine's wayland-scanner (from the builder image) generates protocol
# glue; the target libwayland-{client,server} link libffi/expat/libxml2.
deps = [profile["libc"], "libffi", "expat", "libxml2"]
configure, build, install = meson(
configure_args=[
"-Dtests=false",
"-Ddocumentation=false",
"-Ddtd_validation=true",
],
)