summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb42
1 files changed, 22 insertions, 20 deletions
diff --git a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb
index 3aa5f3d1a..a3225f294 100644
--- a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb
+++ b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb
@@ -6,40 +6,42 @@ HOMEPAGE = "http://mpg123.de/"
6BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/" 6BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/"
7SECTION = "multimedia" 7SECTION = "multimedia"
8 8
9LICENSE = "LGPLv2.1"
10LICENSE_FLAGS = "commercial"
11LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
12
9DEPENDS = "tslib audiofile" 13DEPENDS = "tslib audiofile"
10 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2"
16
17SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9"
18SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba"
19
20inherit autotools pkgconfig
21
11# The options should be mutually exclusive for configuration script. 22# The options should be mutually exclusive for configuration script.
12# If both alsa and pulseaudio are specified (as in the default distro features) 23# If both alsa and pulseaudio are specified (as in the default distro features)
13# pulseaudio takes precedence. 24# pulseaudio takes precedence.
14PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" 25PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
15PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" 26PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}"
16PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" 27
17PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" 28PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib"
18PACKAGECONFIG[sdl] = ",,libsdl" 29PACKAGECONFIG[esd] = ",,esound"
19PACKAGECONFIG[openal] = ",,openal-soft"
20PACKAGECONFIG[jack] = ",,jack" 30PACKAGECONFIG[jack] = ",,jack"
31PACKAGECONFIG[openal] = ",,openal-soft"
21PACKAGECONFIG[portaudio] = ",,portaudio-v19" 32PACKAGECONFIG[portaudio] = ",,portaudio-v19"
22PACKAGECONFIG[esd] = ",,esound" 33PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio"
34PACKAGECONFIG[sdl] = ",,libsdl"
23 35
24# Following are possible sound output modules 36# 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 37# alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi
26AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" 38AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}"
27AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" 39AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}"
28AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
29AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}"
30AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}" 40AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}"
41AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}"
31AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" 42AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}"
32AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" 43AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}"
33 44AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
34LICENSE = "LGPLv2.1"
35LICENSE_FLAGS = "commercial"
36LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
37
38SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2"
39SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9"
40SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba"
41
42inherit autotools pkgconfig
43 45
44EXTRA_OECONF = " \ 46EXTRA_OECONF = " \
45 --enable-shared \ 47 --enable-shared \