diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-11-25 17:20:18 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-11-25 19:52:16 +0100 |
commit | a1fa84be5c013dcb63dfc4fae5dbe01fd95dad7c (patch) | |
tree | b455ee08123a9b5838e6e7a3595666866724bbbd /media-libs/freeverb3 | |
parent | x11-plugins/enigmail: move stable keywords (diff) | |
download | gentoo-a1fa84be5c013dcb63dfc4fae5dbe01fd95dad7c.tar.gz gentoo-a1fa84be5c013dcb63dfc4fae5dbe01fd95dad7c.tar.bz2 gentoo-a1fa84be5c013dcb63dfc4fae5dbe01fd95dad7c.zip |
media-libs/freeverb3: EAPI-7 bump, fix audacious USE-dep
Drop unused eclass.
Assorted cleanups to ebuild.
Bug: https://bugs.gentoo.org/671828
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/freeverb3')
-rw-r--r-- | media-libs/freeverb3/freeverb3-3.1.2-r1.ebuild | 75 | ||||
-rw-r--r-- | media-libs/freeverb3/freeverb3-3.2.1-r1.ebuild | 64 |
2 files changed, 139 insertions, 0 deletions
diff --git a/media-libs/freeverb3/freeverb3-3.1.2-r1.ebuild b/media-libs/freeverb3/freeverb3-3.1.2-r1.ebuild new file mode 100644 index 000000000000..ce7c135f9002 --- /dev/null +++ b/media-libs/freeverb3/freeverb3-3.1.2-r1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +REQUIRED_USE="jack? ( audacious )" + +_GTK_DEPEND=" + >=dev-libs/glib-2.4.7:2 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango +" +RDEPEND=" + sci-libs/fftw:3.0= + audacious? ( ${_GTK_DEPEND} + =media-sound/audacious-3.9*[gtk3(+)] + media-libs/libsndfile + ) + jack? ( ${_GTK_DEPEND} + virtual/jack + media-libs/libsndfile + ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + --enable-release + --enable-undenormal + --disable-autocflags + --disable-fma + --disable-fma4 + --disable-force3dnow + --disable-pluginit + --disable-profile + --disable-sample + --disable-srcnewcoeffs + $(use_enable audacious) + $(use_enable cpu_flags_x86_3dnow 3dnow) + $(use_enable cpu_flags_x86_avx avx) + $(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 forcefpu) + $(use_enable jack) + $(use_enable openmp omp) + $(use_enable plugdouble) + $(use_enable threads pthread) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs + + 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 +} diff --git a/media-libs/freeverb3/freeverb3-3.2.1-r1.ebuild b/media-libs/freeverb3/freeverb3-3.2.1-r1.ebuild new file mode 100644 index 000000000000..a579cd535830 --- /dev/null +++ b/media-libs/freeverb3/freeverb3-3.2.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="audacious forcefpu jack openmp plugdouble threads" + +REQUIRED_USE="jack? ( audacious )" + +_GTK_DEPEND=" + >=dev-libs/glib-2.4.7:2 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango +" +RDEPEND=" + sci-libs/fftw:3.0= + audacious? ( ${_GTK_DEPEND} + =media-sound/audacious-3.9*[gtk3(+)] + media-libs/libsndfile + ) + jack? ( ${_GTK_DEPEND} + virtual/jack + media-libs/libsndfile + ) +" +DEPEND="${RDEPEND}" + +src_configure() { + local myeconfargs=( + --enable-release + --enable-undenormal + --disable-autocflags + --disable-pluginit + --disable-profile + --disable-sample + --disable-srcnewcoeffs + $(use_enable audacious) + $(use_enable jack) + $(use_enable openmp omp) + $(use_enable plugdouble) + $(use_enable threads pthread) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" install + einstalldocs + + 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 +} |