mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-25 05:05:13 +02:00
This merges part of gobject-introspection tools, but not all of it. Unfortunately this creates a cyclic dependency between glib and gi. This is supposed to be temporary. https://discourse.gnome.org/t/dealing-with-glib-and-gobject-introspection-circular-dependency/18701 https://gitlab.gnome.org/GNOME/glib/-/issues/2616 https://docs.gtk.org/girepository/migrating-gi.html
12 lines
520 B
Bash
Executable file
12 lines
520 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Check if we are running in an xbps-src environment and run the wrapper if that
|
|
# is the case.
|
|
if [ -n "$XBPS_CROSS_BASE" -a -n "$XBPS_TARGET_MACHINE" -a -n "$XBPS_VERSION" ]; then
|
|
# wrapper for @TOOL@, which runs the target version of it through qemu.
|
|
# gi-compile-repository, for example, writes out the raw content of a C struct to disk,
|
|
# and therefore is architecture dependent.
|
|
exec /usr/bin/gi-xbps-qemuwrapper ${XBPS_CROSS_BASE}/usr/bin/@TOOL@.wrapped "$@"
|
|
fi
|
|
|
|
exec /usr/bin/@TOOL@.wrapped "$@"
|