mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
libsdl2-mixer: Fix build with autoconf 2.70+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
|||||||
|
From 9363c98528ef850235852e44f678df6b5c011ee1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sun, 7 Feb 2021 18:08:36 -0800
|
||||||
|
Subject: [PATCH] configure.in: Undefine AC_CONFIG_AUX_DIR
|
||||||
|
|
||||||
|
This helps reconfiguring with autotools 2.70+
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
configure.in | 5 -----
|
||||||
|
1 file changed, 5 deletions(-)
|
||||||
|
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -1,7 +1,6 @@
|
||||||
|
dnl Process this file with autoconf to produce a configure script.
|
||||||
|
AC_INIT(README.txt)
|
||||||
|
AC_CONFIG_AUX_DIR(build-scripts)
|
||||||
|
-
|
||||||
|
dnl Set various version strings - taken gratefully from the GTk sources
|
||||||
|
|
||||||
|
# Making releases:
|
||||||
|
@@ -40,10 +39,6 @@ AC_SUBST(LT_CURRENT)
|
||||||
|
AC_SUBST(LT_REVISION)
|
||||||
|
AC_SUBST(LT_AGE)
|
||||||
|
|
||||||
|
-dnl Detect the canonical build and host environments
|
||||||
|
-AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
|
||||||
|
-dnl AC_CANONICAL_HOST
|
||||||
|
-
|
||||||
|
dnl Check for tools
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
|
AC_PROG_CC
|
||||||
@@ -4,18 +4,18 @@ DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis"
|
|||||||
LICENSE = "Zlib"
|
LICENSE = "Zlib"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f"
|
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=516daf7a177ad4c8874bb9efa1a69c1f"
|
||||||
|
|
||||||
SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz"
|
SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz \
|
||||||
|
file://0001-configure.in-Undefine-AC_CONFIG_AUX_DIR.patch \
|
||||||
SRC_URI[md5sum] = "a36e8410cac46b00a4d01752b32c3eb1"
|
"
|
||||||
SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419"
|
SRC_URI[sha256sum] = "b4cf5a382c061cd75081cf246c2aa2f9df8db04bdda8dcdc6b6cca55bede2419"
|
||||||
|
|
||||||
S = "${WORKDIR}/SDL2_mixer-${PV}"
|
S = "${WORKDIR}/SDL2_mixer-${PV}"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig
|
inherit autotools-brokensep pkgconfig
|
||||||
|
|
||||||
EXTRA_AUTORECONF += "--include=acinclude"
|
|
||||||
EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}"
|
EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --disable-music-ogg-shared LIBS=-L${STAGING_LIBDIR}"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
|
PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
|
|||||||
Reference in New Issue
Block a user