diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.4.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.4.bb index 7b78c7d5c9..3c0cb7dc6c 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.4.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22.4.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 |
24 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" | 24 | PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl glx', '', d)}" |
25 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl ${PACKAGECONFIG_X11}', '', d)}" | ||
25 | 26 | ||
26 | PACKAGECONFIG ??= " \ | 27 | PACKAGECONFIG ??= " \ |
27 | ${GSTREAMER_ORC} \ | 28 | ${GSTREAMER_ORC} \ |
@@ -32,7 +33,7 @@ PACKAGECONFIG ??= " \ | |||
32 | " | 33 | " |
33 | 34 | ||
34 | OPENGL_APIS = 'opengl gles2' | 35 | OPENGL_APIS = 'opengl gles2' |
35 | OPENGL_PLATFORMS = 'egl' | 36 | OPENGL_PLATFORMS = 'egl glx' |
36 | 37 | ||
37 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | 38 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" |
38 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" | 39 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" |
@@ -61,6 +62,7 @@ PACKAGECONFIG[gles2] = ",,virtual/libgles2" | |||
61 | 62 | ||
62 | # OpenGL platform packageconfigs | 63 | # OpenGL platform packageconfigs |
63 | PACKAGECONFIG[egl] = ",,virtual/egl" | 64 | PACKAGECONFIG[egl] = ",,virtual/egl" |
65 | PACKAGECONFIG[glx] = ",,virtual/libgl" | ||
64 | 66 | ||
65 | # OpenGL window systems (except for X11) | 67 | # OpenGL window systems (except for X11) |
66 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" | 68 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" |