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-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 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/" | |||
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 | LICENSE = "LGPLv2.1" | ||
10 | LICENSE_FLAGS = "commercial" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3" | ||
12 | |||
9 | DEPENDS = "tslib audiofile" | 13 | DEPENDS = "tslib audiofile" |
10 | 14 | ||
15 | SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2" | ||
16 | |||
17 | SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9" | ||
18 | SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba" | ||
19 | |||
20 | inherit 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. |
14 | PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | 25 | PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" |
15 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" | 26 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" |
16 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" | 27 | |
17 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" | 28 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" |
18 | PACKAGECONFIG[sdl] = ",,libsdl" | 29 | PACKAGECONFIG[esd] = ",,esound" |
19 | PACKAGECONFIG[openal] = ",,openal-soft" | ||
20 | PACKAGECONFIG[jack] = ",,jack" | 30 | PACKAGECONFIG[jack] = ",,jack" |
31 | PACKAGECONFIG[openal] = ",,openal-soft" | ||
21 | PACKAGECONFIG[portaudio] = ",,portaudio-v19" | 32 | PACKAGECONFIG[portaudio] = ",,portaudio-v19" |
22 | PACKAGECONFIG[esd] = ",,esound" | 33 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" |
34 | PACKAGECONFIG[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 |
26 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" | 38 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}" |
27 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" | 39 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', 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)}" | 40 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}" |
41 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}" | ||
31 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" | 42 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}" |
32 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}" | 43 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" |
33 | 44 | AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}" | |
34 | LICENSE = "LGPLv2.1" | ||
35 | LICENSE_FLAGS = "commercial" | ||
36 | LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3" | ||
37 | |||
38 | SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2" | ||
39 | SRC_URI[md5sum] = "13a9df5d4e7aa110e4ae27cf30128ce9" | ||
40 | SRC_URI[sha256sum] = "3ad197f77c9ffdf3601e1c3183ae0709ccb3c3de68309527ce9375fcfb15dcba" | ||
41 | |||
42 | inherit autotools pkgconfig | ||
43 | 45 | ||
44 | EXTRA_OECONF = " \ | 46 | EXTRA_OECONF = " \ |
45 | --enable-shared \ | 47 | --enable-shared \ |