mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
gstreamer1.0-plugins-base: enable glx/opengl support
This is required by latest webkit when built with x11 support. (From OE-Core rev: 024edebf6f722ae4d05411be348730d9eeb3bd7c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c022c3fff5
commit
55121142c7
@@ -21,7 +21,8 @@ inherit gobject-introspection
|
|||||||
|
|
||||||
# opengl packageconfig factored out to make it easy for distros
|
# opengl packageconfig factored out to make it easy for distros
|
||||||
# and BSP layers to choose OpenGL APIs/platforms/window systems
|
# and BSP layers to choose OpenGL APIs/platforms/window systems
|
||||||
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
|
PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}"
|
||||||
|
PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}"
|
||||||
|
|
||||||
PACKAGECONFIG ??= " \
|
PACKAGECONFIG ??= " \
|
||||||
${GSTREAMER_ORC} \
|
${GSTREAMER_ORC} \
|
||||||
@@ -32,7 +33,7 @@ PACKAGECONFIG ??= " \
|
|||||||
"
|
"
|
||||||
|
|
||||||
OPENGL_APIS = 'opengl gles2'
|
OPENGL_APIS = 'opengl gles2'
|
||||||
OPENGL_PLATFORMS = 'egl'
|
OPENGL_PLATFORMS = 'egl glx'
|
||||||
|
|
||||||
X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
|
X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
|
||||||
X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
|
X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
|
||||||
@@ -61,6 +62,7 @@ PACKAGECONFIG[gles2] = ",,virtual/libgles2"
|
|||||||
|
|
||||||
# OpenGL platform packageconfigs
|
# OpenGL platform packageconfigs
|
||||||
PACKAGECONFIG[egl] = ",,virtual/egl"
|
PACKAGECONFIG[egl] = ",,virtual/egl"
|
||||||
|
PACKAGECONFIG[glx] = ",,virtual/libgl"
|
||||||
|
|
||||||
# OpenGL window systems (except for X11)
|
# OpenGL window systems (except for X11)
|
||||||
PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm"
|
PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm"
|
||||||
|
|||||||
Reference in New Issue
Block a user