mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
mpg123: recipe formatting cleanup, no functional changes
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
d6b3ac4b14
commit
7ff0b49524
@@ -6,40 +6,42 @@ HOMEPAGE = "http://mpg123.de/"
|
|||||||
BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/"
|
BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/"
|
||||||
SECTION = "multimedia"
|
SECTION = "multimedia"
|
||||||
|
|
||||||
|
LICENSE = "LGPLv2.1"
|
||||||
|
LICENSE_FLAGS = "commercial"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
|
||||||
|
|
||||||
DEPENDS = "tslib audiofile"
|
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.
|
# The options should be mutually exclusive for configuration script.
|
||||||
# If both alsa and pulseaudio are specified (as in the default distro features)
|
# If both alsa and pulseaudio are specified (as in the default distro features)
|
||||||
# pulseaudio takes precedence.
|
# pulseaudio takes precedence.
|
||||||
PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
|
PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
|
||||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_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[jack] = ",,jack"
|
|
||||||
PACKAGECONFIG[portaudio] = ",,portaudio-v19"
|
|
||||||
PACKAGECONFIG[esd] = ",,esound"
|
|
||||||
|
|
||||||
# Following are possible sound output modules
|
PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib"
|
||||||
#alsa tinyalsa oss coreaudio sndio sun win32 win32_wasapi os2 esd jack portaudio pulse sdl nas arts openal dummy
|
PACKAGECONFIG[esd] = ",,esound"
|
||||||
|
PACKAGECONFIG[jack] = ",,jack"
|
||||||
|
PACKAGECONFIG[openal] = ",,openal-soft"
|
||||||
|
PACKAGECONFIG[portaudio] = ",,portaudio-v19"
|
||||||
|
PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio"
|
||||||
|
PACKAGECONFIG[sdl] = ",,libsdl"
|
||||||
|
|
||||||
|
# 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', 'alsa', 'alsa', '', 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', 'pulseaudio', 'pulse', '', d)}"
|
AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}"
|
||||||
AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
|
AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
|
||||||
AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}"
|
|
||||||
AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', 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
|
|
||||||
|
|
||||||
EXTRA_OECONF = " \
|
EXTRA_OECONF = " \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
|
|||||||
Reference in New Issue
Block a user