Magellan Linux

Contents of /branches/magellan-next/extras/openal/openal-1.13-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8805 - (show annotations) (download)
Thu Jul 28 22:13:11 2011 UTC (12 years, 10 months ago) by niro
File size: 977 byte(s)
-fixed dependencies
1 # $Id$
2
3 PNAME="openal"
4 PVER="1.13"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="openal is a cross-platform 3D audio API appropriate for use with many types of audio applications."
10 HOMEPAGE="http://kcat.strangesoft.net/openal.html"
11
12 DEPEND=">= media-libs/alsa-lib-1.0.24
13 >= media-sound/pulseaudio-0.9"
14 # todo: portaudio!
15
16 SRCFILE="${PNAME}-soft-${PVER}.tar.bz2"
17 SRCDIR="${BUILDDIR}/${PNAME}-soft-${PVER}"
18
19 sminclude cmake multilib
20
21 SRC_URI=(
22 http://kcat.strangesoft.net/openal-releases/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd http://kcat.strangesoft.net/openal-releases/ | lasttarball"
27
28 src_compile()
29 {
30 cmake_configure \
31 $(cmake_with ALSA) \
32 $(cmake_with OSS) \
33 $(cmake_with PULSEAUDIO) \
34 $(cmake_without PORTAUDIO) \
35 || die
36
37 mmake || die
38 }
39
40 postinstall()
41 {
42 echo
43 echo "If you have performance problems using this library, then"
44 echo "try add these lines to your ~/.alsoftrc config file:"
45 echo " [alsa]"
46 echo " mmap = off"
47 echo
48 }