summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/libsdl-mixer
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2018-08-16 20:27:47 +0200
committerKhem Raj <raj.khem@gmail.com>2018-08-19 16:09:28 -0700
commit23561de348d225aba3d01bb1b7355bbd43b309ba (patch)
tree321a118e9db9bc47bfb97d3aa8985b67b15ca12f /meta-oe/recipes-multimedia/libsdl-mixer
parent227b687ecd3e92f979d2297982ef72142a3c798b (diff)
downloadmeta-openembedded-23561de348d225aba3d01bb1b7355bbd43b309ba.tar.gz
move all libsdl recipes in one folder and follow oe-core's folder for libsdl
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libsdl-mixer')
-rw-r--r--meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch21
-rw-r--r--meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb39
-rw-r--r--meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb27
3 files changed, 0 insertions, 87 deletions
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch
deleted file mode 100644
index 4c9e8d094c..0000000000
--- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1diff -Nurd SDL_mixer-1.2.12/configure.in SDL_mixer-1.2.12/configure.in
2--- SDL_mixer-1.2.12/configure.in 2012-01-16 00:01:05.000000000 +0200
3+++ SDL_mixer-1.2.12/configure.in 2012-12-15 04:08:04.627871456 +0200
4@@ -1,6 +1,5 @@
5 dnl Process this file with autoconf to produce a configure script.
6 AC_INIT(README)
7-AC_CONFIG_AUX_DIR(build-scripts)
8
9 dnl Set various version strings - taken gratefully from the GTk sources
10
11@@ -40,10 +39,6 @@
12 AC_SUBST(LT_REVISION)
13 AC_SUBST(LT_AGE)
14
15-dnl Detect the canonical build and host environments
16-AC_CONFIG_AUX_DIRS($srcdir/build-scripts)
17-dnl AC_CANONICAL_HOST
18-
19 dnl Check for tools
20 AC_PROG_LIBTOOL
21 AC_PROG_CC
diff --git a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb
deleted file mode 100644
index c83fcc8daa..0000000000
--- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb
+++ /dev/null
@@ -1,39 +0,0 @@
1SUMMARY = "Simple DirectMedia Layer mixer library"
2SECTION = "libs"
3DEPENDS = "virtual/libsdl flac libmikmod libvorbis"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a37a47a0e579e461474cd03b9e05199d"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.gz \
8 file://configure.patch \
9"
10
11SRC_URI[md5sum] = "e03ff73d77a55e3572ad0217131dc4a1"
12SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
13
14S = "${WORKDIR}/SDL_mixer-${PV}"
15
16inherit autotools-brokensep pkgconfig
17
18EXTRA_AUTORECONF += "--include=acinclude"
19EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}"
20
21PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
22
23do_configure () {
24 # Remove old libtool macros.
25 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
26 for i in ${MACROS}; do
27 rm -f acinclude/$i
28 done
29 cp build-scripts/* . || true
30 rm -rf build-scripts/
31 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
32
33 autotools_do_configure
34
35 rm config.log
36 for i in $(find -name "Makefile") ; do
37 sed -i -e 's:-L/usr/lib:-L${STAGING_LIBDIR}:g' $i
38 done
39}
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
deleted file mode 100644
index 718f3f5fde..0000000000
--- a/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb
+++ /dev/null
@@ -1,27 +0,0 @@
1SUMMARY = "Simple DirectMedia Layer mixer library V2"
2SECTION = "libs"
3DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis"
4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=95e0c3cf63f71b950911e698a54b7fc5"
6
7SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz"
8
9SRC_URI[md5sum] = "aaa0551393993c14a13f72b339c0ed6c"
10SRC_URI[sha256sum] = "4e615e27efca4f439df9af6aa2c6de84150d17cbfd12174b54868c12f19c83bb"
11
12S = "${WORKDIR}/SDL2_mixer-${PV}"
13
14inherit autotools-brokensep pkgconfig
15
16EXTRA_AUTORECONF += "--include=acinclude"
17EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}"
18
19PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad"
20
21do_configure_prepend () {
22 # Remove old libtool macros.
23 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
24 for i in ${MACROS}; do
25 rm -f acinclude/$i
26 done
27}