summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-03-20 12:33:25 +0000
committerSebastian Pipping <sping@gentoo.org>2010-03-20 12:33:25 +0000
commit963a8e5bb7e6bbd44fd3942c7a9009a8ba3de533 (patch)
treece31414586128d13828f7b82dc42936a0c15b0ca /media-libs/freeverb3
parentRemove old (diff)
downloadgentoo-2-963a8e5bb7e6bbd44fd3942c7a9009a8ba3de533.tar.gz
gentoo-2-963a8e5bb7e6bbd44fd3942c7a9009a8ba3de533.tar.bz2
gentoo-2-963a8e5bb7e6bbd44fd3942c7a9009a8ba3de533.zip
media-libs/freeverb3: Bump to 2.5.0
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r--media-libs/freeverb3/ChangeLog10
-rw-r--r--media-libs/freeverb3/files/freeverb3-2.5.0-pow-ambiguity.patch12
-rw-r--r--media-libs/freeverb3/freeverb3-2.5.0.ebuild49
3 files changed, 69 insertions, 2 deletions
diff --git a/media-libs/freeverb3/ChangeLog b/media-libs/freeverb3/ChangeLog
index 31d4c50e6941..1291d6903ea4 100644
--- a/media-libs/freeverb3/ChangeLog
+++ b/media-libs/freeverb3/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/freeverb3
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/ChangeLog,v 1.6 2009/11/25 09:47:44 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/ChangeLog,v 1.7 2010/03/20 12:33:24 sping Exp $
+
+*freeverb3-2.5.0 (20 Mar 2010)
+
+ 20 Mar 2010; Sebastian Pipping <sping@gentoo.org> +freeverb3-2.5.0.ebuild,
+ +files/freeverb3-2.5.0-pow-ambiguity.patch:
+ Bump to 2.5.0
25 Nov 2009; Markus Meier <maekke@gentoo.org> freeverb3-2.3.1.ebuild:
amd64 stable, bug #283896
diff --git a/media-libs/freeverb3/files/freeverb3-2.5.0-pow-ambiguity.patch b/media-libs/freeverb3/files/freeverb3-2.5.0-pow-ambiguity.patch
new file mode 100644
index 000000000000..2c79e793e27c
--- /dev/null
+++ b/media-libs/freeverb3/files/freeverb3-2.5.0-pow-ambiguity.patch
@@ -0,0 +1,12 @@
+--- xmms/impulser2.cpp
++++ xmms/impulser2.cpp
+@@ -1221,7 +1221,8 @@
+ presetLatencyValue2[latencyIndex]);
+ }
+ CFILELOADER fileLoader;
+- double l_stretch = std::pow(std::sqrt(2), (*slotVector)[i].stretch);
++ // NOTE: Casting to double to help compile select from pow(double,double) and pow(float,float)
++ double l_stretch = std::pow(static_cast<double>(std::sqrt(2)), static_cast<double>((*slotVector)[i].stretch));
+ int ret = fileLoader.load((*slotVector)[i].filename.c_str(), srate,
+ l_stretch, (*slotVector)[i].limit, SRC_SINC_BEST_QUALITY);
+
diff --git a/media-libs/freeverb3/freeverb3-2.5.0.ebuild b/media-libs/freeverb3/freeverb3-2.5.0.ebuild
new file mode 100644
index 000000000000..85a37158f0a5
--- /dev/null
+++ b/media-libs/freeverb3/freeverb3-2.5.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/freeverb3-2.5.0.ebuild,v 1.1 2010/03/20 12:33:24 sping Exp $
+
+EAPI=2
+inherit eutils versionator
+
+MY_PV=$(replace_version_separator 3 '')
+
+DESCRIPTION="High Quality Reverb and Impulse Response Convolution library including XMMS/Audacious Effect plugins"
+HOMEPAGE="http://freeverb3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="audacious jack plugdouble sse sse2 3dnow forcefpu"
+
+RDEPEND=">=sci-libs/fftw-3.0.1
+ audacious? ( media-sound/audacious
+ media-libs/libsndfile )
+ jack? ( media-sound/jack-audio-connection-kit
+ media-libs/libsndfile )"
+DEPEND=${RDEPEND}
+
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pow-ambiguity.patch
+}
+
+src_configure() {
+ econf \
+ --enable-release \
+ --disable-bmp \
+ --disable-pluginit \
+ $(use_enable audacious) \
+ $(use_enable jack) \
+ $(use_enable plugdouble) \
+ $(use_enable sse) \
+ $(use_enable sse2) \
+ $(use_enable 3dnow) \
+ $(use_enable forcefpu) \
+ || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}