summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorOtavio Salvador <otavio.salvador@gmail.com>2021-04-15 20:43:04 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-18 11:37:26 +0100
commit44b37abc66fb249c9bd103df6a28360ab2c06e05 (patch)
treef1d4becdd4cc58aec5ec2ac70d54183dbf323259 /meta/recipes-multimedia
parent8569ec6e7e9ca54d71f13235e776489c99a98b7a (diff)
downloadpoky-44b37abc66fb249c9bd103df6a28360ab2c06e05.tar.gz
gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
(From OE-Core rev: ec3a1cb77131a3cf61fc005c84295d282a2eb80a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb7
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb
index 4621d9f198..beddfb0386 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb
@@ -67,12 +67,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm
67PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" 67PACKAGECONFIG[dispmanx] = ",,virtual/libomxil"
68PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" 68PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d"
69 69
70OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" 70OPENGL_WINSYS = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}"
71OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}"
72OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}"
73OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}"
74OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}"
75OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}"
76 71
77EXTRA_OEMESON += " \ 72EXTRA_OEMESON += " \
78 -Ddoc=disabled \ 73 -Ddoc=disabled \