From f4b480c0e306d84d1c251bed3df45b83a0b03b82 Mon Sep 17 00:00:00 2001 From: tea Date: Tue, 28 May 2024 14:02:40 +0200 Subject: [PATCH] media-plugins/noise-suppression-for-voice-bin: add 1.10 Signed-off-by: tea --- .../noise-suppression-for-voice-bin/Manifest | 1 + ...oise-suppression-for-voice-bin-1.10.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 media-plugins/noise-suppression-for-voice-bin/noise-suppression-for-voice-bin-1.10.ebuild diff --git a/media-plugins/noise-suppression-for-voice-bin/Manifest b/media-plugins/noise-suppression-for-voice-bin/Manifest index 9a587b2..61d00e3 100644 --- a/media-plugins/noise-suppression-for-voice-bin/Manifest +++ b/media-plugins/noise-suppression-for-voice-bin/Manifest @@ -1 +1,2 @@ DIST noise-suppression-for-voice-bin-1.03.zip 6850599 BLAKE2B 06603ae930ec2f85cce0e87e19c59047e52c83d427de97e0a8a5fbcb062bdc34d2d5781872d730ec50c142e2ae455b31fec8c87022e5690b7a9cd0993fed7feb SHA512 06eb4dbb659a3fab894ae49a4b3cd796f846b88568b55700c117115dbb0af81a7a6af1f6b660c43521b4c36c33b32b0bf633ae1526ea874070dd9a170d27c968 +DIST noise-suppression-for-voice-bin-1.10.zip 36831356 BLAKE2B 954363b792693eb19cab859860dc3cfff384d8f3e142eead4153af621da65b6cdc4c9abce2b14b46ec0f3c02bacbc92cab6c064c57bf6c5e4cdd6f1cbe90f257 SHA512 9464894e742f174dc89a40595b49115dff72e84a0807b6e73db5a68044aa39ad2cfe5021d3eb4c93c7f175b333f1eec91dbc6fbc7c28b0cf575a610f75047c66 diff --git a/media-plugins/noise-suppression-for-voice-bin/noise-suppression-for-voice-bin-1.10.ebuild b/media-plugins/noise-suppression-for-voice-bin/noise-suppression-for-voice-bin-1.10.ebuild new file mode 100644 index 0000000..a9e1e4e --- /dev/null +++ b/media-plugins/noise-suppression-for-voice-bin/noise-suppression-for-voice-bin-1.10.ebuild @@ -0,0 +1,37 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Noise suppression plugin based on Xiph's RNNoise (VST2/3, LV2, LADSPA)" +HOMEPAGE="https://github.com/werman/noise-suppression-for-voice" +SRC_URI="https://github.com/werman/${PN/-bin/}/releases/download/v${PV}/linux-rnnoise.zip -> ${P}.zip" +S="${WORKDIR}/linux-rnnoise" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/glib + dev-libs/libpcre2 + media-gfx/graphite2 + media-libs/freetype + media-libs/harfbuzz + media-libs/libpng:0/16 +" +BDEPEND="app-arch/unzip" + +src_install() { + insinto /usr/$(get_libdir)/ladspa + doins ladspa/librnnoise_ladspa.so + + insinto /usr/$(get_libdir)/lv2 + doins -r rnnoise_{mono,stereo}.lv2 + + insinto /usr/$(get_libdir)/vst + doins vst/librnnoise_{mono,stereo}.so + + insinto /usr/$(get_libdir)/vst3 + doins -r rnnoise.vst3 +}