sushi: fix cross compiling with gstreamer

This error isn't always consistent, but someimes the GIR executable
tries to run gir-plugin-scanner as a native executable, so pass it the
path to the native executable. There are no plugins installed anyway.
This commit is contained in:
oreo639 2024-03-19 02:40:14 -07:00
parent 3577f83467
commit 6e18c9450b
1 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,7 @@ revision=1
build_helper="gir"
build_style=meson
hostmakedepends="glib-devel gettext pkg-config
$(vopt_if gir 'gobject-introspection') gjs"
$(vopt_if gir 'gobject-introspection') gjs gstreamer1"
makedepends="clutter-gst3-devel clutter-gtk-devel evince-devel gjs-devel
gtksourceview4-devel libsoup3-devel libwebkit2gtk41-devel"
depends="evince nautilus"
@ -20,3 +20,7 @@ lib32disabled=yes
build_options="gir"
build_options_default="gir"
pre_build() {
export GST_PLUGIN_SCANNER=/usr/libexec/gstreamer-1.0/gst-plugin-scanner
}