From 82aa9e50e488c396353ee17532effc952ab7e368 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 7 Feb 2019 21:31:55 -0200 Subject: [PATCH] libskk: enable gir --- srcpkgs/libskk/template | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/srcpkgs/libskk/template b/srcpkgs/libskk/template index e19db33ea50..1515e766724 100644 --- a/srcpkgs/libskk/template +++ b/srcpkgs/libskk/template @@ -1,10 +1,11 @@ # Template file for 'libskk' pkgname=libskk version=1.0.5 -revision=1 +revision=2 build_style=gnu-configure -hostmakedepends="gettext-devel gnome-common gobject-introspection intltool - libgee08-devel pkg-config vala libtool" +build_helper="gir" +hostmakedepends="gettext-devel gnome-common intltool + libgee08-devel pkg-config vala libtool gobject-introspection" makedepends="json-glib-devel libgee08-devel libxkbcommon-devel" short_desc="Japanese SKK input method library" maintainer="Satoshi Amemiya " @@ -14,11 +15,12 @@ distfiles="https://github.com/ueno/${pkgname}/archive/${version}.tar.gz" checksum=a298e9726b784dd9a6ce8dcb76ff8fbe633037756795d75cfd77d3aeab4f50ed build_options="gir" -if [ "$CROSS_BUILD" ]; then - configure_args="--host=${XBPS_CROSS_TRIPLET}" -else - build_options_default="gir" -fi + +case "$XBPS_TARGET_MACHINE" in + x86_64-musl) build_options_default+=" gir" ;; + *-musl) ;; + *) build_options_default+=" gir " ;; +esac pre_configure() { NOCONFIGURE=1 ./autogen.sh