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 <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2025-08-22 13:11:50 +02:00
parent d95b2449b1
commit 0ceb58fc57
2 changed files with 6 additions and 1 deletions

View File

@ -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)} \

View File

@ -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"