void-packages/srcpkgs/xfconf/template

36 lines
1.2 KiB
Bash

# Template file for 'xfconf'
pkgname=xfconf
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 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 <orphan@voidlinux.org>"
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=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}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
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
}
}