This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/media-plugins/noise-suppression-for-voice-bin/noise-suppression-for-voice-bin-1.03.ebuild
tastytea 243541d724
All checks were successful
continuous-integration/drone/push Build is passing
media-plugins/noise-suppression-for-voice-bin: new package, add 1.03
Signed-off-by: tastytea <tastytea@tastytea.de>
2023-03-02 12:11:03 +01:00

38 lines
881 B
Bash

# Copyright 2023 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
}