commit: d7aad12bcff9ee2bc6da480847d8415b83415401 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Fri Jun 30 21:34:13 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jul 13 08:25:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7aad12b
media-gfx/gimp: 9999.ebuild. Pass LD_LIBRARY_PATH for src_test() phase. While running the tests the gimp:2.99 tries to link system libgimp-3.0.so if gimp:2.99 is already installed. If system libgimp-3.0 has old GIMP API then it causes some tests fail. The proposed changes should fix this problem. Closes: https://bugs.gentoo.org/867856 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/31683 Signed-off-by: Sam James <sam <AT> gentoo.org> media-gfx/gimp/gimp-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index 876a775bc120..182c61c4e356 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.ebuild @@ -215,6 +215,11 @@ _rename_plugins() { ) } +src_test() { + local -x LD_LIBRARY_PATH="${BUILD_DIR}/libgimp:${LD_LIBRARY_PATH}" + meson_src_test +} + src_install() { meson_src_install