diff options
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r-- | media-libs/freeverb3/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/freeverb3/files/freeverb3-2.5.13-respect-disable-sse.patch | 24 | ||||
-rw-r--r-- | media-libs/freeverb3/freeverb3-2.5.13-r1.ebuild | 57 |
3 files changed, 89 insertions, 1 deletions
diff --git a/media-libs/freeverb3/ChangeLog b/media-libs/freeverb3/ChangeLog index 1f328558cf33..ebf15d0c93e2 100644 --- a/media-libs/freeverb3/ChangeLog +++ b/media-libs/freeverb3/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/freeverb3 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/ChangeLog,v 1.19 2010/11/28 17:03:05 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/ChangeLog,v 1.20 2010/12/10 10:02:30 sping Exp $ + +*freeverb3-2.5.13-r1 (10 Dec 2010) + + 10 Dec 2010; <sping@gentoo.org> +freeverb3-2.5.13-r1.ebuild, + +files/freeverb3-2.5.13-respect-disable-sse.patch: + Disable broken SSE1v2 and SSE2 assembly on 2.5.13, add patch to make + configure respect --disable-sse and --disable-sse2 on amd64 and x86 *freeverb3-2.5.13 (28 Nov 2010) diff --git a/media-libs/freeverb3/files/freeverb3-2.5.13-respect-disable-sse.patch b/media-libs/freeverb3/files/freeverb3-2.5.13-respect-disable-sse.patch new file mode 100644 index 000000000000..3e8b9f05db0e --- /dev/null +++ b/media-libs/freeverb3/files/freeverb3-2.5.13-respect-disable-sse.patch @@ -0,0 +1,24 @@ +--- configure.in_BACKUP 2010-12-10 09:49:30.204907020 +0100 ++++ configure.in 2010-12-10 09:50:59.063128511 +0100 +@@ -137,9 +137,18 @@ + [cv_avx="$enable_avx"], [cv_avx="no"]) + + case "${target_cpu}" in +- x86_64*) cv_sse=yes cv_sse2=yes;; +- amd64*) cv_sse=yes cv_sse2=yes;; +- *) ;; ++ amd64*|x86_64*) ++ if test "x$cv_sse" = "x"; then ++ AC_MSG_NOTICE([Auto-enabling SSE codes]) ++ cv_sse=yes ++ fi ++ if test "x$cv_sse2" = "x"; then ++ AC_MSG_NOTICE([Auto-enabling SSE2 codes]) ++ cv_sse2=yes ++ fi ++ ;; ++ *) ++ ;; + esac + + dnl option checks diff --git a/media-libs/freeverb3/freeverb3-2.5.13-r1.ebuild b/media-libs/freeverb3/freeverb3-2.5.13-r1.ebuild new file mode 100644 index 000000000000..bc3f5b9eb7cc --- /dev/null +++ b/media-libs/freeverb3/freeverb3-2.5.13-r1.ebuild @@ -0,0 +1,57 @@ +# 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.13-r1.ebuild,v 1.1 2010/12/10 10:02:30 sping Exp $ + +EAPI=2 +inherit eutils autotools 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 sse3 sse4 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}-respect-disable-sse.patch + eautoreconf +} + +src_configure() { + # NOTE: SSE1v2 and SSE2 assembly broken in 2.5.13 + econf \ + --enable-release \ + --disable-bmp \ + --disable-pluginit \ + $(use_enable audacious) \ + $(use_enable jack) \ + $(use_enable plugdouble) \ + $(use_enable 3dnow) \ + $(use sse && echo --enable-sse=v1 || echo --disable-sse) \ + --disable-sse2 \ + $(use_enable sse3) \ + $(use_enable sse4) \ + $(use_enable forcefpu) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog README || die 'dodoc failed' + + insinto /usr/share/${PN}/samples/IR + doins samples/IR/*.wav || die +} |