Contents of /trunk/extras/openal/openal-1.13-r2.smage2
Parent Directory | Revision Log
Revision 11252 -
(show annotations)
(download)
Wed Feb 29 18:20:51 2012 UTC (12 years, 3 months ago) by niro
File size: 990 byte(s)
Wed Feb 29 18:20:51 2012 UTC (12 years, 3 months ago) by niro
File size: 990 byte(s)
-no check target in Makefile
1 | # $Id$ |
2 | |
3 | PNAME="openal" |
4 | PVER="1.13" |
5 | PBUILD="r2" |
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-1.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_with ALSA) \ |
33 | $(cmake_with OSS) \ |
34 | $(cmake_with PULSEAUDIO) \ |
35 | $(cmake_without PORTAUDIO) \ |
36 | || die |
37 | |
38 | mmake || die |
39 | } |
40 | |
41 | postinstall() |
42 | { |
43 | echo |
44 | echo "If you have performance problems using this library, then" |
45 | echo "try add these lines to your ~/.alsoftrc config file:" |
46 | echo " [alsa]" |
47 | echo " mmap = off" |
48 | echo |
49 | } |