# libICE 1.1.2 — Inter-Client Exchange library (ICE.pc). Sustrato de libSM (gestor de sesión X11),
# cadena de sesión de plasma-workspace. Autotools puro, sin libxcb (protocolo ICE, no X). musl.
name    = "libICE"
version = "1.1.2"

[source]
tarball = "https://www.x.org/releases/individual/lib/libICE-1.1.2.tar.xz"
sha256  = "974e4ed414225eb3c716985df9709f4da8d22a67a2890066bc6dfc89ad298625"

[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", "xtrans"]
