Contents of /trunk/extras/openal/openal-1.9.563-r1.smage2
Parent Directory | Revision Log
Revision 4160 -
(show annotations)
(download)
Thu Nov 26 12:57:27 2009 UTC (14 years, 9 months ago) by niro
File size: 1173 byte(s)
Thu Nov 26 12:57:27 2009 UTC (14 years, 9 months ago) by niro
File size: 1173 byte(s)
-added up2date URI
1 | # $Id$ |
2 | |
3 | PNAME="openal" |
4 | PVER="1.9.563" |
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.21" |
14 | # todo: pulseaudio, portaudio! |
15 | |
16 | SRCFILE="${PNAME}-soft-${PVER}.tar.bz2" |
17 | SRCDIR="${BUILDDIR}/${PNAME}-soft-${PVER}" |
18 | |
19 | sminclude cmake |
20 | |
21 | SRC_URI=( |
22 | http://kcat.strangesoft.net/openal-releases/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${PNAME}-${PVER}-oss.patch |
25 | ) |
26 | |
27 | UP2DATE="updatecmd http://kcat.strangesoft.net/openal-releases/ | lasttarball" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # fixes issues with the oss backend |
35 | mpatch ${PNAME}-${PVER}-oss.patch || die |
36 | } |
37 | |
38 | src_compile() |
39 | { |
40 | cd ${SRCDIR} |
41 | |
42 | cmake_configure \ |
43 | $(cmake_with ALSA) \ |
44 | $(cmake_with OSS) \ |
45 | $(cmake_without PORTAUDIO) \ |
46 | $(cmake_without PULSEAUDIO) \ |
47 | || die |
48 | |
49 | mmake || die |
50 | } |
51 | |
52 | postinstall() |
53 | { |
54 | echo |
55 | echo "If you have performance problems using this library, then" |
56 | echo "try add these lines to your ~/.alsoftrc config file:" |
57 | echo " [alsa]" |
58 | echo " mmap = off" |
59 | echo |
60 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |