diff options
3 files changed, 36 insertions, 61 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch deleted file mode 100644 index 0605b32e30..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 9363c98528ef850235852e44f678df6b5c011ee1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 7 Feb 2021 18:08:36 -0800 | ||
| 4 | Subject: [PATCH] configure.in: Undefine AC_CONFIG_AUX_DIR | ||
| 5 | |||
| 6 | This helps reconfiguring with autotools 2.70+ | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | configure.in | 5 ----- | ||
| 12 | 1 file changed, 5 deletions(-) | ||
| 13 | |||
| 14 | --- a/configure.in | ||
| 15 | +++ b/configure.in | ||
| 16 | @@ -1,7 +1,6 @@ | ||
| 17 | dnl Process this file with autoconf to produce a configure script. | ||
| 18 | AC_INIT(README.txt) | ||
| 19 | AC_CONFIG_AUX_DIR(build-scripts) | ||
| 20 | - | ||
| 21 | dnl Set various version strings - taken gratefully from the GTk sources | ||
| 22 | |||
| 23 | # Making releases: | ||
| 24 | @@ -40,10 +39,6 @@ AC_SUBST(LT_CURRENT) | ||
| 25 | AC_SUBST(LT_REVISION) | ||
| 26 | AC_SUBST(LT_AGE) | ||
| 27 | |||
| 28 | -dnl Detect the canonical build and host environments | ||
| 29 | -AC_CONFIG_AUX_DIRS($srcdir/build-scripts) | ||
| 30 | -dnl AC_CANONICAL_HOST | ||
| 31 | - | ||
| 32 | dnl Check for tools | ||
| 33 | AC_PROG_LIBTOOL | ||
| 34 | AC_PROG_CC | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb deleted file mode 100644 index dbcb2a193b..0000000000 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
| 2 | SECTION = "libs" | ||
| 3 | DEPENDS = "libsdl2 flac libmikmod libvorbis" | ||
| 4 | LICENSE = "Zlib" | ||
| 5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f" | ||
| 6 | |||
| 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \ | ||
| 8 | file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \ | ||
| 9 | " | ||
| 10 | SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419" | ||
| 11 | |||
| 12 | S = "${WORKDIR}/SDL2_mixer-${PV}" | ||
| 13 | |||
| 14 | inherit autotools-brokensep pkgconfig | ||
| 15 | |||
| 16 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}" | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "" | ||
| 19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
| 20 | |||
| 21 | do_configure:prepend () { | ||
| 22 | # Remove old libtool macros. | ||
| 23 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
| 24 | for i in ${MACROS}; do | ||
| 25 | rm -f acinclude/$i | ||
| 26 | done | ||
| 27 | } | ||
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb new file mode 100644 index 0000000000..3eff30f825 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.8.1.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
| 2 | SECTION = "libs" | ||
| 3 | DEPENDS = "libsdl2" | ||
| 4 | LICENSE = "Zlib" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbb0010b2f7cf6e8a13bcac1ef4d2455" | ||
| 6 | |||
| 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" | ||
| 8 | SRC_URI[sha256sum] = "cb760211b056bfe44f4a1e180cc7cb201137e4d1572f2002cc1be728efd22660" | ||
| 9 | |||
| 10 | S = "${WORKDIR}/SDL2_mixer-${PV}" | ||
| 11 | |||
| 12 | inherit cmake pkgconfig | ||
| 13 | |||
| 14 | do_configure:prepend() { | ||
| 15 | # cmake checks for these binaries. Touch them to pass the tests and add RDEPENDS | ||
| 16 | touch ${STAGING_BINDIR}/fluidsynth | ||
| 17 | touch ${STAGING_BINDIR}/wavpack | ||
| 18 | touch ${STAGING_BINDIR}/wvunpack | ||
| 19 | touch ${STAGING_BINDIR}/wvgain | ||
| 20 | touch ${STAGING_BINDIR}/wvtag | ||
| 21 | } | ||
| 22 | |||
| 23 | EXTRA_OECMAKE += "${@bb.utils.contains_any('PACKAGECONFIG', 'xmp modplug', '-DSDL2MIXER_MOD=ON', '-DSDL2MIXER_MOD=OFF', d)}" | ||
| 24 | |||
| 25 | PACKAGECONFIG ?= "flac wave vorbis" | ||
| 26 | PACKAGECONFIG[opusfile] = "-DSDL2MIXER_OPUS=ON -DSDL2MIXER_OPUS_ENABLED=ON, -DSDL2MIXER_OPUS=OFF,opusfile" | ||
| 27 | PACKAGECONFIG[vorbis] = "-DSDL2MIXER_VORBIS=VORBISFILE -DSDL2MIXER_VORBIS_VORBISFILE=ON, -DSDL2MIXER_VORBIS=OFF,libvorbis" | ||
| 28 | PACKAGECONFIG[flac] = "-DSDL2MIXER_FLAC=ON, -DSDL2MIXER_FLAC=OFF,flac" | ||
| 29 | PACKAGECONFIG[xmp] = "-DSDL2MIXER_MOD_XMP=ON, -DSDL2MIXER_MOD_XMP=OFF,libxmp,libxmp" | ||
| 30 | PACKAGECONFIG[modplug] = "-DSDL2MIXER_MOD_MODPLUG=ON, -DSDL2MIXER_MOD_MODPLUG=OFF,libmodplug" | ||
| 31 | PACKAGECONFIG[fluidsynth] = "-DSDL2MIXER_MIDI=ON -DSDL2MIXER_MIDI_FLUIDSYNTH_ENABLED=ON, -DSDL2MIXER_MIDI=OFF,fluidsynth,fluidsynth-bin" | ||
| 32 | PACKAGECONFIG[wave] = "-DSDL2MIXER_WAVE=ON -DSDL2MIXER_WAVPACK=ON, -DSDL2MIXER_WAVE=OFF,wavpack,wavpack wavpack-bin" | ||
| 33 | PACKAGECONFIG[mpg123] = "-DSDL2MIXER_MP3=ON -DSDL2MIXER_MP3_MPG123=ON, -DSDL2MIXER_MP3=OFF,mpg123" | ||
| 34 | |||
| 35 | FILES:${PN} += "${datadir}/licenses" | ||
| 36 | |||
