diff options
Diffstat (limited to 'meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb')
-rw-r--r-- | meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb b/meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb index f4c5c7cce8..e0a70380ea 100644 --- a/meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb +++ b/meta/recipes-multimedia/mpg123/mpg123_1.23.8.bb | |||
@@ -20,7 +20,7 @@ inherit autotools pkgconfig | |||
20 | # The options should be mutually exclusive for configuration script. | 20 | # The options should be mutually exclusive for configuration script. |
21 | # If both alsa and pulseaudio are specified (as in the default distro features) | 21 | # If both alsa and pulseaudio are specified (as in the default distro features) |
22 | # pulseaudio takes precedence. | 22 | # pulseaudio takes precedence. |
23 | PACKAGECONFIG_ALSA = "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | 23 | PACKAGECONFIG_ALSA = "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" |
24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" | 24 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" |
25 | 25 | ||
26 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" | 26 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" |
@@ -33,13 +33,8 @@ PACKAGECONFIG[sdl] = ",,libsdl" | |||
33 | 33 | ||
34 | # Following are possible sound output modules: | 34 | # Following are possible sound output modules: |
35 | # alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi | 35 | # alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi |
36 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" | 36 | AUDIOMODS += "${@bb.utils.filter('PACKAGECONFIG', 'alsa esd jack openal portaudio sdl', d)}" |
37 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" | ||
38 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'jack', 'jack', '', d)}" | ||
39 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'openal', 'openal', '', d)}" | ||
40 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" | ||
41 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" | 37 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" |
42 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}" | ||
43 | 38 | ||
44 | EXTRA_OECONF = " \ | 39 | EXTRA_OECONF = " \ |
45 | --enable-shared \ | 40 | --enable-shared \ |