diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/mpg123/mpg123_1.19.0.bb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.19.0.bb b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.19.0.bb index 9d9dc8429d..e669446927 100644 --- a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.19.0.bb +++ b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.19.0.bb | |||
| @@ -6,7 +6,7 @@ HOMEPAGE = "http://mpg123.de/" | |||
| 6 | BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/" | 6 | BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/" |
| 7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
| 8 | 8 | ||
| 9 | DEPENDS = "tslib libsdl jack openal-soft portaudio-v19 audiofile esound" | 9 | DEPENDS = "tslib audiofile" |
| 10 | 10 | ||
| 11 | # The options should be mutually exclusive for configuration script. | 11 | # The options should be mutually exclusive for configuration script. |
| 12 | # If both alsa and pulseaudio are specified (as in the default distro features) | 12 | # If both alsa and pulseaudio are specified (as in the default distro features) |
| @@ -15,6 +15,21 @@ PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d) | |||
| 15 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" | 15 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" |
| 16 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" | 16 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" |
| 17 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" | 17 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" |
| 18 | PACKAGECONFIG[sdl] = ",,libsdl" | ||
| 19 | PACKAGECONFIG[openal] = ",,openal-soft" | ||
| 20 | PACKAGECONFIG[jack] = ",,jack" | ||
| 21 | PACKAGECONFIG[portaudio] = ",,portaudio-v19" | ||
| 22 | PACKAGECONFIG[esd] = ",,esound" | ||
| 23 | |||
| 24 | # Following are possible sound output modules | ||
| 25 | #alsa tinyalsa oss coreaudio sndio sun win32 win32_wasapi os2 esd jack portaudio pulse sdl nas arts openal dummy | ||
| 26 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" | ||
| 27 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" | ||
| 28 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}" | ||
| 29 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}" | ||
| 30 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}" | ||
| 31 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" | ||
| 32 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" | ||
| 18 | 33 | ||
| 19 | LICENSE = "LGPLv2.1" | 34 | LICENSE = "LGPLv2.1" |
| 20 | LICENSE_FLAGS = "commercial" | 35 | LICENSE_FLAGS = "commercial" |
| @@ -28,6 +43,7 @@ inherit autotools pkgconfig | |||
| 28 | 43 | ||
| 29 | EXTRA_OECONF = " \ | 44 | EXTRA_OECONF = " \ |
| 30 | --enable-shared \ | 45 | --enable-shared \ |
| 46 | --with-audio='${AUDIOMODS}' \ | ||
| 31 | --with-module-suffix=.so \ | 47 | --with-module-suffix=.so \ |
| 32 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \ | 48 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \ |
| 33 | ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \ | 49 | ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \ |
