Magellan Linux

Contents of /branches/R11-unstable/extras/libao/libao-1.2.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25476 - (show annotations) (download)
Tue Nov 25 03:48:53 2014 UTC (9 years, 5 months ago) by niro
File size: 1019 byte(s)
-release branches/R11-unstable
1 # $Id$
2
3 PNAME="libao"
4 PVER="1.2.0"
5 PBUILD="r1"
6
7 PCAT="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.27
14 >= media-libs/nas-1.9
15 >= media-sound/libpulse-4"
16
17 SRCFILE="${PNAME}-${PVER}.tar.gz"
18 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 http://downloads.xiph.org/releases/ao/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd http://downloads.xiph.org/releases/ao/ | lasttarball gz"
28
29 src_compile()
30 {
31 local myconf
32 cd ${SRCDIR}
33
34 # no arts support anymore -> using kde4-branch
35 myconf+=" --disable-arts"
36
37 # no esound support anymore -> gnome-2.28
38 myconf+=" --disable-esd"
39
40 # but enable pulseaudio support
41 myconf+=" --enable-pulse"
42
43 mconfigure \
44 --enable-alsa \
45 --enable-alsa-mmap \
46 --enable-nas \
47 --enable-shared \
48 --disable-static \
49 ${myconf} \
50 || die
51
52 mmake || die
53 }