From 5d260d38810afb3a764363aba55229309a33ef23 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 1 Mar 2015 09:13:34 +0100 Subject: [PATCH] xfconf: update to 4.12.0. --- srcpkgs/xfconf/template | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/srcpkgs/xfconf/template b/srcpkgs/xfconf/template index 68f6ddb5710..03f446ceaf3 100644 --- a/srcpkgs/xfconf/template +++ b/srcpkgs/xfconf/template @@ -1,32 +1,19 @@ # Template file for 'xfconf' pkgname=xfconf -version=4.10.0 -revision=5 +version=4.12.0 +revision=1 +# Package build options +build_options="perl" build_style=gnu-configure +configure_args="$(vopt_enable perl perl-bindings)" hostmakedepends="pkg-config intltool>=0.50.2_1" -makedepends="dbus-glib-devel libxfce4util-devel" +makedepends="dbus-glib-devel libxfce4util-devel $(vopt_if perl 'perl>=5.20 perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib>=1.242_1')" short_desc="Xfce hierarchical (tree-like) configuration system" maintainer="Juan RP " license="GPL-2, LGPL-2.1" homepage="http://xfce.org" distfiles="http://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2" -checksum=175219a441cc7d0f210bbd1a3b0abba41598627cd9db27235811400c3e100576 - -# Package build options -build_options="perl" - -if [ "$build_option_perl" ]; then - configure_args+=" --enable-perl-bindings" - makedepends+=" perl>=5.16 perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib>=1.242_1" -else - configure_args+=" --disable-perl-bindings" -fi - -if [ "$build_option_perl" ]; then - replaces="xfconf-perl>=0" - provides="xfconf-perl-${version}" - depends="perl-Glib>=1.242_1" -fi +checksum=9910eaea8405336415d4d7f3056403f8c67bc23ba0dce251eac35205c603b156 xfconf-devel_package() { depends="dbus-glib-devel xfconf>=${version}_${revision}"