Annotation of /branches/R11-unstable/extras/openal/openal-1.16.0-r1.smage2
Parent Directory | Revision Log
Revision 22060 -
(hide annotations)
(download)
Fri Aug 22 07:10:49 2014 UTC (9 years, 9 months ago) by niro
Original Path: trunk/extras/openal/openal-1.16.0-r1.smage2
File size: 1089 byte(s)
Fri Aug 22 07:10:49 2014 UTC (9 years, 9 months ago) by niro
Original Path: trunk/extras/openal/openal-1.16.0-r1.smage2
File size: 1089 byte(s)
-fixed missing qt sdeps
1 | niro | 22059 | # $Id$ |
2 | |||
3 | PNAME="openal" | ||
4 | PVER="1.16.0" | ||
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 | niro | 22060 | DEPEND=">= media-libs/alsa-lib-1.0.28 |
13 | niro | 22059 | >= media-sound/libpulse-2.1" |
14 | # todo: portaudio! | ||
15 | |||
16 | niro | 22060 | SDEPEND=">= x11-libs/qt4-core-4.8 |
17 | >= x11-libs/qt4-gui-4.8" | ||
18 | |||
19 | niro | 22059 | SRCFILE="${PNAME}-soft-${PVER}.tar.bz2" |
20 | SRCDIR="${BUILDDIR}/${PNAME}-soft-${PVER}" | ||
21 | |||
22 | sminclude cmake multilib | ||
23 | msetfeature "!check" | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://kcat.strangesoft.net/openal-releases/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd http://kcat.strangesoft.net/openal-releases/ | lasttarball" | ||
31 | |||
32 | src_compile() | ||
33 | { | ||
34 | cmake_configure \ | ||
35 | $(cmake_opt ALSA on) \ | ||
36 | $(cmake_opt OSS on) \ | ||
37 | $(cmake_opt PULSEAUDIO on) \ | ||
38 | $(cmake_opt PORTAUDIO off) \ | ||
39 | $(cmake_opt EXAMPLES off) \ | ||
40 | || die | ||
41 | |||
42 | mmake || die | ||
43 | } | ||
44 | |||
45 | postinstall() | ||
46 | { | ||
47 | echo | ||
48 | echo "If you have performance problems using this library, then" | ||
49 | echo "try add these lines to your ~/.alsoftrc config file:" | ||
50 | echo " [alsa]" | ||
51 | echo " mmap = off" | ||
52 | echo | ||
53 | } |