commit:     e24bdedcf8e47c6dfd1841182637d478799a052f
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Dec  9 00:37:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 09:49:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24bdedc

media-gfx/gimp: backport test fixes

See-Also: 5b0516cdc2380be42fa17f251aeb9f7ac89bf691
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44899
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/gimp/gimp-3.0.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/media-gfx/gimp/gimp-3.0.6.ebuild b/media-gfx/gimp/gimp-3.0.6.ebuild
index 2b83bb9c5d75..c04178752dde 100644
--- a/media-gfx/gimp/gimp-3.0.6.ebuild
+++ b/media-gfx/gimp/gimp-3.0.6.ebuild
@@ -221,6 +221,10 @@ _rename_plugins() {
 
 src_test() {
        local -x LD_LIBRARY_PATH="${BUILD_DIR}/libgimp:${LD_LIBRARY_PATH}"
+       # Try hard to avoid system installed gimp causing issues
+       local -x GIMP3_DIRECTORY="${BUILD_DIR}/"
+       local -x GIMP3_PLUGINDIR="${BUILD_DIR}/plug-ins/"
+       local -x GIMP3_SYSCONFDIR="${BUILD_DIR}/etc/"
        meson_src_test
 }
 

Reply via email to