diff --git a/srcpkgs/network-manager-applet/template b/srcpkgs/network-manager-applet/template index f668c826f4c..8c3fac06d6d 100644 --- a/srcpkgs/network-manager-applet/template +++ b/srcpkgs/network-manager-applet/template @@ -1,11 +1,14 @@ # Template file for 'network-manager-applet' pkgname=network-manager-applet -version=0.9.10.0 -revision=0 +version=1.0.0 +revision=1 lib32disabled=yes build_style=gnu-configure -configure_args="--disable-static --without-bluetooth --with-modem-manager-1 --disable-migration" -hostmakedepends="pkg-config intltool glib-devel dbus-glib-devel" +configure_args="--disable-static --without-bluetooth + --with-modem-manager-1 --disable-migration + $(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool glib-devel dbus-glib-devel + $(vopt_if gir gobject-introspection)" makedepends=" dbus-glib-devel libgnome-keyring-devel libsecret-devel NetworkManager-devel>=${version} gtk+3-devel libnotify-devel @@ -15,8 +18,8 @@ short_desc="NetworkManager panel applet for GNOME" maintainer="Juan RP " homepage="http://www.gnome.org/projects/NetworkManager/" license="GPL-2" -distfiles="${GNOME_SITE}/$pkgname/0.9/$pkgname-$version.tar.xz" -checksum=f5c26c692f538dc0145dc7d46d3d390754fad73d0ff06861c074c61f3dc54eca +distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" +checksum=5fede8d2060002c695fbba07e59cbc7db90a39a3378bb9690274c205d2503152 # Package build options build_options="gir" @@ -26,16 +29,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 - libnm-gtk_package() { short_desc+=" - runtime library" - replaces="${sourcepkg}<0.9.1.95" pkg_install() { vmove "usr/lib/*.so.*" if [ "$build_option_gir" ]; then