# xcb-util-cursor 0.1.5 — carga de cursores de tema vía xcb (xcb-cursor.pc).
# Capa 0 campaña KDE (ADR 0011): eslabón de la cadena Qt-xcb (QT_FEATURE_xcb=ON); la QPA xcb
# de Qt usa xcb-cursor para los cursores. Linkea xcb-util-image + xcb-util-renderutil.
name    = "xcb-util-cursor"
version = "0.1.5"

[source]
tarball = "https://xorg.freedesktop.org/releases/individual/lib/xcb-util-cursor-0.1.5.tar.xz"
sha256  = "0caf99b0d60970f81ce41c7ba694e5eaaf833227bb2cbcdb2f6dc9666a663c57"

[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", "xcb-proto", "xcb-util-image", "xcb-util-renderutil", "libxcb", "libXau", "libXdmcp"]
