summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-12-06 10:12:49 +0100
committerSteve Sakoman <steve@sakoman.com>2023-12-15 04:00:33 -1000
commit8a09f8472ffd8623204a455ecce724c6a707158f (patch)
tree559e0599b0016c660dc107a381ac892093c1a814
parent82802901c6219b53c02f325cfc0c63f8d161f980 (diff)
downloadpoky-8a09f8472ffd8623204a455ecce724c6a707158f.tar.gz
gstreamer1.0-plugins-base: enable glx/opengl support
This is required by latest webkit when built with x11 support. (From OE-Core rev: 024edebf6f722ae4d05411be348730d9eeb3bd7c) (From OE-Core rev: 9fc0f0a15388af175bd53de5190801750064e60c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
index 8822c6a905..8dfa70aea3 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
@@ -21,7 +21,8 @@ inherit gobject-introspection
21 21
22# opengl packageconfig factored out to make it easy for distros 22# opengl packageconfig factored out to make it easy for distros
23# and BSP layers to choose OpenGL APIs/platforms/window systems 23# and BSP layers to choose OpenGL APIs/platforms/window systems
24PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 24PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}"
25PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}"
25 26
26PACKAGECONFIG ??= " \ 27PACKAGECONFIG ??= " \
27 ${GSTREAMER_ORC} \ 28 ${GSTREAMER_ORC} \
@@ -32,7 +33,7 @@ PACKAGECONFIG ??= " \
32" 33"
33 34
34OPENGL_APIS = 'opengl gles2' 35OPENGL_APIS = 'opengl gles2'
35OPENGL_PLATFORMS = 'egl' 36OPENGL_PLATFORMS = 'egl glx'
36 37
37X11DEPENDS = "virtual/libx11 libsm libxrender libxv" 38X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
38X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" 39X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
@@ -61,6 +62,7 @@ PACKAGECONFIG[gles2] = ",,virtual/libgles2"
61 62
62# OpenGL platform packageconfigs 63# OpenGL platform packageconfigs
63PACKAGECONFIG[egl] = ",,virtual/egl" 64PACKAGECONFIG[egl] = ",,virtual/egl"
65PACKAGECONFIG[glx] = ",,virtual/libgl"
64 66
65# OpenGL window systems (except for X11) 67# OpenGL window systems (except for X11)
66PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" 68PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm"