summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-multimedia/mpg123
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-multimedia/mpg123')
-rw-r--r--external/poky/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch14
-rw-r--r--external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.13.bb (renamed from external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb)9
2 files changed, 19 insertions, 4 deletions
diff --git a/external/poky/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch b/external/poky/meta/recipes-multimedia/mpg123/mpg123/sdl2.patch
new file mode 100644
index 00000000..9dc9b923
--- /dev/null
+++ b/external/poky/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 <ross.burton@intel.com>
+
+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)
diff --git a/external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb b/external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.13.bb
index ff2b7d89..125574fc 100644
--- a/external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.10.bb
+++ b/external/poky/meta/recipes-multimedia/mpg123/mpg123_1.25.13.bb
@@ -9,9 +9,10 @@ SECTION = "multimedia"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=1e86753638d3cf2512528b99079bc4f3"
-SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2"
-SRC_URI[md5sum] = "ea32caa61d41d8be797f0b04a1b43ad9"
-SRC_URI[sha256sum] = "6c1337aee2e4bf993299851c70b7db11faec785303cfca3a5c3eb5f329ba7023"
+SRC_URI = "https://www.mpg123.de/download/${BP}.tar.bz2 \
+ file://sdl2.patch"
+SRC_URI[md5sum] = "294a6c30546504ec3d0deac2b2ea22be"
+SRC_URI[sha256sum] = "90306848359c793fd43b9906e52201df18775742dc3c81c06ab67a806509890a"
inherit autotools pkgconfig
@@ -27,7 +28,7 @@ PACKAGECONFIG[jack] = ",,jack"
PACKAGECONFIG[openal] = ",,openal-soft"
PACKAGECONFIG[portaudio] = ",,portaudio-v19"
PACKAGECONFIG[pulseaudio] = "--with-default-audio=pulse,,pulseaudio"
-PACKAGECONFIG[sdl] = ",,libsdl"
+PACKAGECONFIG[sdl] = ",,libsdl2"
# Following are possible sound output modules:
# alsa arts coreaudio dummy esd jack nas openal os2 oss portaudio pulse sdl sndio sun tinyalsa win32 win32_wasapi