public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] gstreamer1.0-plugins-bad: add ANY_OF_DISTRO_FEATURES
@ 2026-03-19  1:54 Changqing Li
  2026-04-13 15:42 ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 9+ messages in thread
From: Changqing Li @ 2026-03-19  1:54 UTC (permalink / raw)
  To: openembedded-core

When vulkan is enabled in DISTRO_FEATURES without x11 or wayland,
do_configure will failed with error:
gst-libs/gst/vulkan/meson.build:311:4: ERROR: Problem encountered: No Windowing system found. vulkansink will not work

set ANY_OF_DISTRO_FEATURES to make gstreamer1.0-plugins-bad build only
when x11 or wayland is enabled.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 .../gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb              | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb
index 4a9cb37dd8..2cb00f180f 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb
@@ -19,7 +19,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS += "gstreamer1.0-plugins-base"
 
-inherit gobject-introspection
+inherit gobject-introspection features_check
+
+ANY_OF_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', 'x11 wayland', '', d)}"
 
 PACKAGECONFIG ??= " \
     ${GSTREAMER_ORC} \
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 9+ messages in thread
[parent not found: <189E1B5A8FDE995D.2964266@lists.openembedded.org>]

end of thread, other threads:[~2026-04-15  2:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-19  1:54 [PATCH] gstreamer1.0-plugins-bad: add ANY_OF_DISTRO_FEATURES Changqing Li
2026-04-13 15:42 ` [OE-core] " Mathieu Dubois-Briand
2026-04-14  3:24   ` Changqing Li
2026-04-14  3:28   ` [PATCH V2] " Changqing Li
2026-04-14 10:27     ` [OE-core] " Peter Kjellerstedt
2026-04-15  2:13       ` Changqing Li
     [not found] <189E1B5A8FDE995D.2964266@lists.openembedded.org>
2026-04-13  3:17 ` [OE-core] [PATCH] " Changqing Li
2026-04-13  6:05   ` Mathieu Dubois-Briand
2026-04-13  6:55     ` Changqing Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox