]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gdk-pixbuf: clean up PACKAGECONFIG
authorRoss Burton <ross.burton@arm.com>
Mon, 4 Aug 2025 19:52:36 +0000 (20:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Aug 2025 09:43:42 +0000 (10:43 +0100)
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 <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb

index 96487a284afffa4bf79aeb93cd9bbb466afdc995..060d7735ad1f6519bd29bb75083e38967d49ad9e 100644 (file)
@@ -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"