From 0ceb58fc57f738eed0f3969304d2452ffea0c7b6 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 22 Aug 2025 13:11:50 +0200 Subject: [PATCH] stm: gstreamer1.0-plugins-bad: use strict assignment for default PACKAGECONFIG A recent change in meta-st-x-linux-ai was completely overwriting our default PACKAGECONFIG values, causing several plugins to be omitted (for example, the wayland plugin). In turn, this was causing several build errors in many packages that depend on said plugins. Use a strict PACKAGECONFIG assignment to prevent this. As a side effect, this removes the new "uvcsink" PACKAGECONFIG introduced by the recent change in meta-st-x-linux-ai, so make sure to re-add it to avoid unexpected behavior when building the brand new people-tracking-heatmap AI example. Signed-off-by: Gabriel Valcazar --- .../gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend | 2 +- .../gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 meta-digi-dey/dynamic-layers/x-linux-ai/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend index 95a873c4e..ae8ae137d 100644 --- a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend @@ -85,7 +85,7 @@ SRC_URI:append = " \ PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" PACKAGECONFIG[gtk3] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk+3" -PACKAGECONFIG ?= " \ +PACKAGECONFIG = " \ ${GSTREAMER_ORC} \ ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ diff --git a/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend new file mode 100644 index 000000000..deece9afc --- /dev/null +++ b/meta-digi-dey/dynamic-layers/x-linux-ai/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22.12.bbappend @@ -0,0 +1,5 @@ +# Copyright (C) 2025, Digi International Inc. + +# The "uvcsink" PACKAGECONFIG introduced by meta-st-x-linux-ai is lost due to +# the strict PACKAGECONFIG assignment above, so re-incorporate it here +PACKAGECONFIG:append = "uvcsink"