# xcb-util-image 0.4.1 — utilidades xcb para imágenes/pixmaps (xcb-image.pc, xcb_aux).
# Capa 0 campaña KDE (ADR 0011): eslabón de la cadena Qt-xcb (QT_FEATURE_xcb=ON). Base de
# xcb-util-cursor. Usa xcb_aux de xcb-util. Autotools sobre libxcb.
name    = "xcb-util-image"
version = "0.4.1"

[source]
tarball = "https://xorg.freedesktop.org/releases/individual/lib/xcb-util-image-0.4.1.tar.xz"
sha256  = "ccad8ee5dadb1271fd4727ad14d9bd77a64e505608766c4e98267d9aede40d3d"

[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 --disable-selective-werror
'''
compile   = "make -j\"$(nproc)\""
install   = "make install DESTDIR=/out && find /out -name '*.la' -delete"

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