# libxcb 1.17.0 — binding C del protocolo X11 (libxcb.so + libxcb-*.so de las extensiones). Núcleo de la # Capa 0 de la campaña KDE (ADR 0011): Qt usa la QPA xcb, y libX11 se apoya en libxcb. Autotools; su build # CORRE el generador python c_client.py que importa `xcbgen` (de xcb-proto) ⇒ PYTHONPATH a site-packages # durante configure Y compile. Consume xcb-proto (xml/xcbgen), libXau, libXdmcp, libpthread-stubs y los # headers de xorgproto. Linking dinámico, sin docs (doxygen off). name = "libxcb" version = "1.17.0" license = "MIT" [source] tarball = "https://xorg.freedesktop.org/releases/individual/lib/libxcb-1.17.0.tar.xz" sha256 = "599ebf9996710fea71622e6e184f3a8ad5b43d0e5fa8c4e407123c88a59a6d55" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "dynamic" zig_version = "0.13.0" [build.phases] # PKG_CONFIG_PATH incluye /usr/share/pkgconfig (xcb-proto.pc + xorgproto) y /usr/lib/pkgconfig (Xau/Xdmcp/ # pthread-stubs). PYTHONPATH: xcbgen instalado por xcb-proto en python3.12/site-packages. configure = ''' PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig \ PYTHONPATH=/usr/lib/python3.12/site-packages \ ./configure --prefix=/usr --disable-static --enable-shared --without-doxygen ''' compile = "PYTHONPATH=/usr/lib/python3.12/site-packages make -j\"$(nproc)\"" install = "make install DESTDIR=/out" [deps] build = ["pkgconf", "python3", "util-macros", "xorgproto", "xcb-proto", "libXau", "libXdmcp", "libpthread-stubs"]