Annotation of /branches/magellan-next/extras/libao/libao-1.1.0-r1.smage2
Parent Directory | Revision Log
Revision 8757 -
(hide annotations)
(download)
Thu Jul 28 13:46:37 2011 UTC (12 years, 10 months ago) by niro
File size: 1041 byte(s)
Thu Jul 28 13:46:37 2011 UTC (12 years, 10 months ago) by niro
File size: 1041 byte(s)
auto added: ver bump to 1.1.0-r1
1 | niro | 8757 | # $Id$ |
2 | |||
3 | PNAME="libao" | ||
4 | PVER="1.1.0" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | |||
9 | DESCRIPTION="libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms." | ||
10 | HOMEPAGE="http://www.xiph.org/ao/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc | ||
13 | >= media-libs/alsa-lib-1.0.24 | ||
14 | >= media-libs/nas-1.9 | ||
15 | >= media-sound/pulseaudio-0.9" | ||
16 | |||
17 | SDEPEND="" | ||
18 | |||
19 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
20 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
21 | |||
22 | sminclude mbuild | ||
23 | |||
24 | SRC_URI=( | ||
25 | http://downloads.xiph.org/releases/ao/${SRCFILE} | ||
26 | mirror://${PNAME}/${SRCFILE} | ||
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd http://downloads.xiph.org/releases/ao/ | lasttarball gz" | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | local myconf | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | # no arts support anymore -> using kde4-branch | ||
37 | myconf+=" --disable-arts" | ||
38 | |||
39 | # no esound support anymore -> gnome-2.28 | ||
40 | myconf+=" --disable-esd" | ||
41 | |||
42 | # but enable pulseaudio support | ||
43 | myconf+=" --enable-pulse" | ||
44 | |||
45 | mconfigure \ | ||
46 | --enable-alsa \ | ||
47 | --enable-alsa-mmap \ | ||
48 | --enable-nas \ | ||
49 | --enable-shared \ | ||
50 | --disable-static \ | ||
51 | ${myconf} \ | ||
52 | || die | ||
53 | |||
54 | mmake || die | ||
55 | } |