accountsservice: enable gir
This commit is contained in:
parent
f969112839
commit
41187d4a49
1 changed files with 11 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
|||
# Template file for 'accountsservice'
|
||||
pkgname=accountsservice
|
||||
version=0.6.54
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dsystemdsystemunitdir=no $(vopt_bool gir introspection)"
|
||||
hostmakedepends="glib-devel pkg-config $(vopt_if gir 'gobject-introspection')"
|
||||
hostmakedepends="glib-devel pkg-config"
|
||||
makedepends="polkit-devel"
|
||||
short_desc="D-Bus interfaces for querying and manipulating user account information"
|
||||
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||
|
@ -18,10 +19,15 @@ make_dirs="
|
|||
|
||||
# Package build options
|
||||
build_options="gir"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
# Disable gir for cross builds.
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
else
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# for ITS rules
|
||||
hostmakedepends+=" polkit"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue