# $Id$ PNAME="libxklavier" PVER="5.4" PBUILD="r2" PCAT="x11-libs" DESCRIPTION="libxklavier is a library providing high-level API for X Keyboard Extension known as XKB." HOMEPAGE="http://freedesktop.org/wiki/Software/LibXklavier" DEPEND=">= x11-libs/libX11-1.6 >= x11-libs/libxkbfile-1.0.8 >= x11-libs/libXi-1.7 >= x11-apps/xkbcomp-1.2 >= x11-misc/xkeyboard-config-2.13 >= dev-libs/glib2-2.42 >= dev-libs/libxml2-2.9 >= app-text/iso-codes-3.56" SDEPEND=">= dev-util/pkgconfig-0.25 >= sys-dev/gettext-0.18 >= dev-libs/gobject-introspection-1.42" SRCFILE="${PNAME}-${PVER}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( #sourceforge://gswitchit/${SRCFILE} http://people.freedesktop.org/~svu/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) #UP2DATE="updatecmd_sourceforge gswitchit ${PNAME}" UP2DATE="updatecmd http://people.freedesktop.org/~svu/ | grep '${PNAME}-' | highesttarball" src_compile() { cd ${SRCDIR} mconfigure \ --with-xkb_base=/usr/share/X11/xkb \ --with-xkb-bin-base=/usr/bin \ --enable-introspection \ || die mmake || die }