# $Id$ PNAME="libxcb" PVER="1.13.1" PBUILD="r1" PCAT="x11-libs" DESCRIPTION="X protocol C-language Binding (XCB) library." HOMEPAGE="http://xcb.freedesktop.org/" DEPEND=">= x11-libs/libXau-1 >= x11-libs/libXdmcp-1" # xcb-proto,libpthread-stubs runtime dep to satisfy builds against libxcb ALX_DEV_DEPEND=">= x11-proto/xcb-proto-1.6 >= dev-libs/libpthread-stubs-0.1 >= x11-libs/libXau-dev-1 >= x11-libs/libXdmcp-dev-1" SDEPEND="${ALX_DEV_DEPEND} >= dev-libs/libxslt-1.1.26 >= x11-libs/libXau-dev-1 >= x11-libs/libXdmcp-dev-1" if mqueryfeature "check" then # make check needs libcheck SDEPEND+=" >= dev-util/check-0.9" fi sminclude xorg multilib mbuild alx-split SRC_URI=( http://xcb.freedesktop.org/dist/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd 'http://xcb.freedesktop.org/dist/?C=M;O=A' | grep ${PNAME}- | lasttarball" src_compile() { mconfigure --enable-xinput || die mmake || die } postinstall() { xorg_postinstall echo echo "libxcb-1.1 adds the LIBXCB_ALLOW_SLOPPY_LOCK variable to allow" echo "broken applications to keep running instead of being aborted." echo "Set this variable if you need to use broken packages such as Java" echo "(for example, add LIBXCB_ALLOW_SLOPPY_LOCK=1 to /etc/env.d/00local" echo "and run env-update)." echo }