void-packages/srcpkgs/accountsservice/template

46 lines
1.4 KiB
Bash
Raw Normal View History

# Template file for 'accountsservice'
pkgname=accountsservice
2015-01-24 09:05:54 +01:00
version=0.6.40
revision=4
build_style=gnu-configure
configure_args="--disable-static --disable-systemd $(vopt_enable gir introspection)
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no"
2014-09-21 21:03:31 +02:00
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
makedepends="polkit-devel"
make_dirs="
2015-01-24 09:05:54 +01:00
/var/lib/AccountsService/users 755 root root
/var/lib/AccountsService/icons 755 root root"
short_desc="D-Bus interfaces for querying and manipulating user account information"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-09-30 11:36:49 +02:00
homepage="http://cgit.freedesktop.org/accountsservice/"
license="GPL-3"
2012-07-10 09:17:25 +02:00
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
2015-01-24 09:05:54 +01:00
checksum=f04f756600cbab558671658ab8e77212de2a000c07bc0469e7b51541871fcb2b
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
2015-01-24 09:05:54 +01:00
build_options_default="gir"
fi
pre_configure() {
2015-05-13 19:30:26 +02:00
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" ac_cv_header_utmpx_h=no";;
esac
}
accountsservice-devel_package() {
2013-10-16 09:22:15 +02:00
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2013-07-10 06:50:52 +02:00
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
}
}