summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libcanberra
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-03-01 18:30:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-07 13:30:26 +0100
commit0c31f55bcfd6630d894dd2dda6ca483bea5de4ab (patch)
tree362ae6300bfa295709e24a4879639fb4c0fb5116 /meta-oe/recipes-support/libcanberra
parentb4524eb786472e69e28212a58a329a5e44e40547 (diff)
downloadmeta-openembedded-0c31f55bcfd6630d894dd2dda6ca483bea5de4ab.tar.gz
Make use of the new bb.utils.filter() function
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libcanberra')
-rw-r--r--meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
index f47377500..72c93abe1 100644
--- a/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
+++ b/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb
@@ -22,9 +22,8 @@ EXTRA_OECONF = "\
22 --disable-lynx \ 22 --disable-lynx \
23" 23"
24 24
25PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','alsa','alsa','',d)} \ 25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
26 ${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','pulseaudio','',d)} \ 26 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk gtk3', '', d)} \
27 ${@bb.utils.contains('DISTRO_FEATURES','x11','gtk gtk3','',d)} \
28" 27"
29PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" 28PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib"
30PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" 29PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio"