diff --git a/srcpkgs/atk/template b/srcpkgs/atk/template index db5907e3f1c..aa499ac4b4b 100644 --- a/srcpkgs/atk/template +++ b/srcpkgs/atk/template @@ -1,16 +1,17 @@ # Template build file for 'atk'. pkgname=atk -version=2.18.0 +version=2.20.0 revision=1 build_style=gnu-configure -hostmakedepends="pkg-config glib-devel" +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="pkg-config glib-devel $(vopt_if gir gobject-introspection)" makedepends="libglib-devel" short_desc="Set of interfaces for accessibility" maintainer="Juan RP " homepage="http://www.gtk.org/" license="LGPL-2.1" distfiles="${GNOME_SITE}/atk/${version%.*}/atk-${version}.tar.xz" -checksum=ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b +checksum=493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0 # Package build options build_options="gir" @@ -20,15 +21,8 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi -if [ "$build_option_gir" ]; then - configure_args+=" --enable-introspection" - makedepends+=" gobject-introspection" -else - configure_args+=" --disable-introspection" -fi - atk-devel_package() { - depends="libglib-devel>=2.38 atk>=${version}_${revision}" + depends="${makedepends} atk>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include