# xcb-util-renderutil 0.3.10 — utilidades xcb para la extensión RENDER (xcb-renderutil.pc).
# Capa 0 campaña KDE (ADR 0011): eslabón de la cadena Qt-xcb (QT_FEATURE_xcb=ON). Base de
# xcb-util-cursor. Autotools sobre libxcb.
name    = "xcb-util-renderutil"
version = "0.3.10"
license = "MIT"

[source]
tarball = "https://xorg.freedesktop.org/releases/individual/lib/xcb-util-renderutil-0.3.10.tar.xz"
sha256  = "3e15d4f0e22d8ddbfbb9f5d77db43eacd7a304029bf25a6166cc63caa96d04ba"

[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 && find /out -name '*.la' -delete"

[deps]
build = ["pkgconf", "python3", "util-macros", "xorgproto", "xcb-proto", "libxcb", "libXau", "libXdmcp"]
