diff options
-rw-r--r-- | meta-multimedia/recipes-multimedia/mpg123/mpg123_1.15.3.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.15.3.bb b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.15.3.bb index 595235cd2..007542733 100644 --- a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.15.3.bb +++ b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.15.3.bb | |||
@@ -6,6 +6,14 @@ 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 | # The options should be mutually exclusive for configuration script. | ||
10 | # If both alsa and pulseaudio are specified (as in the default distro features) | ||
11 | # pulseaudio takes precedence. | ||
12 | PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | ||
13 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" | ||
14 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" | ||
15 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" | ||
16 | |||
9 | LICENSE = "LGPLv2.1" | 17 | LICENSE = "LGPLv2.1" |
10 | LICENSE_FLAGS = "commercial" | 18 | LICENSE_FLAGS = "commercial" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=a7aa23a2b646eca38ad4eeb7a853761c" | 19 | LIC_FILES_CHKSUM = "file://COPYING;md5=a7aa23a2b646eca38ad4eeb7a853761c" |
@@ -23,7 +31,5 @@ EXTRA_OECONF = " \ | |||
23 | --enable-shared \ | 31 | --enable-shared \ |
24 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \ | 32 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \ |
25 | ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \ | 33 | ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \ |
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', '--with-default-audio=alsa', '', d)} \ | ||
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', '--with-default-audio=pulse', '', d)} \ | ||
28 | " | 34 | " |
29 | 35 | ||