summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2004-02-19 15:31:16 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2004-02-19 15:31:16 +0000
commit28d2baf71ed62699e2961174dff7782e721bb1ab (patch)
treef7edcf566626b26262415f27623e6bfd878e2015 /media-libs/openal
parenthermes amd64 fix (Manifest recommit) (diff)
downloadgentoo-2-28d2baf71ed62699e2961174dff7782e721bb1ab.tar.gz
gentoo-2-28d2baf71ed62699e2961174dff7782e721bb1ab.tar.bz2
gentoo-2-28d2baf71ed62699e2961174dff7782e721bb1ab.zip
Adding sample openalrc.
Diffstat (limited to 'media-libs/openal')
-rw-r--r--media-libs/openal/ChangeLog6
-rw-r--r--media-libs/openal/files/openalrc9
-rw-r--r--media-libs/openal/openal-20040218.ebuild9
3 files changed, 22 insertions, 2 deletions
diff --git a/media-libs/openal/ChangeLog b/media-libs/openal/ChangeLog
index 7891bd9758e1..74e7316b444a 100644
--- a/media-libs/openal/ChangeLog
+++ b/media-libs/openal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/openal
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/ChangeLog,v 1.11 2004/02/18 23:23:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/ChangeLog,v 1.12 2004/02/19 15:31:16 wolf31o2 Exp $
+
+ 19 Feb 2004; Chris Gianelloni <wolf31o2@gentoo.org> openal-20040218.ebuild,
+ files/openalrc:
+ Adding sample openalrc.
*openal-20040218 (18 Feb 2004)
diff --git a/media-libs/openal/files/openalrc b/media-libs/openal/files/openalrc
new file mode 100644
index 000000000000..07c9f3d893b3
--- /dev/null
+++ b/media-libs/openal/files/openalrc
@@ -0,0 +1,9 @@
+# Contains user settings for OpenAL
+# Goes in ~/.openalrc
+
+# Use ALSA (also valid: sdl, native)
+(define devices '(alsa))
+
+# Four speaker surround with ALSA
+(define speaker-num 4)
+(define alsa-out-device "surround40:0,0")
diff --git a/media-libs/openal/openal-20040218.ebuild b/media-libs/openal/openal-20040218.ebuild
index 8a5d9a6aece0..c28111d3e0f6 100644
--- a/media-libs/openal/openal-20040218.ebuild
+++ b/media-libs/openal/openal-20040218.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-20040218.ebuild,v 1.1 2004/02/18 23:23:48 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-20040218.ebuild,v 1.2 2004/02/19 15:31:16 wolf31o2 Exp $
IUSE="alsa arts esd sdl debug oggvorbis mpeg"
DESCRIPTION="OpenAL, the Open Audio Library, is an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio"
@@ -44,6 +44,7 @@ src_install() {
make install DESTDIR=${D}/usr/|| die
dodoc CREDITS ChangeLog INSTALL NOTES PLATFORM TODO
+ dodoc ${FILESDIR}/openalrc
makeinfo doc/openal.texi
doinfo doc/openal.info
@@ -51,3 +52,9 @@ src_install() {
dodoc CHANGES COPYING CREDITS
dohtml docs/*.html
}
+
+post_install() {
+ einfo "There is a sample openalrc file in /usr/share/doc/${P} which sets up"
+ einfo "4 speaker surround sound with ALSA. Simply copy it to your ~/.openalrc"
+ einfo "to use it."
+}