gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
PATCH 1/2 gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window system to work.
---
.../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +2 -0
@@ -62,12 +62,14 @@ PACKAGECONFIG[egl] = ",,virtual/egl" PACKAGECONFIG[gbm] = ",,virtual/libgbm libgudev libdrm" PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm" PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" +PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" EXTRA_OEMESON += " \ -Ddoc=disabled \
Signature · 1 line
2.29.2
PATCH 2/2 gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
---
.../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +1 -6
@@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" EXTRA_OEMESON += " \ -Ddoc=disabled \
Signature · 1 line
2.29.2
Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Quoted 12 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
.../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +0
-0
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm · line 67
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +1
-6@@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}"
This drops the first leading space so isn't exactly equivalent.
Quoted 8 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +0
-1EXTRA_OEMESON += " \ -Ddoc=disabled \ --2.29.2
Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Good point. Please ignore this commit. My fault :-(
Em sex., 20 de nov. de 2020 às 18:21, Andre McCurdy <[email protected]> escreveu:
Quoted 36 lines
Quoted 12 lines · Otavio Salvador
Signed-off-by Otavio Salvador <[email protected]>---
.../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +0
-0meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm · line 67
Quoted 10 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +1
-6@@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}"This drops the first leading space so isn't exactly equivalent.
Quoted 8 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +0
-1EXTRA_OEMESON += " \ -Ddoc=disabled \ --2.29.2
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750