diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2019-06-06 20:24:53 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-07 08:14:19 +0200 |
commit | 9f6a96759cd29a11341599902fa321a435d059e6 (patch) | |
tree | 0cc9fd991d4afa30016b9818cd9523fac9d8e95f /media-libs/zita-convolver | |
parent | dev-libs/device-atlas-api-c: bump to version 2.1.4 (diff) | |
download | gentoo-9f6a96759cd29a11341599902fa321a435d059e6.tar.gz gentoo-9f6a96759cd29a11341599902fa321a435d059e6.tar.bz2 gentoo-9f6a96759cd29a11341599902fa321a435d059e6.zip |
media-libs/zita-convolver: version bump to 4.0.3
* EAPI=7
* add subslot
Closes: https://bugs.gentoo.org/684534
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12210
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-libs/zita-convolver')
-rw-r--r-- | media-libs/zita-convolver/Manifest | 1 | ||||
-rw-r--r-- | media-libs/zita-convolver/files/zita-convolver-4.0.3-makefile.patch | 23 | ||||
-rw-r--r-- | media-libs/zita-convolver/zita-convolver-4.0.3.ebuild | 34 |
3 files changed, 58 insertions, 0 deletions
diff --git a/media-libs/zita-convolver/Manifest b/media-libs/zita-convolver/Manifest index 62c9ea3371c5..474be5fab1f3 100644 --- a/media-libs/zita-convolver/Manifest +++ b/media-libs/zita-convolver/Manifest @@ -1,2 +1,3 @@ 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 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 +} |