diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb b/import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb index f47377500a..72c93abe17 100644 --- a/import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb +++ b/import-layers/meta-openembedded/meta-oe/recipes-support/libcanberra/libcanberra_0.30.bb @@ -22,9 +22,8 @@ EXTRA_OECONF = "\ --disable-lynx \ " -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES','alsa','alsa','',d)} \ - ${@bb.utils.contains('DISTRO_FEATURES','pulseaudio','pulseaudio','',d)} \ - ${@bb.utils.contains('DISTRO_FEATURES','x11','gtk gtk3','',d)} \ +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk gtk3', '', d)} \ " PACKAGECONFIG[alsa] = "--enable-alsa, --disable-alsa, alsa-lib" PACKAGECONFIG[pulseaudio] = "--enable-pulse, --disable-pulse, pulseaudio" |