media-libs/noise-suppression-for-voice: new package, add 1.03

This commit is contained in:
Alarig Le Lay 2023-04-20 13:20:58 +02:00
parent 270ef7d5af
commit 2ae7d6fc3b
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 56 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST noise-suppression-for-voice-1.03.tar.gz 19486457 BLAKE2B 50d92eb6d8868aa5c175fd2d78c3a24a9d92ddc00327c9155ac59a3d143ec7e462b122e3ad6b07f5647346d69731c0940658581a42100df5924eb759385dd1fc SHA512 1cf08c947a1f5415e35d11007acb3bf1cbb6929c81c3d877d2a1714ec30061285077f9850eb08da7784bf2188d849bd630ad605b1b6e03ea75a1afb16076a512

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Rick Farina</name>
<email>zerochaos@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">werman/noise-suppression-for-voice</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,44 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="A real-time noise suppression plugin for voice"
HOMEPAGE="https://github.com/werman/noise-suppression-for-voice"
if [ "${PV}" = "9999" ]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/werman/noise-suppression-for-voice.git"
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/werman/noise-suppression-for-voice/archive/v${PV}.tar.gz -> ${P}.tar.gz"
fi
LICENSE="GPL-3+"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_install() {
dodoc README.md
cd "${BUILD_DIR}"
insinto /usr/$(get_libdir)/lv2/
doins bin/rnnoise_mono.lv2/librnnoise_mono.so
doins bin/rnnoise_stereo.lv2/librnnoise_stereo.so
insinto /usr/$(get_libdir)/vst3/
doins bin/rnnoise.vst3/Contents/x86_64-linux/rnnoise.so
insinto /usr/$(get_libdir)/vst/
doins -r bin/vst
insinto /usr/$(get_libdir)/ladspa/
doins bin/ladspa/librnnoise_ladspa.so
}