From 7e0d919ebd230dd4d8cf3a34b64e8aa7d81fcc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Rolim?= Date: Tue, 2 Feb 2021 21:50:26 -0300 Subject: [PATCH] grilo-plugins: fix build for libdir changes. --- srcpkgs/grilo-plugins/template | 8 ++++++++ 1 file changed, 8 insertions(+) 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() { :