void-packages/srcpkgs/xfconf/template

38 lines
1.0 KiB
Bash

# Template file for 'xfconf'
pkgname=xfconf
version=4.16.0
revision=1
build_helper=gir
build_style=gnu-configure
configure_args="--enable-gsettings-backend"
hostmakedepends="pkg-config intltool glib-devel vala-devel"
makedepends="libxfce4util-devel vala-devel"
checkdepends="dbus xvfb-run"
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=652a119007c67d9ba6c0bc7a740c923d33f32d03dc76dfc7ba682584e72a5425
build_options="gir"
build_options_default="gir"
do_check() {
dbus-run-session xvfb-run make check
}
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
}
}