media-plugins/ir_lv2: add zero-latency version 1.2.4
authorAlexander Tsoy <alexander@tsoy.me>
Thu, 6 Jun 2019 18:38:39 +0000 (21:38 +0300)
committerMiroslav Šulc <fordfrog@gentoo.org>
Wed, 25 Dec 2019 12:26:13 +0000 (13:26 +0100)
Bug: https://bugs.gentoo.org/655968
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
Closes: https://github.com/gentoo/gentoo/pull/12211
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-plugins/ir_lv2/Manifest
media-plugins/ir_lv2/ir_lv2-1.2.4.ebuild [new file with mode: 0644]

index d4129a6338cea8f449dde41f93ad35ebfd88548b..3f43976f566b65c60291dc3f0ff0bb62a25aa3a0 100644 (file)
@@ -1,2 +1,3 @@
 DIST ir.lv2-1.3.2.tar.gz 48698 BLAKE2B 2587fb8cae6d71c8a2e3586eaddba43f27282db2469a64f2441832c52f9f27ff9d0852acfce248b890ed4845281f4ef676581128321102e0fc655d0a91bb1266 SHA512 06443aeab05eaa0b1ff5c12fd479c3f1c874976a6d1f5874f6d150aa97c96a8a0b2c3abbc7d6db4882f5674aad8e53ab32bbe7da3873746d5a1e581d010bbae2
+DIST ir_lv2-1.2.4.tar.gz 126123 BLAKE2B fab75bf18b642ad59bcb53041462a0d37c84554f0cf6e78c5cdff69ee42a21812a5176083e325018454f6a0a990ce309abed1eea71eb6022ec5981186bf6f29c SHA512 28aac050352380719512efe3346ffddeddb75972e749dc9433cea92973e1ae838c65c6d7196646199218ff3362b24fa9a5e1a3578e74a0b9e268d21083874977
 DIST ir_lv2-1.3.4.tar.gz 126552 BLAKE2B 52f5b236c4680a759c0621ed0f9a394e6e82bdb9aaf4110b325902ae382d2f640a079c53d89c662a192a97d0e79349082cf100636c1a7d6c00738602ca652962 SHA512 6a9c8f906a07c6ed0daa53d8dc3693d535ec4cf63f07b5fcc62ab6638c66992ff7951918b0ce2ef8c65289b19988363be49bba9bb75a20b0463fa972b07ff58c
diff --git a/media-plugins/ir_lv2/ir_lv2-1.2.4.ebuild b/media-plugins/ir_lv2/ir_lv2-1.2.4.ebuild
new file mode 100644 (file)
index 0000000..8fadc5c
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs flag-o-matic multilib
+
+DESCRIPTION="LV2 convolver plugin especially for creating reverb effects"
+HOMEPAGE="https://tomszilagyi.github.io/plugins/ir.lv2/"
+SRC_URI="https://github.com/tomszilagyi/ir.lv2/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S=${WORKDIR}/${PN/_/.}-${PV}
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="tools"
+
+RDEPEND="media-libs/libsamplerate
+       media-libs/libsndfile
+       media-libs/lv2
+       >=media-libs/zita-convolver-3:=
+       >=x11-libs/gtk+-2.16:2"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.3.4-respect-flags.patch
+)
+
+DOCS=( README.md sshot.png ChangeLog )
+
+src_compile() {
+       tc-export CC CXX
+       emake
+       use tools && emake convert4chan
+}
+
+src_install() {
+       emake INSTDIR="${D}/usr/$(get_libdir)/lv2" install
+       use tools && newbin convert4chan ir_convert4chan
+       einstalldocs
+}