From 4c3695008de169525d5eb5938178aeeeed9b3b4c Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sat, 28 Dec 2024 08:29:53 +0100 Subject: [PATCH] gimp: set LD_LIBRARY_PATH target gimp is run through an exe-wrapper to create the splash png and it links with hosts gegl. Set LD_LIBRARY_PATH to avoid the issue move RDEPENDS Signed-off-by: Markus Volk --- recipes-gtk/gimp/gimp_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-gtk/gimp/gimp_git.bb b/recipes-gtk/gimp/gimp_git.bb index 85bf6b8..c179946 100644 --- a/recipes-gtk/gimp/gimp_git.bb +++ b/recipes-gtk/gimp/gimp_git.bb @@ -35,7 +35,6 @@ DEPENDS = " \ " DEPENDS:append:libc-musl = " libexecinfo" -RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking python3-pygobject" inherit meson gtk-icon-cache mime-xdg pkgconfig gettext gobject-introspection vala @@ -53,6 +52,8 @@ S = "${WORKDIR}/git" SRCREV = "d52117a7f753353b5f900d8195a2443c603d6c94" PV = "3.0.0-RC-2" +export LD_LIBRARY_PATH = "${STAGING_LIBDIR}" + PACKAGECONFIG[aa] = "-Daa=enabled,-Daa=disabled,aalib" PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib" PACKAGECONFIG[appdata-test] = "-Dappdata-test=enabled,-Dappdata-test=disabled,appstream-glib-native" @@ -130,3 +131,5 @@ do_install:prepend() { sed -i -e "s|${B}||" ${B}/app/widgets/gimplanguagestore-data.h sed -i -e "s|${B}||" ${B}/plug-ins/file-bmp/huffman.h } + +RDEPENDS:${PN} = "mypaint-brushes-1.0 glib-networking python3-pygobject"