diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-03-01 18:30:49 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-03-07 13:30:26 +0100 |
commit | 0c31f55bcfd6630d894dd2dda6ca483bea5de4ab (patch) | |
tree | 362ae6300bfa295709e24a4879639fb4c0fb5116 /meta-oe/recipes-support/libcanberra | |
parent | b4524eb786472e69e28212a58a329a5e44e40547 (diff) | |
download | meta-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.bb | 5 |
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 | ||
25 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','alsa','alsa','',d)} \ | 25 | PACKAGECONFIG ??= "${@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 | " |
29 | PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" | 28 | PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" |
30 | PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" | 29 | PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" |