From 26d2e10b3dc8eb19924b378a3e1c0652bd8b5c3b Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Sat, 7 Dec 2019 04:21:29 +0300 Subject: [PATCH] media-libs/gegl: 0.4.18 fix skipping mipmap tests Signed-off-by: Sergey Torokhov Closes: https://github.com/gentoo/gentoo/pull/13826 Signed-off-by: Joonas Niilola --- media-libs/gegl/gegl-0.4.18.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/media-libs/gegl/gegl-0.4.18.ebuild b/media-libs/gegl/gegl-0.4.18.ebuild index 24ffd8e23d7a..654bbe899330 100644 --- a/media-libs/gegl/gegl-0.4.18.ebuild +++ b/media-libs/gegl/gegl-0.4.18.ebuild @@ -99,6 +99,12 @@ src_prepare() { -e '/composite-transform.xml/d' \ -i tests/compositions/meson.build || die + # fix skipping mipmap tests due to executable not found + for item in "invert-crop.sh" "invert.sh" "rotate-crop.sh" "rotate.sh" "unsharp-crop.sh" "unsharp.sh"; do + sed -i "s:/bin/gegl:/bin/gegl-0.4:g" "${S}/tests/mipmap/${item}" || die + sed -i "s:/tools/gegl-imgcmp:/tools/gegl-imgcmp-0.4:g" "${S}/tests/mipmap/${item}" || die + done + gnome2_environment_reset use vala && vala_src_prepare -- 2.26.2