diff --git a/srcpkgs/libgee08/template b/srcpkgs/libgee08/template index 075b4ff6a67..ee58ea9a8d4 100644 --- a/srcpkgs/libgee08/template +++ b/srcpkgs/libgee08/template @@ -1,18 +1,18 @@ # Template file for 'libgee08' pkgname=libgee08 -version=0.14.0 +version=0.16.1 wrksrc="libgee-${version}" revision=1 build_style=gnu-configure -configure_args="--disable-static" -hostmakedepends="pkg-config intltool" -makedepends="libglib-devel vala-devel>=0.24" +configure_args="--disable-static $(vopt_enable gir instrospection)" +hostmakedepends="pkg-config intltool $(vopt_if gir 'vala-devel>=0.26 gobject-introspection')" +makedepends="libglib-devel" short_desc="GObject collection library (0.8.x API)" maintainer="Juan RP " license="LGPL-2.1" homepage="http://live.gnome.org/Libgee" distfiles="${GNOME_SITE}/libgee/${version%.*}/libgee-${version}.tar.xz" -checksum=08e466d3f214c9466860b5a82629de0de9eb89b1de7bd918fe154e569b5834cd +checksum=d95f8ea8e78f843c71b1958fa2fb445e4a325e4821ec23d0d5108d8170e564a5 # Package build options build_options="gir" @@ -22,16 +22,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 - libgee08-devel_package() { depends="libglib-devel ${sourcepkg}>=${version}_${revision}" - makedepends=$depends short_desc+=" - development files" pkg_install() { vmove usr/include