aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoorthy Baskar <moorthy.bs@ltts.com>2020-05-27 15:55:46 +0000
committerAndrei Gherzan <andrei@gherzan.ro>2020-06-09 17:55:06 +0100
commitc92c83ef0c6dede795b276150f9c289b1ac832d6 (patch)
tree593d79c0360c19838017fe443bdf28ee2f415639
parent08d6fc96dabc94a6637a3eec8bf5a2d40e63d6d6 (diff)
downloadmeta-raspberrypi-morty.tar.gz
meta-raspberrypi-morty.tar.bz2
meta-raspberrypi-morty.zip
gstreamer-plugins-bad: enable wayland for OpenGL in vc4graphicsmorty
Signed-off-by: Moorthy Baskar <moorthy.bs@ltts.com>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend4
1 files changed, 3 insertions, 1 deletions
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"