summaryrefslogtreecommitdiff
path: root/media-libs/zita-convolver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-10 23:40:16 +0100
commit51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch)
tree1541525274162b033ebbc3ed38abaf335fbbd49a /media-libs/zita-convolver
parent7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff)
gentoo resync : 11.07.2019
Diffstat (limited to 'media-libs/zita-convolver')
-rw-r--r--media-libs/zita-convolver/Manifest3
-rw-r--r--media-libs/zita-convolver/files/zita-convolver-4.0.3-makefile.patch23
-rw-r--r--media-libs/zita-convolver/zita-convolver-4.0.3.ebuild34
3 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/Manifest b/media-libs/zita-convolver/Manifest
index e4784a431b6b..8db9b9547c9d 100644
--- a/media-libs/zita-convolver/Manifest
+++ b/media-libs/zita-convolver/Manifest
@@ -1,7 +1,10 @@
AUX zita-convolver-2.0.0-makefile.patch 1174 BLAKE2B 1206c7bd9ee592fc8110bf0fbcb8cedc377de3ff6c772d2d698c3dbf3a5561cc8f3bf389b8d2d312b80789a033d5009b81a772f88d24befada9833d9cefcd0a2 SHA512 6ee1d8520a570c159a61f3d1204168c79fac9506bb88090baa8dc1b2e8a1c935b1f983ecf8166e517fa82f7bdf01a9587ec66fa3bc2767d45ba9e989c48381a7
AUX zita-convolver-3.1.0-makefile.patch 1283 BLAKE2B 14b6b799ff67218b482317ed64ba303437c53a6eae1d7d04f0bbd18d45f944cc2631fee6d59accff5cb990b923f2337e472ec713a1f087419600e73f2a94773a SHA512 732ec568f9f9daf67909be724690a681611e41d3e5ad84735ab1fb9a94e0540c48765d32bdffecc8548321e5dd1f9ae7155d9920654eabfc72158254662180f4
+AUX zita-convolver-4.0.3-makefile.patch 907 BLAKE2B ab142d1f19bf104cb0bb02d615f1611138859dd001062b675a7f1e716763749f464534e8b64a0793211e6a816ac35d4fad0af4fa8896b55e7024c3dd9910f462 SHA512 4f6ea8c861d8444e259a1dcd5d0ddb5980a36a396a6362bb2cd7e498dff2b368cd7b1458a54360255645b32561872cbbc59a8bfbd1ff71659f24329df51be702
DIST zita-convolver-2.0.0.tar.bz2 12858 BLAKE2B 1801681e799a85cd9a5b6d724ea3928e379bcd4cde1e01a39dc714e9480bdc0dfbf777aa4230c42190fc9e98ee3f842f34bf5c65a53744ff6b977c231194bb51 SHA512 5e12e8785e3b3161e42bb3a65e63ec4d4d2d6fa5c11960e0843f3985d76d4f24d7a1d979d0a092dd0c5407b817b66e799da211fa0f7eb96f581ffc56950135ce
DIST zita-convolver-3.1.0.tar.bz2 21485 BLAKE2B 7976bac136bef04091b76b55fd4afd5a18c7f269c1dbce8875bc7c8a50b652f3c2ddd3c5e71ae26896d906a17b78f2bcfab129c078c1d60f8871c9509bb173d7 SHA512 0003d4fffcc07b3e67d54996a63db35d537d97b26003e06afbeed19fba551d552d4d5a808a86b5c600f5254816c6b26db49f48e13bfa3c77d93d61956c479eb9
+DIST zita-convolver-4.0.3.tar.bz2 19591 BLAKE2B 3bd77cbc46d93c2200329451634dc48b94183aaa17034aa4b3dd03c33ad7982e9bed85e164f5c0e34666a1a6443199afe24222d41477368c4b366335e9767b91 SHA512 62d7841757f10c094e43ed755e187f947c5743f302ed2a1ee6064a850c18921466f4505d8a2a7b3ad23619db7f1ad7307e1dfb2e8a1e7685e60ece2ffff4f6ca
EBUILD zita-convolver-2.0.0-r1.ebuild 958 BLAKE2B 29d71ecce58a60f5ccd52484fdaa6908a7bd0c65f5bb6e6c4b817f713fc49238847e43483e9e614141795626f8d64c0903e22e8cb1934e0cbab299d580cb8d00 SHA512 9a5d86ff5ebac7b440541e5d314c7ee0a87bc17c3a9b2f9c5b454203064cf15d0b4bedac91b1d50211285536391c866bf648f2f4f753557c5aa91ec49b74cbb4
EBUILD zita-convolver-3.1.0.ebuild 1004 BLAKE2B 323f97cf35298f0803d54ca880f1ea9579d7ecd5bc5ce691f211188d0ce6405490f24a900c2038f4e6b1a1678e4c592c70965270f7678c2dd739f52331f6c8bf SHA512 8a56f6073c521e046299cb73b9fb6a91e8f4588e7f2b2d55160be83c4f55a09733c86ab847e111d794bc4d960e89e2dc608f206619b972bd9115f0ff72e0e525
+EBUILD zita-convolver-4.0.3.ebuild 742 BLAKE2B 110b973c34b9d47d279d17c08edfa4bb8f6c210824340a9ab4bb74df4d0342fe7ffbcfac0b8068b4aa246564442770a397fecff18ce56de791b7636b1c88faec SHA512 bd0b38930d33cb29b69094e12645a4e680e1c4a9566b6d5f9f510494f0711c12c1d7f5f44e9fa426259cefca9cb2f3a07186a0df1942b61265fc032804ca086e
MISC metadata.xml 255 BLAKE2B 7a492321189530430d5c71d5598f8a99b548e020d8ace46bb200f1f18abb3a59c4d0dff84c8dc1f78297137c25684d42386d793b84a02e2363fab4d6dcedd4fa SHA512 9e74b875aa129f5b8108121402291772fde4ac18a157dc60f7b3e19c318ee54cd1be54e283a68bc61562f2dc3f5b338b161028d673ff7baa267192ff3b7e8dc8
diff --git a/media-libs/zita-convolver/files/zita-convolver-4.0.3-makefile.patch b/media-libs/zita-convolver/files/zita-convolver-4.0.3-makefile.patch
new file mode 100644
index 000000000000..625fa5554e25
--- /dev/null
+++ b/media-libs/zita-convolver/files/zita-convolver-4.0.3-makefile.patch
@@ -0,0 +1,23 @@
+diff -urN zita-convolver-4.0.3.orig/source/Makefile zita-convolver-4.0.3/source/Makefile
+--- zita-convolver-4.0.3.orig/source/Makefile 2018-08-26 16:35:37.000000000 +0300
++++ zita-convolver-4.0.3/source/Makefile 2019-04-13 22:32:29.558347119 +0300
+@@ -33,8 +33,7 @@
+
+ CPPFLAGS += -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
+ CPPFLAGS += -DENABLE_VECTOR_MODE
+-CXXFLAGS += -fPIC -Wall -ffast-math -funroll-loops -O2
+-CXXFLAGS += -march=native
++CXXFLAGS += -fPIC -Wall -ffast-math -funroll-loops
+ LDLFAGS +=
+ LDLIBS +=
+
+@@ -56,8 +55,8 @@
+ install -d $(DESTDIR)$(LIBDIR)
+ install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(INCDIR)
+ install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)
+- ldconfig
+ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_SO)
++ ln -sf $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(LIBDIR)/$(ZITA-CONVOLVER_MAJ)
+
+ uninstall:
+ rm -rf $(DESTDIR)$(INCDIR)/$(ZITA-CONVOLVER_H)
diff --git a/media-libs/zita-convolver/zita-convolver-4.0.3.ebuild b/media-libs/zita-convolver/zita-convolver-4.0.3.ebuild
new file mode 100644
index 000000000000..000640840e9c
--- /dev/null
+++ b/media-libs/zita-convolver/zita-convolver-4.0.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="C++ library implementing a real-time convolution matrix"
+HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/"
+SRC_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-3+"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sci-libs/fftw:3.0="
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.0.3-makefile.patch )
+
+src_compile() {
+ emake -C source CXX="$(tc-getCXX)"
+}
+
+src_install() {
+ local myemakeargs=(
+ DESTDIR="${D}"
+ PREFIX="${EPREFIX}/usr"
+ LIBDIR="${EPREFIX}"/usr/$(get_libdir)
+ )
+ emake -C source "${myemakeargs[@]}" install
+
+ einstalldocs
+}