gobject-introspection: use qemu build helper instead of depending on qemu-user

This commit is contained in:
classabbyamp 2024-09-18 00:07:42 -04:00 committed by classabbyamp
parent 8dc1ee476e
commit af70fab540
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ pkgname=gobject-introspection
version=1.80.1
revision=2
build_style=meson
build_helper="qemu"
pycompile_dirs="usr/lib/gobject-introspection/giscanner"
hostmakedepends="flex pkg-config"
# won't run tests with cairo to avoid cyclical deps
@ -20,7 +21,7 @@ checksum=a1df7c424e15bda1ab639c00e9051b9adf5cea1a9e512f8a603b53cd199bc6d8
python_version=3
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" gobject-introspection qemu-user prelink-cross"
hostmakedepends+=" gobject-introspection prelink-cross"
configure_args+=" -Dgi_cross_use_prebuilt_gi=true
-Dgi_cross_binary_wrapper=/usr/bin/g-ir-scanner-qemuwrapper
-Dgi_cross_ldd_wrapper=/usr/bin/g-ir-scanner-lddwrapper