diff options
author | Sebastian Pipping <sping@gentoo.org> | 2018-03-28 00:06:56 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2018-03-28 00:14:05 +0200 |
commit | 196400726bbeab16278ce0a485ecc597060867ac (patch) | |
tree | 76b7766f5e1c1ca6b719a66fb83039f73affb2ec /media-libs/freeverb3 | |
parent | media-libs/gegl: 0.3.30 (diff) | |
download | gentoo-196400726bbeab16278ce0a485ecc597060867ac.tar.gz gentoo-196400726bbeab16278ce0a485ecc597060867ac.tar.bz2 gentoo-196400726bbeab16278ce0a485ecc597060867ac.zip |
media-libs/freeverb3: 3.1.2
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r-- | media-libs/freeverb3/Manifest | 1 | ||||
-rw-r--r-- | media-libs/freeverb3/freeverb3-3.1.2.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/media-libs/freeverb3/Manifest b/media-libs/freeverb3/Manifest index 6c441a85ec94..44f9e1ecb391 100644 --- a/media-libs/freeverb3/Manifest +++ b/media-libs/freeverb3/Manifest @@ -1 +1,2 @@ +DIST freeverb3-3.1.2.tar.xz 6015544 BLAKE2B 7589e7aeb04f2253124c94036b53cb86151ffb9f53ae1caefd932ac4ea2c75063a3697101c481e89b7a978044eb02849541b11a7064ede2aec1cd92beba54ad6 SHA512 d3c0b64f14e98f3641b593f3902017fcb457d7a920082bc31e4fc70aaaa11e9172ecabe56bd93c1722b4860239e5ac127c11da6ced6f708def440018451d86bd DIST freeverb3-3.1.2_pre20151102.tar.gz 8416503 BLAKE2B 114089be0829e3f1ac36e43e43f455f020e0c72ee6e8e66e1dc2571b8715e56bbdf3b71aa332c3451d511ea4695d6b11a08fb11c9a0e8876ed2556a964be38d9 SHA512 ccdcf8832155e479164bb6a4cb2f830db83bf55b8c797ba96686abe8392e7d88f55c6ab8bcb2db447ec3ab4f5cca05e09ec0753a61452c01a32ff9f4008b3536 diff --git a/media-libs/freeverb3/freeverb3-3.1.2.ebuild b/media-libs/freeverb3/freeverb3-3.1.2.ebuild new file mode 100644 index 000000000000..a09d7c092def --- /dev/null +++ b/media-libs/freeverb3/freeverb3-3.1.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit multilib + +MY_PV=796b552e8a32cc8e63d40dfb94b8a6209731060b +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_INSTRUCTION_SETS="cpu_flags_x86_3dnow cpu_flags_x86_avx cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1" +IUSE="${_IUSE_INSTRUCTION_SETS} audacious forcefpu jack openmp plugdouble threads" + +_GTK_DEPEND=">=dev-libs/glib-2.4.7:2 + >=x11-libs/gtk+-3.0.0:3 + x11-libs/pango + x11-libs/cairo" + +RDEPEND=">=sci-libs/fftw-3.0.1 + audacious? ( >=media-sound/audacious-3.9[gtk3] + ${_GTK_DEPEND} + media-libs/libsndfile ) + jack? ( media-sound/jack-audio-connection-kit + ${_GTK_DEPEND} + media-libs/libsndfile )" +DEPEND=${RDEPEND} + +REQUIRED_USE="jack? ( audacious )" + +src_configure() { + econf \ + --disable-profile \ + --enable-release \ + --disable-autocflags \ + --enable-undenormal \ + $(use_enable threads pthread) \ + $(use_enable forcefpu) \ + --disable-force3dnow \ + $(use_enable cpu_flags_x86_3dnow 3dnow) \ + $(use_enable cpu_flags_x86_sse sse) \ + $(use_enable cpu_flags_x86_sse2 sse2) \ + $(use_enable cpu_flags_x86_sse3 sse3) \ + $(use_enable cpu_flags_x86_sse4_1 sse4) \ + $(use_enable cpu_flags_x86_avx avx) \ + --disable-fma \ + --disable-fma4 \ + $(use_enable openmp omp) \ + --disable-sample \ + $(use_enable jack) \ + $(use_enable audacious) \ + --disable-srcnewcoeffs \ + $(use_enable plugdouble) \ + --disable-pluginit \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc ChangeLog README || die 'dodoc failed' + + if use audacious ; then + find "${D}/usr/$(get_libdir)/audacious/" -name '*.la' -print -delete || die + fi + + insinto /usr/share/${PN}/samples/IR + doins samples/IR/*.wav || die +} |