mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
gobject-introspection: change qemuwrapper to use XBPS_TARGET_QEMU_MACHINE
This commit is contained in:
parent
366b8ad7dc
commit
15b0456150
2 changed files with 2 additions and 18 deletions
|
@ -3,23 +3,7 @@
|
||||||
# which may then get deleted (or their dependencies) and potentially segfault
|
# which may then get deleted (or their dependencies) and potentially segfault
|
||||||
export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy
|
export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static \
|
||||||
x86_64*) _MACHINE=x86_64 ;;
|
|
||||||
i686) _MACHINE=i386 ;;
|
|
||||||
aarch64*) _MACHINE=aarch64 ;;
|
|
||||||
armv*) _MACHINE=arm ;;
|
|
||||||
mipsel*) _MACHINE=mipsel ;;
|
|
||||||
mips*) _MACHINE=mips ;;
|
|
||||||
ppc64le*) _MACHINE=ppc64le ;;
|
|
||||||
ppc64*) _MACHINE=ppc64 ;;
|
|
||||||
ppc*) _MACHINE=ppc ;;
|
|
||||||
*)
|
|
||||||
echo "unknown qemu architecture: $XBPS_TARGET_MACHINE"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
/usr/bin/qemu-${_MACHINE}-static \
|
|
||||||
-L ${XBPS_CROSS_BASE} \
|
-L ${XBPS_CROSS_BASE} \
|
||||||
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
|
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gobject-introspection'
|
# Template file for 'gobject-introspection'
|
||||||
pkgname=gobject-introspection
|
pkgname=gobject-introspection
|
||||||
version=1.60.0
|
version=1.60.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=meson
|
build_style=meson
|
||||||
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
||||||
hostmakedepends="flex pkg-config"
|
hostmakedepends="flex pkg-config"
|
||||||
|
|
Loading…
Add table
Reference in a new issue