summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r--media-libs/freeverb3/freeverb3-3.2.1-r3.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/freeverb3/freeverb3-3.2.1-r3.ebuild b/media-libs/freeverb3/freeverb3-3.2.1-r3.ebuild
new file mode 100644
index 000000000000..bcb433a11e05
--- /dev/null
+++ b/media-libs/freeverb3/freeverb3-3.2.1-r3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Reverb and Impulse Response Convolution plug-ins (Audacious/JACK)"
+HOMEPAGE="https://savannah.nongnu.org/projects/freeverb3"
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="forcefpu openmp plugdouble threads"
+
+RDEPEND="sci-libs/fftw:3.0="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local myeconfargs=(
+ --enable-release
+ --enable-undenormal
+ --disable-autocflags
+ --disable-pluginit
+ --disable-profile
+ --disable-sample
+ --disable-srcnewcoeffs
+ --disable-audacious
+ --disable-jack
+ $(use_enable openmp omp)
+ $(use_enable plugdouble)
+ $(use_enable threads pthread)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ einstalldocs
+
+ insinto /usr/share/${PN}/samples/IR
+ doins samples/IR/*.wav
+
+ find "${D}" -name '*.la' -delete || die # bug 847403
+}