diff options
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.bb | 27 |
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 000000000..718f3f5fd --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl2-mixer_2.0.2.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer mixer library V2" | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl2 flac libmikmod libvorbis" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=95e0c3cf63f71b950911e698a54b7fc5" | ||
6 | |||
7 | SRC_URI = "http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${PV}.tar.gz" | ||
8 | |||
9 | SRC_URI[md5sum] = "aaa0551393993c14a13f72b339c0ed6c" | ||
10 | SRC_URI[sha256sum] = "4e615e27efca4f439df9af6aa2c6de84150d17cbfd12174b54868c12f19c83bb" | ||
11 | |||
12 | S = "${WORKDIR}/SDL2_mixer-${PV}" | ||
13 | |||
14 | inherit autotools-brokensep pkgconfig | ||
15 | |||
16 | EXTRA_AUTORECONF += "--include=acinclude" | ||
17 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor LIBS=-L${STAGING_LIBDIR}" | ||
18 | |||
19 | PACKAGECONFIG[mad] = "--enable-music-mp3-mad-gpl,--disable-music-mp3-mad-gpl,libmad" | ||
20 | |||
21 | do_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 | } | ||