summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-12-03 19:21:56 -0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-12-18 12:36:55 +0100
commita01b2617cfea9b239ac828f678297b9f0506d1c2 (patch)
tree3d67d320a26b04e2a84c7d3da036e729fd17c096 /meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
parenta3f55dbae87c2d84b3e7f7a7784634de4e6340e7 (diff)
downloadmeta-openembedded-a01b2617cfea9b239ac828f678297b9f0506d1c2.tar.gz
mpg123: update 1.21.0 -> 1.22.4
http://mpg123.de/cgi-bin/scm/mpg123/tags/1.22.4/NEWS 1.22.4 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb')
-rw-r--r--meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb61
1 files changed, 61 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
new file mode 100644
index 0000000000..22ea572b2e
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/mpg123/mpg123_1.22.4.bb
@@ -0,0 +1,61 @@
1SUMMARY = "Audio decoder for MPEG-1 Layer 1/2/3"
2DESCRIPTION = "The core of mpg123 is an MPEG-1 Layer 1/2/3 decoding library, which can be used by other programs. \
3mpg123 also comes with a command-line tool which can playback using ALSA, PulseAudio, OSS, and several other APIs, \
4and also can write the decoded audio to WAV."
5HOMEPAGE = "http://mpg123.de/"
6BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/"
7SECTION = "multimedia"
8
9LICENSE = "LGPLv2.1"
10LICENSE_FLAGS = "commercial"
11LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
12
13DEPENDS = "audiofile"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/mpg123/mpg123/${PV}/${BP}.tar.bz2"
16
17SRC_URI[md5sum] = "2dfafae3bbc532b4c8b04a77c6a6de89"
18SRC_URI[sha256sum] = "5069e02e50138600f10cc5f7674e44e9bf6f1930af81d0e1d2f869b3c0ee40d2"
19
20inherit autotools pkgconfig
21
22# The options should be mutually exclusive for configuration script.
23# If both alsa and pulseaudio are specified (as in the default distro features)
24# pulseaudio takes precedence.
25PACKAGECONFIG_ALSA = "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}"
26PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}"
27
28PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib"
29PACKAGECONFIG[esd] = ",,esound"
30PACKAGECONFIG[jack] = ",,jack"
31PACKAGECONFIG[openal] = ",,openal-soft"
32PACKAGECONFIG[portaudio] = ",,portaudio-v19"
33PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio"
34PACKAGECONFIG[sdl] = ",,libsdl"
35
36# Following are possible sound output modules:
37# alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi
38AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'alsa', 'alsa', '', d)}"
39AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'esd', 'esd', '', d)}"
40AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'jack', 'jack', '', d)}"
41AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'openal', 'openal', '', d)}"
42AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'portaudio', 'portaudio', '', d)}"
43AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}"
44AUDIOMODS += "${@base_contains('PACKAGECONFIG', 'sdl', 'sdl', '', d)}"
45
46EXTRA_OECONF = " \
47 --enable-shared \
48 --with-audio='${AUDIOMODS}' \
49 --with-module-suffix=.so \
50 ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \
51 ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \
52"
53
54# Fails to build with thumb-1 (qemuarm)
55#| {standard input}: Assembler messages:
56#| {standard input}:47: Error: selected processor does not support Thumb mode `smull r5,r6,r7,r4'
57#| {standard input}:48: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r5,r5,lsr#24'
58#...
59#| make[3]: *** [equalizer.lo] Error 1
60ARM_INSTRUCTION_SET_armv4 = "arm"
61ARM_INSTRUCTION_SET_armv5 = "arm"