aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-03-04 12:41:29 -0800
committerArmin Kuster <akuster808@gmail.com>2018-03-16 19:27:54 -0700
commite109bf6c9ce50f5b6e033da7031b39fc9cb2b351 (patch)
treeadd4ea637b30606b9364055bb71e1e6c726c9421 /meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb
parent2bffd354ef005800955d05d2ce5b477f11103ff8 (diff)
downloadmeta-openembedded-e109bf6c9ce50f5b6e033da7031b39fc9cb2b351.tar.gz
libsdl2-mixer: Upgrade to 2.0.2
Copyright year changed https://github.com/emscripten-ports/SDL2_mixer/commit/d7c0736d233f573e519297d7bd69cd1b1bb8e684 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb')
-rw-r--r--meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb
new file mode 100644
index 0000000000..718f3f5fde
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Simple DirectMedia Layer mixer library V2"
+SECTION = "libs"
+DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis"
+LICENSE = "Zlib"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=95e0c3cf63f71b950911e698a54b7fc5"
+
+SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "aaa0551393993c14a13f72b339c0ed6c"
+SRC_URI[sha256sum] = "4e615e27efca4f439df9af6aa2c6de84150d17cbfd12174b54868c12f19c83bb"
+
+S = "${WORKDIR}/SDL2_mixer-${PV}"
+
+inherit autotools-brokensep pkgconfig
+
+EXTRA_AUTORECONF += "--include=acinclude"
+EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}"
+
+PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
+
+do_configure_prepend () {
+ # Remove old libtool macros.
+ MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
+ for i in ${MACROS}; do
+ rm -f acinclude/$i
+ done
+}