# libXrender 0.9.12 — cliente de la extensión X RENDER (xrender.pc).
# Capa 0 campaña KDE (ADR 0011): eslabón de la cadena Qt-xcb (QT_FEATURE_xcb=ON); usado por el
# backend de render de la QPA xcb de Qt. Autotools sobre libX11.
name    = "libXrender"
version = "0.9.12"
license = "MIT"

[source]
tarball = "https://xorg.freedesktop.org/releases/individual/lib/libXrender-0.9.12.tar.xz"
sha256  = "b832128da48b39c8d608224481743403ad1691bf4e554e4be9c174df171d1b97"

[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", "libxcb", "libXau", "libXdmcp"]
