# Template file for 'at-spi2-core' pkgname=at-spi2-core version=2.16.0 revision=3 build_pie=yes build_style=gnu-configure configure_args="$(vopt_enable gir introspection)" hostmakedepends="pkg-config intltool dbus glib-devel $(vopt_if gir gobject-introspection)" makedepends="libglib-devel libXext-devel libSM-devel libXtst-devel libXevie-devel dbus-devel" conf_files="/etc/at-spi2/accessibility.conf" short_desc="Assistive Technology Service Provider Interface" maintainer="Juan RP " homepage="http://www.gnome.org" license="GPL-2" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=1c0b77fb8ce81abbf1d80c0afee9858b3f9229f673b7881995fe0fc16b1a74d0 # Package build options build_options="gir" # Disable gir for cross builds. if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi at-spi2-core-devel_package() { depends="dbus-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig if [ "$build_option_gir" ]; then vmove usr/share/gir-1.0 fi vmove usr/share/gtk-doc vmove "usr/lib/*.so" } }