# wayland-protocols 1.48 — colección de extensiones de protocolo Wayland (XML + .pc). No compila
# nada: instala los XML que mirada/clientes usan vía wayland-scanner. build-dep wayland (la build
# de meson chequea wayland-scanner). Sin tests.
name    = "wayland-protocols"
version = "1.48"

[source]
tarball = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.48/downloads/wayland-protocols-1.48.tar.xz"
sha256  = "398036ac0eb6484982ddbde7ff86848d753231f9cdeeae983f06b52946625aa1"

[build]
compiler = "zig-cc"
target   = "x86_64-linux-musl"
link     = "static"

[build.phases]
configure = "meson setup output --prefix=/usr --buildtype=release -Dtests=false"
compile   = "ninja -C output"
install   = "DESTDIR=/out ninja -C output install"

[deps]
build = ["meson", "samurai", "python3", "pkgconf", "wayland"]
