# libXtst 1.2.5 — XTEST + RECORD extension client (Xtst.pc, Requires: xext; usa libXi). La usa
# kglobalaccel/KWin (inyección de eventos de test) y utilidades de accesibilidad. Autotools. musl.
name    = "libXtst"
version = "1.2.5"

[source]
tarball = "https://www.x.org/releases/individual/lib/libXtst-1.2.5.tar.xz"
sha256  = "b50d4c25b97009a744706c1039c598f4d8e64910c9fde381994e1cae235d9242"

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

[build.phases]
configure = '''
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \
./configure --prefix=/usr --disable-static --enable-shared
'''
compile   = "make -j\"$(nproc)\""
install   = "make install DESTDIR=/out"

[deps]
build = ["pkgconf", "python3", "util-macros", "xorgproto", "libX11", "libXext", "libXi", "libXfixes", "libxcb", "libXau", "libXdmcp"]
