diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-07-14 14:26:00 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-16 21:23:44 +0100 |
commit | 50bcea800d914b234e034dc51e1a8b510031c41d (patch) | |
tree | 4f60e88344b10dd13d7794dc28889ef21c036107 /meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb | |
parent | a51c307509646ef114fff1628dec306441143237 (diff) | |
download | poky-50bcea800d914b234e034dc51e1a8b510031c41d.tar.gz |
mpg123: upgrade 1.28.0 -> 1.28.2
(From OE-Core rev: d96c911ea05e1150f4335d471131337e8bbe1891)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb')
-rw-r--r-- | meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb b/meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb new file mode 100644 index 0000000000..ebe11d4138 --- /dev/null +++ b/meta/recipes-multimedia/mpg123/mpg123_1.28.2.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Audio decoder for MPEG-1 Layer 1/2/3" | ||
2 | DESCRIPTION = "The core of mpg123 is an MPEG-1 Layer 1/2/3 decoding library, which can be used by other programs. \ | ||
3 | mpg123 also comes with a command-line tool which can playback using ALSA, PulseAudio, OSS, and several other APIs, \ | ||
4 | and also can write the decoded audio to WAV." | ||
5 | HOMEPAGE = "http://mpg123.de/" | ||
6 | BUGTRACKER = "http://sourceforge.net/p/mpg123/bugs/" | ||
7 | SECTION = "multimedia" | ||
8 | |||
9 | LICENSE = "LGPLv2.1" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=e7b9c15fcfb986abb4cc5e8400a24169" | ||
11 | |||
12 | SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2" | ||
13 | SRC_URI[sha256sum] = "7eefd4b68fdac7e138d04c37efe12155a8ebf25a5bccf0fb7e775af22d21db00" | ||
14 | |||
15 | UPSTREAM_CHECK_REGEX = "mpg123-(?P<pver>\d+(\.\d+)+)\.tar" | ||
16 | |||
17 | inherit autotools pkgconfig | ||
18 | |||
19 | # The options should be mutually exclusive for configuration script. | ||
20 | # If both alsa and pulseaudio are specified (as in the default distro features) | ||
21 | # pulseaudio takes precedence. | ||
22 | PACKAGECONFIG_ALSA = "${@bb.utils.filter('DISTRO_FEATURES', 'alsa', d)}" | ||
23 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '${PACKAGECONFIG_ALSA}', d)}" | ||
24 | |||
25 | PACKAGECONFIG[alsa] = "--with-default-audio=alsa,,alsa-lib" | ||
26 | PACKAGECONFIG[esd] = ",,esound" | ||
27 | PACKAGECONFIG[jack] = ",,jack" | ||
28 | PACKAGECONFIG[openal] = ",,openal-soft" | ||
29 | PACKAGECONFIG[portaudio] = ",,portaudio-v19" | ||
30 | PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio" | ||
31 | PACKAGECONFIG[sdl] = ",,libsdl2" | ||
32 | |||
33 | # Following are possible sound output modules: | ||
34 | # alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi | ||
35 | AUDIOMODS += "${@bb.utils.filter('PACKAGECONFIG', 'alsa esd jack openal portaudio sdl', d)}" | ||
36 | AUDIOMODS += "${@bb.utils.contains('PACKAGECONFIG', 'pulseaudio', 'pulse', '', d)}" | ||
37 | |||
38 | EXTRA_OECONF = " \ | ||
39 | --enable-shared \ | ||
40 | --with-audio='${AUDIOMODS}' \ | ||
41 | ${@bb.utils.contains('TUNE_FEATURES', 'neon', '--with-cpu=neon', '', d)} \ | ||
42 | ${@bb.utils.contains('TUNE_FEATURES', 'altivec', '--with-cpu=altivec', '', d)} \ | ||
43 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-cpu=generic_nofpu', '', d)} \ | ||
44 | " | ||
45 | # Fails to build with thumb-1 (qemuarm) | ||
46 | #| {standard input}: Assembler messages: | ||
47 | #| {standard input}:47: Error: selected processor does not support Thumb mode `smull r5,r6,r7,r4' | ||
48 | #| {standard input}:48: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r5,r5,lsr#24' | ||
49 | #... | ||
50 | #| make[3]: *** [equalizer.lo] Error 1 | ||
51 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
52 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||