From 6b5b4d0abbe01ae40758245c2c8b9f059af6e3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Sat, 14 Nov 2020 23:40:22 -0300 Subject: [PATCH] xfconf: update to 4.14.4, enable introspection and vala. Introspection is necessary for catfish. --- srcpkgs/xfconf/template | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/srcpkgs/xfconf/template b/srcpkgs/xfconf/template index 3d296110043..11d8c8925d9 100644 --- a/srcpkgs/xfconf/template +++ b/srcpkgs/xfconf/template @@ -1,19 +1,23 @@ # Template file for 'xfconf' pkgname=xfconf -version=4.14.3 +version=4.14.4 revision=1 +build_helper=gir build_style=gnu-configure configure_args="--enable-gsettings-backend $(vopt_enable perl 'perl-bindings --with-perl-options=INSTALLDIRS=vendor')" -hostmakedepends="pkg-config intltool glib-devel" -makedepends="libxfce4util-devel $(vopt_if perl 'perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib')" +hostmakedepends="pkg-config intltool glib-devel vala-devel" +makedepends="libxfce4util-devel vala-devel +$(vopt_if perl 'perl-ExtUtils-Depends perl-ExtUtils-PkgConfig perl-Glib')" short_desc="Xfce hierarchical (tree-like) configuration system" maintainer="Orphaned " license="GPL-2.0-only, LGPL-2.0-only" homepage="https://xfce.org/" distfiles="https://archive.xfce.org/src/xfce/xfconf/${version%.*}/$pkgname-$version.tar.bz2" -checksum=589052a0efc6151c5fb5f438da463502a4fd91848cae7b9376d417be4c5a0c02 -build_options="perl" +checksum=cc37622eece51ed8905dfaad6f77b3c24662f41881545eb0142110f347ba5f73 +# XXX: perl bindings will be removed in >=4.15 +build_options="perl gir" +build_options_default="gir" xfconf-devel_package() { depends="dbus-glib-devel ${sourcepkg}>=${version}_${revision}" @@ -23,5 +27,9 @@ xfconf-devel_package() { vmove usr/lib/*.so vmove usr/lib/pkgconfig vmove usr/share/gtk-doc + if [ "$build_option_gir" ]; then + vmove usr/share/vala + vmove usr/share/gir-1.0 + fi } }