Contents of /branches/branch-xorg18/extras/openal/openal-1.9.563-r3.smage2
Parent Directory | Revision Log
Revision 5192 -
(show annotations)
(download)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1153 byte(s)
Tue Apr 6 21:54:10 2010 UTC (14 years, 5 months ago) by niro
File size: 1153 byte(s)
created branch 'branch-xorg18'
1 | # $Id$ |
2 | |
3 | PNAME="openal" |
4 | PVER="1.9.563" |
5 | PBUILD="r3" |
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 multilib |
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 | |
33 | # fixes issues with the oss backend |
34 | mpatch ${PNAME}-${PVER}-oss.patch || die |
35 | } |
36 | |
37 | src_compile() |
38 | { |
39 | cmake_configure \ |
40 | $(cmake_with ALSA) \ |
41 | $(cmake_with OSS) \ |
42 | $(cmake_without PORTAUDIO) \ |
43 | $(cmake_without PULSEAUDIO) \ |
44 | || die |
45 | |
46 | mmake || die |
47 | } |
48 | |
49 | postinstall() |
50 | { |
51 | echo |
52 | echo "If you have performance problems using this library, then" |
53 | echo "try add these lines to your ~/.alsoftrc config file:" |
54 | echo " [alsa]" |
55 | echo " mmap = off" |
56 | echo |
57 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |