summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Tsoy <alexander@tsoy.me>2019-06-06 20:24:53 +0300
committerMichał Górny <mgorny@gentoo.org>2019-07-07 08:14:19 +0200
commit9f6a96759cd29a11341599902fa321a435d059e6 (patch)
tree0cc9fd991d4afa30016b9818cd9523fac9d8e95f /media-libs/zita-convolver/zita-convolver-4.0.3.ebuild
parentdev-libs/device-atlas-api-c: bump to version 2.1.4 (diff)
downloadgentoo-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/zita-convolver-4.0.3.ebuild')
-rw-r--r--media-libs/zita-convolver/zita-convolver-4.0.3.ebuild34
1 files changed, 34 insertions, 0 deletions
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
+}