From 2fc30ac2a8f198edd6a6d447455ba38bba5d07ea Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 1 May 2019 14:18:35 +0100 Subject: mpg123: port to use libsdl2 libsdl 1.2 is dead upstream, so change mpg123 to use libsdl2. Luckily the APIs that mpg123 use haven't changed, so this is just a matter of changing the pkg-config name. (From OE-Core rev: 1aa947a60b0eb31c367b1e9818218ee74d388eea) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-multimedia/mpg123/mpg123/sdl2.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-multimedia/mpg123/mpg123/sdl2.patch (limited to 'meta/recipes-multimedia/mpg123/mpg123') diff --git a/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch b/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch new file mode 100644 index 0000000000..9dc9b923df --- /dev/null +++ b/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch @@ -0,0 +1,14 @@ +Use libsdl2 instead of libsdl 1.2, which is dead upstream. + +Luckily the API that mpg123 use didn't change so this is a trivial change. + +Upstream-Status: Submitted [https://sourceforge.net/p/mpg123/bugs/268/] +Signed-off-by: Ross Burton + +diff --git a/configure.ac b/configure.ac +index 6216d4f..b8d3344 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1694 +1694 @@ do +- PKG_CHECK_MODULES(SDL, sdl, output_modules="$output_modules sdl" HAVE_SDL="yes", HAVE_SDL="no" check_failed=yes) ++ PKG_CHECK_MODULES(SDL, sdl2, output_modules="$output_modules sdl" HAVE_SDL="yes", HAVE_SDL="no" check_failed=yes) -- cgit v1.2.3-54-g00ecf