media-gfx/gimp: backport test fixes

See-Also: 5b0516cdc2
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44899
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2025-12-09 02:37:47 +02:00
committed by Sam James
parent ba62c2ec8d
commit e24bdedcf8

View File

@@ -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
}