Annotation of /trunk/todo/sdl-mixer/sdl-mixer-1.2.8-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/sdl-mixer/sdl-mixer-1.2.8-r1.smage2
File size: 1156 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
Original Path: trunk/extras/sdl-mixer/sdl-mixer-1.2.8-r1.smage2
File size: 1156 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/sdl-mixer/sdl-mixer-1.2.8-r1.smage2,v 1.1 2008/03/23 23:53:26 niro Exp $ |
2 | |||
3 | PNAME="sdl-mixer" | ||
4 | PVER="1.2.8" | ||
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/index.html" | ||
12 | |||
13 | DEPEND=">= media-libs/libsdl-1.2.13 | ||
14 | >= media-libs/smpeg-0.4.4 | ||
15 | >= media-libs/libvorbis-1.0" | ||
16 | |||
17 | SDEPEND=">= sys-apps/sed-4" | ||
18 | |||
19 | SRCFILE="SDL_mixer-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/SDL_mixer-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | http://www.libsdl.org/projects/SDL_mixer/release/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | mirror://${PNAME}/${PNAME}-1.2.7-autoconf110.patch | ||
28 | ) | ||
29 | |||
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | # fixes compilation with autotools-1.10 | ||
36 | mpatch ${PNAME}-1.2.7-autoconf110.patch || die | ||
37 | |||
38 | # fix annoying messages | ||
39 | touch ${SRCDIR}/{INSTALL,NEWS,AUTHORS,ChangeLog} || die | ||
40 | |||
41 | # rebuild makefiles | ||
42 | autoreconf -i || die | ||
43 | |||
44 | # fix some pathes | ||
45 | sed -i 's:/usr/local/lib/timidity:/usr/share/timidity:' timidity/config.h || die | ||
46 | } | ||
47 | |||
48 | src_compile() | ||
49 | { | ||
50 | cd ${SRCDIR} | ||
51 | |||
52 | mconfigure --enable-mod --enable-music-mp3 --enable-music-ogg || die | ||
53 | mmake || die | ||
54 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |