# libinput 1.28.1 — VARIANTE bump para la campaña KDE (ADR 0011): kwin 6.7.2 exige libinput >= 1.28
# (la canónica recipes/libinput.toml está en 1.27.1). Override, mismo name="libinput". Idéntica a la
# canónica salvo version+sha256 (meson_options y dependency() sin cambios: libudev, mtdev>=1.1, libevdev).
# Recorte: sin libwacom, sin debug-gui (GTK), sin tests ni docs. Deps ya selladas.
name    = "libinput"
version = "1.28.1"
license = "MIT"

[source]
tarball = "https://gitlab.freedesktop.org/libinput/libinput/-/archive/1.28.1/libinput-1.28.1.tar.gz"
sha256  = "a13f8c9a7d93df3c85c66afd135f0296701d8d32f911991b7aa4273fdd6a42a3"

[build]
compiler    = "zig-cc"
target      = "x86_64-linux-musl"
link        = "dynamic"
zig_version = "0.13.0"

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

[deps]
build = ["meson", "samurai", "python3", "pkgconf", "libudev-zero", "libevdev", "mtdev"]
