Annotation of /branches/R11-stable/extras/openal/openal-1.15-r1.smage2
Parent Directory | Revision Log
Revision 14283 -
(hide annotations)
(download)
Sun Dec 9 13:50:08 2012 UTC (11 years, 9 months ago) by niro
Original Path: trunk/extras/openal/openal-1.15-r1.smage2
File size: 1026 byte(s)
Sun Dec 9 13:50:08 2012 UTC (11 years, 9 months ago) by niro
Original Path: trunk/extras/openal/openal-1.15-r1.smage2
File size: 1026 byte(s)
auto added: ver bump to 1.15-r1
1 | niro | 14283 | # $Id$ |
2 | |||
3 | PNAME="openal" | ||
4 | PVER="1.15" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="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/libpulse-2.1" | ||
14 | # todo: portaudio! | ||
15 | |||
16 | SRCFILE="${PNAME}-soft-${PVER}.tar.bz2" | ||
17 | SRCDIR="${BUILDDIR}/${PNAME}-soft-${PVER}" | ||
18 | |||
19 | sminclude cmake multilib | ||
20 | msetfeature "!check" | ||
21 | |||
22 | SRC_URI=( | ||
23 | http://kcat.strangesoft.net/openal-releases/${SRCFILE} | ||
24 | mirror://${PNAME}/${SRCFILE} | ||
25 | ) | ||
26 | |||
27 | UP2DATE="updatecmd http://kcat.strangesoft.net/openal-releases/ | lasttarball" | ||
28 | |||
29 | src_compile() | ||
30 | { | ||
31 | cmake_configure \ | ||
32 | $(cmake_opt ALSA on) \ | ||
33 | $(cmake_opt OSS on) \ | ||
34 | $(cmake_opt PULSEAUDIO on) \ | ||
35 | $(cmake_opt PORTAUDIO off) \ | ||
36 | $(cmake_opt EXAMPLES off) \ | ||
37 | || die | ||
38 | |||
39 | mmake || die | ||
40 | } | ||
41 | |||
42 | postinstall() | ||
43 | { | ||
44 | echo | ||
45 | echo "If you have performance problems using this library, then" | ||
46 | echo "try add these lines to your ~/.alsoftrc config file:" | ||
47 | echo " [alsa]" | ||
48 | echo " mmap = off" | ||
49 | echo | ||
50 | } |