From 7d5682cb026dcb16aabbe02113c9635704bbccae Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 4 Aug 2025 20:52:36 +0100 Subject: [PATCH] gdk-pixbuf: clean up PACKAGECONFIG PTEST_ENABLED is always false in native builds, so there's no need for an explict native override. Use ??= as that is the idiomatic way to assign to PACKAGECONFIG. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb index 96487a284af..060d7735ad1 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb @@ -34,9 +34,8 @@ LIBV = "2.10.0" GDK_PIXBUF_LOADERS ?= "png jpeg gif others" -PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ - ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" -PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}" +PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS} \ + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng" PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" -- 2.47.2