# $Id$ PNAME="at-spi2-atk" PVER="2.30.0" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="A GTK+ module that bridges ATK to D-Bus at-spi." HOMEPAGE="http://gnome.org" DEPEND=">= dev-libs/glib2-2.58 >= dev-libs/libxml2-2.9 >= dev-libs/atk-2.30 >= dev-libs/at-spi2-core-2.30 >= sys-apps/dbus-1.12" SDEPEND=">= dev-util/pkgconfig-0.25 >= dev-util/intltool-0.50 >= dev-libs/gobject-introspection-1.58" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" msetfeature "!check" sminclude multilib meson SRC_URI=( gnome://${PNAME}/${PVER%.*}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd_gnome ${PNAME/3/}" src_compile() { meson_src_compile $(meson_enable p2p) $(meson_enable introspection yes) || die } postinstall() { if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]] then glib-compile-schemas /usr/share/glib-2.0/schemas fi }