diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-02-27 14:02:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 11:17:22 +0000 |
commit | 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f (patch) | |
tree | 832a708208f36aa18b43b090f8963683f03986ee /meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | |
parent | 6db26339522a22c3e3c13287ea0c9daf40c7c15e (diff) | |
download | openembedded-core-contrib-0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f.tar.gz |
recipes: Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc index c73ecf8efe..ef0734ba93 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi.inc @@ -23,9 +23,8 @@ REQUIRED_DISTRO_FEATURES ?= "opengl" PACKAGES =+ "${PN}-tests" PACKAGECONFIG ??= "drm \ - ${@bb.utils.contains("DISTRO_FEATURES", "opengl x11", "glx", "", d)} \ - ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "", d)} \ - ${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm" PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/mesa" |