summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2008-11-05 23:37:58 +0000
committerBen de Groot <yngwin@gentoo.org>2008-11-05 23:37:58 +0000
commitd19b1b9436364085c5486fbcb8c6fde3cd1826b7 (patch)
treef4fcdf0928e6a9e2a1a1a4531d2d83d56a1ba5f9 /media-libs/openal
parentAdded GCC_SPECS to init.d, bug #164818. Fixed uninitialized issue, bug #24484... (diff)
downloadgentoo-2-d19b1b9436364085c5486fbcb8c6fde3cd1826b7.tar.gz
gentoo-2-d19b1b9436364085c5486fbcb8c6fde3cd1826b7.tar.bz2
gentoo-2-d19b1b9436364085c5486fbcb8c6fde3cd1826b7.zip
Adding new implementation of openal, see bug 208407 for discussion. Dropping keywords, as this version is quite different.
(Portage version: 2.2_rc13/cvs/Linux 2.6.26-hh3 i686)
Diffstat (limited to 'media-libs/openal')
-rw-r--r--media-libs/openal/ChangeLog8
-rw-r--r--media-libs/openal/openal-1.5.304.ebuild39
2 files changed, 46 insertions, 1 deletions
diff --git a/media-libs/openal/ChangeLog b/media-libs/openal/ChangeLog
index 5362894784ca..7950c94c92ff 100644
--- a/media-libs/openal/ChangeLog
+++ b/media-libs/openal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/openal
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/ChangeLog,v 1.87 2008/09/15 02:13:07 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/ChangeLog,v 1.88 2008/11/05 23:37:58 yngwin Exp $
+
+*openal-1.5.304 (05 Nov 2008)
+
+ 05 Nov 2008; Ben de Groot <yngwin@gentoo.org> +openal-1.5.304.ebuild:
+ Adding new implementation of openal, see bug 208407 for discussion.
+ Dropping keywords, as this version is quite different.
15 Sep 2008; <solar@gentoo.org> openal-0.0.8-r2.ebuild:
- keyword ~arm
diff --git a/media-libs/openal/openal-1.5.304.ebuild b/media-libs/openal/openal-1.5.304.ebuild
new file mode 100644
index 000000000000..9a8c52677c71
--- /dev/null
+++ b/media-libs/openal/openal-1.5.304.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-1.5.304.ebuild,v 1.1 2008/11/05 23:37:58 yngwin Exp $
+
+inherit eutils cmake-utils
+
+MY_P="${PN}-soft-${PV}"
+
+DESCRIPTION="A software implementation of the OpenAL 3D audio API"
+HOMEPAGE="http://kcat.strangesoft.net/openal.html"
+SRC_URI="http://kcat.strangesoft.net/openal-releases/${MY_P}.tar.bz2"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa oss debug"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+DOCS="alsoftrc.sample"
+
+src_compile() {
+ local mycmakeargs=""
+
+ use alsa || mycmakeargs="${mycmakeargs} -DALSA=OFF"
+ use oss || mycmakeargs="${mycmakeargs} -DOSS=OFF"
+ use debug && mycmakeargs="${mycmakeargs} -DCMAKE_BUILD_TYPE=Debug"
+
+ cmake-utils_src_compile
+}
+
+pkg_postinst() {
+ einfo "If you have performance problems using this library, then"
+ einfo "try add these lines to your ~/.alsoftrc config file:"
+ einfo "[alsa]"
+ einfo "mmap = off"
+}