Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7173 - (show annotations) (download)
Thu Sep 30 12:26:36 2010 UTC (13 years, 8 months ago) by niro
File size: 1040 byte(s)
-removed upstream applied patches
1 # $Id: openal-1.9.563-r3.smage2 4781 2009-12-27 23:17:47Z niro $
2
3 PNAME="openal"
4 PVER="1.12.854"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="openal is a cross-platform 3D audio API appropriate for use with many types of audio applications."
11 HOMEPAGE="http://kcat.strangesoft.net/openal.html"
12
13 DEPEND=">= media-libs/alsa-lib-1.0.23"
14 # todo: pulseaudio, 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_without PORTAUDIO) \
34 $(cmake_without PULSEAUDIO) \
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 }