summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-02-27 14:02:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-01 11:17:45 +0000
commit254bfb107134702d8d1e0bfbdd1b011212e8c291 (patch)
tree188ddf3ea786bc1b913904330e4f95125bd6def4 /meta/recipes-graphics/wayland
parentdec5650bc292aa3c4a0a04ace72d2cf762e9620b (diff)
downloadpoky-254bfb107134702d8d1e0bfbdd1b011212e8c291.tar.gz
recipes: Make use of the new bb.utils.filter() function
(From OE-Core rev: 0a1427bf9aeeda6bee2cc0af8da4ea5fd90aef6f) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rw-r--r--meta/recipes-graphics/wayland/weston_1.11.1.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-graphics/wayland/weston_1.11.1.bb b/meta/recipes-graphics/wayland/weston_1.11.1.bb
index cdfac70ed1..22b30ad2d3 100644
--- a/meta/recipes-graphics/wayland/weston_1.11.1.bb
+++ b/meta/recipes-graphics/wayland/weston_1.11.1.bb
@@ -37,10 +37,8 @@ EXTRA_OECONF_append_qemux86-64 = "\
37 WESTON_NATIVE_BACKEND=fbdev-backend.so \ 37 WESTON_NATIVE_BACKEND=fbdev-backend.so \
38 " 38 "
39PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \ 39PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
40 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
41 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ 40 ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ 41 ${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd x11', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
44 clients launch" 42 clients launch"
45# 43#
46# Compositor choices 44# Compositor choices
@@ -85,7 +83,7 @@ do_install_append() {
85 rm -f ${D}/${libdir}/weston/*.la 83 rm -f ${D}/${libdir}/weston/*.la
86 84
87 # If X11, ship a desktop file to launch it 85 # If X11, ship a desktop file to launch it
88 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" = "x11" ]; then 86 if [ "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" ]; then
89 install -d ${D}${datadir}/applications 87 install -d ${D}${datadir}/applications
90 install ${WORKDIR}/weston.desktop ${D}${datadir}/applications 88 install ${WORKDIR}/weston.desktop ${D}${datadir}/applications
91 89