diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-02-07 19:09:04 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-02-08 10:17:23 -0800 |
| commit | 759c64ee0e3604e2b6946197ff75fb6821ecccee (patch) | |
| tree | c7d8a11de678b7f593c7c04d4646b5756b16eb13 | |
| parent | 0b8a8f8ca35557a2618a6257a4cfc6ff98564f54 (diff) | |
| download | meta-openembedded-759c64ee0e3604e2b6946197ff75fb6821ecccee.tar.gz | |
libsdl2-mixer: Fix build with autoconf 2.70+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch | 34 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb | 8 |
2 files changed, 38 insertions, 4 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 new file mode 100644 index 0000000000..0605b32e30 --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer/0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 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 index 8f1960d8ad..6b6a531d38 100644 --- a/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb +++ b/meta-oe/recipes-graphics/libsdl/libsdl2-mixer_2.0.4.bb | |||
| @@ -4,18 +4,18 @@ DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis" | |||
| 4 | LICENSE = "Zlib" | 4 | LICENSE = "Zlib" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f" | 5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f" |
| 6 | 6 | ||
| 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" | 7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \ |
| 8 | 8 | file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \ | |
| 9 | SRC_URI[md5sum] = "a36e8410cac46b00a4d01752b32c3eb1" | 9 | " |
| 10 | SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419" | 10 | SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/SDL2_mixer-${PV}" | 12 | S = "${WORKDIR}/SDL2_mixer-${PV}" |
| 13 | 13 | ||
| 14 | inherit autotools-brokensep pkgconfig | 14 | inherit autotools-brokensep pkgconfig |
| 15 | 15 | ||
| 16 | EXTRA_AUTORECONF += "--include=acinclude" | ||
| 17 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}" | 16 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}" |
| 18 | 17 | ||
| 18 | PACKAGECONFIG ??= "" | ||
| 19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | 19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" |
| 20 | 20 | ||
| 21 | do_configure_prepend () { | 21 | do_configure_prepend () { |
