From 6e18c9450b36333314f572aaa3d33b0a50b446bf Mon Sep 17 00:00:00 2001 From: oreo639 Date: Tue, 19 Mar 2024 02:40:14 -0700 Subject: [PATCH] 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. --- srcpkgs/sushi/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sushi/template b/srcpkgs/sushi/template index 4f88b2c27a4..8ddde5ce16f 100644 --- a/srcpkgs/sushi/template +++ b/srcpkgs/sushi/template @@ -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 +}