From c92c83ef0c6dede795b276150f9c289b1ac832d6 Mon Sep 17 00:00:00 2001 From: Moorthy Baskar Date: Wed, 27 May 2020 15:55:46 +0000 Subject: [PATCH] gstreamer-plugins-bad: enable wayland for OpenGL in vc4graphics Signed-off-by: Moorthy Baskar --- .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index 7292f90..d366897 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend @@ -3,7 +3,9 @@ EXTRA_OECONF_append_rpi = " CPPFLAGS='-I${STAGING_INCDIR}/interface/vcos/pthread # if using bcm driver enable dispmanx not when using VC4 driver -PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' dispmanx', d)}" +PACKAGECONFIG_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', \ + bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d), \ + 'dispmanx', d)}" PACKAGECONFIG_GL_rpi = "egl gles2"