From: Ross Burton Date: Tue, 12 May 2026 13:54:06 +0000 (+0100) Subject: librsvg: consolidate PACKAGECONFIG X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8c240544896f32bf55499cfcd2e4471c505ed669;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git librsvg: consolidate PACKAGECONFIG Explictly appending PACKAGECONFIG makes it harder to directly control PACKAGECONFIG, merge the assignments to keep it simple. This does not change the behaviour of native builds as G-I is disabled in native. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb b/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb index 61ef01c3fd..0b82ae1452 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.61.3.bb @@ -56,8 +56,9 @@ LDFLAGS += " -L${B}/rsvg" # needed on ubuntu 20.04/debian 11 to avoid 'undefined reference to `dlsym'' errors BUILD_LDFLAGS += " -ldl" -PACKAGECONFIG ??= "gdkpixbuf ${@bb.utils.contains('PTEST_ENABLED', '1', 'apitest', '', d)}" -PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}" +PACKAGECONFIG ??= "gdkpixbuf \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'apitest', '', d)} \ + ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}" # The gdk-pixbuf loader PACKAGECONFIG[gdkpixbuf] = "-Dpixbuf-loader=enabled,-Dpixbuf-loader=disabled,gdk-pixbuf-native" PACKAGECONFIG[vala] = "-Dvala=enabled,-Dvala=disabled"