50 lines
1.5 KiB
Bash
50 lines
1.5 KiB
Bash
# Template file for 'accountsservice'
|
|
pkgname=accountsservice
|
|
version=0.6.43
|
|
revision=1
|
|
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"
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="polkit-devel"
|
|
make_dirs="
|
|
/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>"
|
|
homepage="http://cgit.freedesktop.org/accountsservice/"
|
|
license="GPL-3"
|
|
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
|
checksum=ed3ba94aa38ceb822a0e1a1ac71bf1a8123babf90be049397b3a00900e48d6cc
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/15409/steps/shell_3/logs/stdio";;
|
|
esac
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
pre_configure() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) configure_args+=" ac_cv_header_utmpx_h=no";;
|
|
esac
|
|
}
|
|
|
|
accountsservice-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
}
|
|
}
|