diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-08 22:51:41 +0200 |
commit | 1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e (patch) | |
tree | a21a5fc103bb3bd65ecd85ed22be5228fc54e447 /meta-oe/recipes-multimedia/libsdl-mixer | |
download | meta-openembedded-1219bf8a90a7bf8cd3a5363551ef635d51e8fc8e.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libsdl-mixer')
-rw-r--r-- | meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch | 21 | ||||
-rw-r--r-- | meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb | 40 |
2 files changed, 61 insertions, 0 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 new file mode 100644 index 000000000..4c9e8d094 --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer/configure.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | diff -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 new file mode 100644 index 000000000..f1a01b9d5 --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl flac libmikmod libvorbis" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a37a47a0e579e461474cd03b9e05199d" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${PV}.tar.gz \ | ||
8 | file://configure.patch \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[md5sum] = "e03ff73d77a55e3572ad0217131dc4a1" | ||
12 | SRC_URI[sha256sum] = "1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" | ||
13 | |||
14 | S = "${WORKDIR}/SDL_mixer-${PV}" | ||
15 | |||
16 | inherit autotools-brokensep | ||
17 | |||
18 | EXTRA_AUTORECONF += "--include=acinclude" | ||
19 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}" | ||
20 | |||
21 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
22 | |||
23 | do_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 | } | ||
40 | |||