gcr: enable gir and vala
This commit is contained in:
parent
c842dcafc3
commit
257ee74c9e
1 changed files with 11 additions and 8 deletions
|
@ -1,13 +1,15 @@
|
||||||
# Template file for 'gcr'
|
# Template file for 'gcr'
|
||||||
pkgname=gcr
|
pkgname=gcr
|
||||||
version=3.28.1
|
version=3.28.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
build_helper="gir"
|
||||||
configure_args="$(vopt_enable gir introspection) --disable-update-mime
|
configure_args="$(vopt_enable gir introspection) --disable-update-mime
|
||||||
--disable-update-icon-cache --disable-schemas-compile $(vopt_enable vala)"
|
--disable-update-icon-cache --disable-schemas-compile $(vopt_enable vala)"
|
||||||
hostmakedepends="glib-devel $(vopt_if gir 'gobject-introspection')
|
hostmakedepends="glib-devel gtk-doc intltool pkg-config $(vopt_if vala 'vala')
|
||||||
gtk-doc intltool pkg-config $(vopt_if vala 'vala-devel') libxslt"
|
libxslt"
|
||||||
makedepends="gtk+3-devel libgcrypt-devel p11-kit-devel libxslt-devel"
|
makedepends="gtk+3-devel libgcrypt-devel p11-kit-devel libxslt-devel
|
||||||
|
$(vopt_if vala vala)"
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
depends="desktop-file-utils hicolor-icon-theme"
|
||||||
short_desc="GNOME crypto package"
|
short_desc="GNOME crypto package"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
|
@ -19,10 +21,11 @@ checksum=95204aa2111c301778ebfbe60975ce3ed698c958430ffcc2a785ac5e593d168b
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="gir vala"
|
build_options="gir vala"
|
||||||
|
|
||||||
# Disable gir for cross builds.
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
x86_64-musl) build_options_default+=" gir vala" ;;
|
||||||
build_options_default="gir vala"
|
*-musl) ;;
|
||||||
fi
|
*) build_options_default+=" gir vala" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
# requires X11 server
|
# requires X11 server
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue