diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2015-12-03 19:21:53 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-12-18 12:36:55 +0100 |
commit | 7ff0b49524e6675af47afbcee500bc14915db81e (patch) | |
tree | 02d52ad0e65e4d9b7b41ec554c105771fa506b22 /meta-multimedia | |
parent | d6b3ac4b14f17978715022942d59ee1c60437d9b (diff) | |
download | meta-openembedded-contrib-7ff0b49524e6675af47afbcee500bc14915db81e.tar.gz |
mpg123: recipe formatting cleanup, no functional changes
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/mpg123/mpg123_1.21.0.bb | 42 |
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 3aa5f3d1ac8..a3225f294ad 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/" BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/" SECTION = "multimedia" +LICENSE = "LGPLv2.1" +LICENSE_FLAGS = "commercial" +LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3" + DEPENDS = "tslib audiofile" +SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2" + +SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9" +SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba" + +inherit autotools pkgconfig + # The options should be mutually exclusive for configuration script. # If both alsa and pulseaudio are specified (as in the default distro features) # pulseaudio takes precedence. PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" -PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" + PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" -PACKAGECONFIG[sdl] = ",,libsdl" -PACKAGECONFIG[openal] = ",,openal-soft" +PACKAGECONFIG[esd] = ",,esound" PACKAGECONFIG[jack] = ",,jack" +PACKAGECONFIG[openal] = ",,openal-soft" PACKAGECONFIG[portaudio] = ",,portaudio-v19" -PACKAGECONFIG[esd] = ",,esound" +PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" +PACKAGECONFIG[sdl] = ",,libsdl" -# Following are possible sound output modules -#alsa tinyalsa oss coreaudio sndio sun win32 win32_wasapi os2 esd jack portaudio pulse sdl nas arts openal dummy +# Following are possible sound output modules: +# alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" -AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" -AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}" -AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}" +AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}" +AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}" AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" -AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" - -LICENSE = "LGPLv2.1" -LICENSE_FLAGS = "commercial" -LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3" - -SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2" -SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9" -SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba" - -inherit autotools pkgconfig +AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" +AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}" EXTRA_OECONF = " \ --enable-shared \ |