summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-08-04 20:52:36 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-08-07 12:11:16 +0100
commit5b29e828921f2bed8d9c03a28e6ec23d928f936f (patch)
tree03163b4a5354b51a519b180c398c89efa4d9464d
parentf42421f09ec2ab9c588a03d47d57e4ec1fb28ebc (diff)
downloadpoky-5b29e828921f2bed8d9c03a28e6ec23d928f936f.tar.gz
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. (From OE-Core rev: 7d5682cb026dcb16aabbe02113c9635704bbccae) 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>
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb5
1 files 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 96487a284a..060d7735ad 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"
34 34
35GDK_PIXBUF_LOADERS ?= "png jpeg gif others" 35GDK_PIXBUF_LOADERS ?= "png jpeg gif others"
36 36
37PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ 37PACKAGECONFIG ??= "${GDK_PIXBUF_LOADERS} \
38 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" 38 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
39PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
40 39
41PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng" 40PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
42PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" 41PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"