diff --git a/srcpkgs/grilo-plugins/template b/srcpkgs/grilo-plugins/template index 2de976a082b..9631b2941a7 100644 --- a/srcpkgs/grilo-plugins/template +++ b/srcpkgs/grilo-plugins/template @@ -18,6 +18,14 @@ homepage="http://live.gnome.org/Grilo" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=c6b6df086a164d65c206d70139ce80591f8feca3545612e45b823fb4fe4b2577 +post_patch() { + if [ "$CROSS_BUILD" ]; then + # tests try to use tracker-sandbox from the wrong path: + # "Program /usr/lib32/tracker-3.0/trackertestutils/tracker-sandbox found: NO" + vsed -e "/subdir('tests')/d" -i meson.build + fi +} + # feel free to fix do_check() { :