# libXcursor 1.2.3 — carga de cursores X (Xcursor.pc, Requires: xrender xfixes x11). Consumido por el
# tema de cursores de Plasma y por Qt xcb. Autotools sobre libX11/libXrender/libXfixes. musl.
name    = "libXcursor"
version = "1.2.3"
license = "MIT"

[source]
tarball = "https://www.x.org/releases/individual/lib/libXcursor-1.2.3.tar.xz"
sha256  = "fde9402dd4cfe79da71e2d96bb980afc5e6ff4f8a7d74c159e1966afb2b2c2c0"

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