diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2020-01-20 23:02:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-21 12:52:53 +0000 |
commit | 390422db14fe6506b20b135defdfc49e60905b41 (patch) | |
tree | 8198a3d0ee6c9cf10576b361c495d586f82b1f0b /meta | |
parent | 44fae29a143946f38651c32acf625b10367ee5b3 (diff) | |
download | poky-390422db14fe6506b20b135defdfc49e60905b41.tar.gz |
gstreamer1.0-plugins-base: add PACKAGECONFIG for dispmanx and set OPENGL_WINSYS based on enabled PACKAGECONFIGs
(From OE-Core rev: f741c342722aaeb1fbe03e700157fc3a2a1fe12f)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb index 7ce9238c4a..cf12ceba61 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.1.bb | |||
@@ -38,7 +38,6 @@ PACKAGECONFIG ??= " \ | |||
38 | 38 | ||
39 | OPENGL_APIS = 'opengl gles2' | 39 | OPENGL_APIS = 'opengl gles2' |
40 | OPENGL_PLATFORMS = 'egl' | 40 | OPENGL_PLATFORMS = 'egl' |
41 | OPENGL_WINSYS = 'x11 wayland gbm' | ||
42 | 41 | ||
43 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | 42 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" |
44 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" | 43 | X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled" |
@@ -67,6 +66,12 @@ PACKAGECONFIG[egl] = ",,virtual/egl" | |||
67 | # OpenGL window systems (except for X11) | 66 | # OpenGL window systems (except for X11) |
68 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" | 67 | PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" |
69 | PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" | 68 | PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" |
69 | PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" | ||
70 | |||
71 | OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" | ||
72 | OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" | ||
73 | OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" | ||
74 | OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" | ||
70 | 75 | ||
71 | EXTRA_OEMESON += " \ | 76 | EXTRA_OEMESON += " \ |
72 | -Dgl-graphene=disabled \ | 77 | -Dgl-graphene=disabled \ |