From b8b6544597f28242b6d8f44c03362168091478f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 7 May 2019 15:06:38 +0200 Subject: [PATCH] gobject-introspection: add GIR_EXTRA_OPTIONS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When encountering problems with running g-ir-scanner-qemuwrapper it is often desirable to be able to specify extra options like e.g. '-strace' to get more information from the build. This can now be achieved by specifying e.g. GIR_EXTRA_OPTIONS="-strace" in a problematic template (for the $CROSS_BUILD case). Signed-off-by: Jürgen Buchmüller --- srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper | 2 +- srcpkgs/gobject-introspection/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper b/srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper index ad45ddc03c..521fbda35b 100755 --- a/srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper +++ b/srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper @@ -3,7 +3,7 @@ # which may then get deleted (or their dependencies) and potentially segfault export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy -/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static \ +/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static ${GIR_EXTRA_OPTIONS} \ -L ${XBPS_CROSS_BASE} \ -E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \ "$@" diff --git a/srcpkgs/gobject-introspection/template b/srcpkgs/gobject-introspection/template index 193ae19e45..c0bb1e412c 100644 --- a/srcpkgs/gobject-introspection/template +++ b/srcpkgs/gobject-introspection/template @@ -1,7 +1,7 @@ # Template file for 'gobject-introspection' pkgname=gobject-introspection version=1.60.0 -revision=6 +revision=7 build_style=meson pycompile_dirs="usr/lib/${pkgname}/giscanner" hostmakedepends="flex pkg-config"