diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb')
-rw-r--r-- | meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb | 38 |
1 files changed, 38 insertions, 0 deletions
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..c8fa6ca46 --- /dev/null +++ b/meta-oe/recipes-multimedia/libsdl-mixer/libsdl-mixer_1.2.12.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer mixer library." | ||
2 | SECTION = "libs" | ||
3 | DEPENDS = "virtual/libsdl flac libmikmod libvorbis ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad', d)}" | ||
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 | ||
17 | |||
18 | EXTRA_AUTORECONF += "--include=acinclude" | ||
19 | EXTRA_OECONF = "--disable-music-mp3 --enable-music-ogg --enable-music-ogg-tremor ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '--enable-music-mp3-mad-gpl', d)} LIBS=-L${STAGING_LIBDIR}" | ||
20 | |||
21 | do_configure () { | ||
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 | cp build-scripts/* . || true | ||
28 | rm -rf build-scripts/ | ||
29 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
30 | |||
31 | autotools_do_configure | ||
32 | |||
33 | rm config.log | ||
34 | for i in $(find -name "Makefile") ; do | ||
35 | sed -i -e 's:-L/usr/lib:-L${STAGING_LIBDIR}:g' $i | ||
36 | done | ||
37 | } | ||
38 | |||