commit:     26d2e10b3dc8eb19924b378a3e1c0652bd8b5c3b
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sat Dec  7 01:21:29 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Dec  8 13:35:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26d2e10b

media-libs/gegl: 0.4.18 fix skipping mipmap tests

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
Closes: https://github.com/gentoo/gentoo/pull/13826
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 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 24ffd8e23d7..654bbe89933 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

Reply via email to