diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild')
-rw-r--r-- | media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild b/media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild new file mode 100644 index 000000000000..4bea16d309c3 --- /dev/null +++ b/media-libs/zita-convolver/zita-convolver-2.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic multilib toolchain-funcs + +DESCRIPTION="C++ library implementing a real-time convolution matrix" +HOMEPAGE="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html" +SRC_URI="http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_sse" + +RDEPEND="sci-libs/fftw:3.0=" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/libs + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + # upstream defaults to this on x86 but patched out of the Makefile + # try to reenable optimisation for x86 and allow building on other arch's + use cpu_flags_x86_sse && append-flags "-msse" "-mfpmath=sse" + + emake CXX="$(tc-getCXX)" +} + +src_install() { + emake PREFIX="${ED}/usr" LIBDIR="$(get_libdir)" install + dodoc "${WORKDIR}/${P}/AUTHORS" +} |