Magellan Linux

Contents of /trunk/extras/sdl-mixer/sdl-mixer-1.2.11-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5014 - (show annotations) (download)
Sun Feb 28 19:30:57 2010 UTC (14 years, 2 months ago) by niro
File size: 953 byte(s)
auto added: ver bump to 1.2.11-r1
1 # $Id$
2
3 PNAME="sdl-mixer"
4 PVER="1.2.11"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="SDL mixer library."
11 HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/"
12
13 DEPEND=">= media-libs/libsdl-1.2.14
14 >= media-libs/libogg-1.1.4
15 >= media-libs/libvorbis-1.2.3
16 >= media-libs/flac-1.2.1
17 >= media-libs/libmad-0.15.1"
18
19 SDEPEND=">= sys-apps/sed-4"
20
21 SRCFILE="SDL_mixer-${PVER}.tar.gz"
22 SRCDIR="${BUILDDIR}/SDL_mixer-${PVER}"
23
24 sminclude mbuild
25
26 SRC_URI=(
27 http://www.libsdl.org/projects/SDL_mixer/release/${SRCFILE}
28 mirror://${PNAME}/${SRCFILE}
29 )
30
31 UP2DATE="updatecmd ${HOMEPAGE}'/?C=M;O=A' | grep SDL_mixer-[0-9] | lasttarball gz"
32
33 src_compile()
34 {
35 cd ${SRCDIR}
36
37 # using mad for mp3 playback
38 mconfigure \
39 --enable-music-wave \
40 --enable-music-midi \
41 --enable-music-ogg \
42 --enable-music-flac \
43 --enable-music-mp3-mad-gpl \
44 --disable-music-mp3 \
45 --disable-music-timidity-midi \
46 --disable-music-mod \
47 || die
48
49 mmake || die
50 }

Properties

Name Value
svn:keywords Id