]> code.ossystems Code Review - meta-freescale.git/commitdiff
gstreamer1.0-plugins-base: allow enabling viv-fb as a supported GL winsys
authorZan Dobersek <zdobersek@igalia.com>
Thu, 5 Nov 2020 17:18:45 +0000 (18:18 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 10 Nov 2020 19:27:28 +0000 (16:27 -0300)
Add the viv-fb PACKAGECONFIG flag through which the corresponding GL winsys
support can be enabled in the GStreamer base plugins configuration. When
enabled, dependencies on the virtual libgles2 and libg2d targets are required.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
(cherry picked from commit f28829ec9097b6e2f4f852ddb94291dda26a2e21)

recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.imx.bb

index 4b25f4065ea123a7ded140c0a940178ad4161635..1d7a460987982d67af4531c0aad4ec04f1f7c8a0 100644 (file)
@@ -41,7 +41,7 @@ PACKAGECONFIG ??= " \
 
 OPENGL_APIS = 'opengl gles2'
 OPENGL_PLATFORMS = 'egl'
-OPENGL_WINSYS = 'x11 wayland gbm'
+OPENGL_WINSYS = 'x11 wayland gbm viv-fb'
 
 X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
 X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
@@ -70,6 +70,7 @@ PACKAGECONFIG[egl]          = ",,virtual/egl"
 # OpenGL window systems (except for X11)
 PACKAGECONFIG[gbm]          = ",,virtual/libgbm libgudev libdrm"
 PACKAGECONFIG[wayland]      = ",,wayland-native wayland wayland-protocols libdrm"
+PACKAGECONFIG[viv-fb]       = ",,virtual/libgles2 virtual/libg2d"
 
 EXTRA_OEMESON += " \
     -Dgl-graphene=disabled \