summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-03-04 20:33:47 +0000
committerBen de Groot <yngwin@gentoo.org>2009-03-04 20:33:47 +0000
commit1bedb6dbfc016fc969c899652cd276147250aa0a (patch)
tree7860cdf3d66cfc69200bd9fc1bc992a23358c0e9 /media-libs/freeverb3
parentBump KDE 4.2.1 (diff)
downloadgentoo-2-1bedb6dbfc016fc969c899652cd276147250aa0a.tar.gz
gentoo-2-1bedb6dbfc016fc969c899652cd276147250aa0a.tar.bz2
gentoo-2-1bedb6dbfc016fc969c899652cd276147250aa0a.zip
Initial commit. Ebuild by proxied maintainer Sebastian Pipping, based on
the one in gentoojp overlay. See bug 158991. (Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r--media-libs/freeverb3/ChangeLog12
-rw-r--r--media-libs/freeverb3/files/freeverb3-2.3.0-fix-implicit.patch90
-rw-r--r--media-libs/freeverb3/freeverb3-2.3.0.ebuild44
-rw-r--r--media-libs/freeverb3/metadata.xml21
4 files changed, 167 insertions, 0 deletions
diff --git a/media-libs/freeverb3/ChangeLog b/media-libs/freeverb3/ChangeLog
new file mode 100644
index 000000000000..dce071db4b8e
--- /dev/null
+++ b/media-libs/freeverb3/ChangeLog
@@ -0,0 +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.1 2009/03/04 20:33:43 yngwin Exp $
+
+*freeverb3-2.3.0 (04 Mar 2009)
+
+ 04 Mar 2009; Ben de Groot <yngwin@gentoo.org>
+ +files/freeverb3-2.3.0-fix-implicit.patch, +metadata.xml,
+ +freeverb3-2.3.0.ebuild:
+ Initial commit. Ebuild by proxied maintainer Sebastian Pipping, based on
+ the one in gentoojp overlay. See bug 158991.
+
diff --git a/media-libs/freeverb3/files/freeverb3-2.3.0-fix-implicit.patch b/media-libs/freeverb3/files/freeverb3-2.3.0-fix-implicit.patch
new file mode 100644
index 000000000000..1db4dc8a1733
--- /dev/null
+++ b/media-libs/freeverb3/files/freeverb3-2.3.0-fix-implicit.patch
@@ -0,0 +1,90 @@
+diff -cr freeverb3-2.3.0/libsamplerate2/samplerate.c freeverb3/libsamplerate2/samplerate.c
+*** freeverb3-2.3.0/libsamplerate2/samplerate.c 2008-09-18 22:52:39.000000000 +0900
+--- freeverb3/libsamplerate2/samplerate.c 2009-03-03 20:23:52.000000000 +0900
+***************
+*** 20,30 ****
+ #include <stdlib.h>
+ #include <string.h>
+
+! #include "config.h"
+!
+ #include "samplerate2.h"
+ #include "common.h"
+- #include "float_cast.h"
+
+ static long SR2_(psrc_set_converter) (SR2_(SRC_PRIVATE) *psrc, long converter_type);
+
+--- 20,28 ----
+ #include <stdlib.h>
+ #include <string.h>
+
+! #include "float_cast.h"
+ #include "samplerate2.h"
+ #include "common.h"
+
+ static long SR2_(psrc_set_converter) (SR2_(SRC_PRIVATE) *psrc, long converter_type);
+
+diff -cr freeverb3-2.3.0/libsamplerate2/samplerate_common.c freeverb3/libsamplerate2/samplerate_common.c
+*** freeverb3-2.3.0/libsamplerate2/samplerate_common.c 2008-09-18 22:50:26.000000000 +0900
+--- freeverb3/libsamplerate2/samplerate_common.c 2009-03-03 20:23:39.000000000 +0900
+***************
+*** 19,28 ****
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+! #include "config.h"
+ #include "common_c.h"
+ #include "samplerate2_common.h"
+- #include "float_cast.h"
+
+ const char * src_get_name (long converter_type)
+ {
+--- 19,27 ----
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+! #include "float_cast.h"
+ #include "common_c.h"
+ #include "samplerate2_common.h"
+
+ const char * src_get_name (long converter_type)
+ {
+diff -cr freeverb3-2.3.0/libsamplerate2/src_linear.c freeverb3/libsamplerate2/src_linear.c
+*** freeverb3-2.3.0/libsamplerate2/src_linear.c 2008-09-18 21:11:55.000000000 +0900
+--- freeverb3/libsamplerate2/src_linear.c 2009-03-03 20:24:07.000000000 +0900
+***************
+*** 20,26 ****
+ #include <stdlib.h>
+ #include <string.h>
+
+- #include "config.h"
+ #include "float_cast.h"
+ #include "samplerate2.h"
+ #include "common.h"
+--- 20,25 ----
+diff -cr freeverb3-2.3.0/libsamplerate2/src_sinc.c freeverb3/libsamplerate2/src_sinc.c
+*** freeverb3-2.3.0/libsamplerate2/src_sinc.c 2008-09-18 23:31:00.000000000 +0900
+--- freeverb3/libsamplerate2/src_sinc.c 2009-03-03 20:24:11.000000000 +0900
+***************
+*** 20,26 ****
+ #include <stdlib.h>
+ #include <string.h>
+
+- #include "config.h"
+ #include "float_cast.h"
+ #include "samplerate2.h"
+ #include "common.h"
+--- 20,25 ----
+diff -cr freeverb3-2.3.0/libsamplerate2/src_zoh.c freeverb3/libsamplerate2/src_zoh.c
+*** freeverb3-2.3.0/libsamplerate2/src_zoh.c 2008-09-18 23:21:46.000000000 +0900
+--- freeverb3/libsamplerate2/src_zoh.c 2009-03-03 20:24:15.000000000 +0900
+***************
+*** 20,26 ****
+ #include <stdlib.h>
+ #include <string.h>
+
+- #include "config.h"
+ #include "float_cast.h"
+ #include "samplerate2.h"
+ #include "common.h"
+--- 20,25 ----
diff --git a/media-libs/freeverb3/freeverb3-2.3.0.ebuild b/media-libs/freeverb3/freeverb3-2.3.0.ebuild
new file mode 100644
index 000000000000..fd670b3715e1
--- /dev/null
+++ b/media-libs/freeverb3/freeverb3-2.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeverb3/freeverb3-2.3.0.ebuild,v 1.1 2009/03/04 20:33:43 yngwin Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="High Quality Reverb and Impulse Response Convolution library including XMMS/Audacious Effect plugins"
+HOMEPAGE="http://freeverb3.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.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}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-fix-implicit.patch
+}
+
+src_configure() {
+ econf \
+ --enable-release \
+ --disable-bmp \
+ $(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"
+}
diff --git a/media-libs/freeverb3/metadata.xml b/media-libs/freeverb3/metadata.xml
new file mode 100644
index 000000000000..acee2e162e78
--- /dev/null
+++ b/media-libs/freeverb3/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <maintainer>
+ <email>yngwin@gentoo.org</email>
+ <name>Ben de Groot</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
+ <maintainer>
+ <email>webmaster@hartwork.org</email>
+ <name>Sebastian Pipping</name>
+ <description>The proxied maintainer</description>
+ </maintainer>
+ <use>
+ <flag name='audacious'>Build Audacious plugin</flag>
+ <flag name='forcefpu'>Disable assembly code</flag>
+ <flag name='plugdouble'>Build plugins in double precision mode
+ (default is float)</flag>
+ </use>
+</pkgmetadata>