Skip to contentSkip to conversation

gstreamer1.0-plugins-bad: add ANY_OF_DISTRO_FEATURES

PATCH Changqing Li 2 participants 3 messages Apr 13 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

kindly ping

Quoted 36 lines · Changqing Li via lists.openembedded.org

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.

---
  .../gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb              | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.9.bb +3 -2
index 4a9cb37dd8..2cb00f180f 100644
@@ -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} \
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#233455): https://lists.openembedded.org/g/openembedded-core/message/233455
Mute This Topic: https://lists.openembedded.org/mt/118394443/3616873
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 2 lines · Changqing Li via lists.openembedded.org

kindly ping

Hi Changqing,

Your patch is still under review, but we have a pretty long backlog. It should be merged or you should get some feedback soon.

Thanks,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#3 lore raw
Quoted 6 lines · Mathieu Dubois-Briand

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

Quoted 2 lines · Changqing Li via lists.openembedded.org

kindly ping

Quoted 7 lines

Hi Changqing,

Your patch is still under review, but we have a pretty long backlog. It should be merged or you should get some feedback soon.

Thanks,
Mathieu

Thanks for your feedback!

//Changqing

Quoted 5 lines

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com