diff options
author | Alexis Ballier <aballier@gentoo.org> | 2015-11-09 13:34:02 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2015-11-09 13:34:02 +0100 |
commit | ae6fbbd24386e85c26fd66b3859ed58e8b623c2e (patch) | |
tree | 1f011b90c8c9d0edd15f64b219dcdc32462322c5 /media-libs | |
parent | media-plugins/g2reverb: initial import. split out of media-plugins/rev-plugins. (diff) | |
download | gentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.tar.gz gentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.tar.bz2 gentoo-ae6fbbd24386e85c26fd66b3859ed58e8b623c2e.zip |
media-libs/zita-convolver: bump to 3.1.0
Package-Manager: portage-2.2.24
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/zita-convolver/Manifest | 1 | ||||
-rw-r--r-- | media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch | 32 | ||||
-rw-r--r-- | media-libs/zita-convolver/zita-convolver-3.1.0.ebuild | 37 |
3 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/Manifest b/media-libs/zita-convolver/Manifest index 5fc3f9bcb5be..a5b167313374 100644 --- a/media-libs/zita-convolver/Manifest +++ b/media-libs/zita-convolver/Manifest @@ -1 +1,2 @@ DIST zita-convolver-2.0.0.tar.bz2 12858 SHA256 a2c9b3a19f24522819ab2ff852915da27cef93b5e32b1a339ece5627ac3c63e4 SHA512 5e12e8785e3b3161e42bb3a65e63ec4d4d2d6fa5c11960e0843f3985d76d4f24d7a1d979d0a092dd0c5407b817b66e799da211fa0f7eb96f581ffc56950135ce WHIRLPOOL 3f7c28279d0aa2562b0dcc9a6dddbeeadc22263c1435e9b5a7e445a04738115d781147ed0dfa1da9392cda7bcf29c6e7725901a9492de3b5ba69bdf35319a6bd +DIST zita-convolver-3.1.0.tar.bz2 21485 SHA256 bf7e93b582168b78d40666974460ad8142c2fa3c3412e327e4ab960b3fb31993 SHA512 0003d4fffcc07b3e67d54996a63db35d537d97b26003e06afbeed19fba551d552d4d5a808a86b5c600f5254816c6b26db49f48e13bfa3c77d93d61956c479eb9 WHIRLPOOL e570fe14c1722cb0540df53dc1492d4c7f0a469d5a265aedd1dbd2f8f1c27031c191626a67146262b42505a4d57f6d9287b44525fb917432914fb2d1a62dcc9e diff --git a/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch b/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch new file mode 100644 index 000000000000..d8f5af24fcdd --- /dev/null +++ b/media-libs/zita-convolver/files/zita-convolver-3.1.0-makefile.patch @@ -0,0 +1,32 @@ +Index: zita-convolver-3.1.0/libs/Makefile +=================================================================== +--- zita-convolver-3.1.0.orig/libs/Makefile ++++ zita-convolver-3.1.0/libs/Makefile +@@ -32,8 +32,7 @@ VERSION = $(MAJVERS).$(MINVERS) + + CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DENABLE_VECTOR_MODE + CXXFLAGS += -fPIC -Wall +-CXXFLAGS += -ffast-math -funroll-loops -O3 +-CXXFLAGS += -march=native ++CXXFLAGS += -ffast-math -funroll-loops + LDLFAGS += + LDLIBS += + +@@ -47,7 +46,7 @@ ZITA-CONVOLVER_H = zita-convolver.h + + + $(ZITA-CONVOLVER_MIN): $(ZITA-CONVOLVER_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) + + + install: $(ZITA-CONVOLVER_MIN) +@@ -56,7 +55,7 @@ install: $(ZITA-CONVOLVER_MIN) + install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(PREFIX)/include + install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR) + ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_SO) +- ldconfig ++ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(ZITA-CONVOLVER_MAJ) + + clean: + /bin/rm -f *~ *.o *.a *.d *.so.* diff --git a/media-libs/zita-convolver/zita-convolver-3.1.0.ebuild b/media-libs/zita-convolver/zita-convolver-3.1.0.ebuild new file mode 100644 index 000000000000..080f206cbfbf --- /dev/null +++ b/media-libs/zita-convolver/zita-convolver-3.1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" LIBDIR="$(get_libdir)" install + dodoc "${WORKDIR}/${P}/AUTHORS" "${WORKDIR}/${P}/README" +} |