linux_void/srcpkgs/ladspa-rnnoise/template

44 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

2024-01-27 16:06:25 +01:00
# Template file for 'ladspa-rnnoise'
pkgname=ladspa-rnnoise
version=1.03
revision=2
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules lv2 freetype"
makedepends="rnnoise-devel ladspa-sdk alsa-lib-devel alsa-tools-devel freetype-devel webkit2gtk-devel gtk4-devel libcurl-devel curlpp-devel libX11-devel libsanitizer-devel"
depends="rnnoise"
short_desc="Noise suppression based on Xiph's RNNoise (with SIMD optimize) - ladspa plugin"
maintainer="ITmodulo <itmodulo@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/JellyBrick/noise-suppression-for-voice-simd"
distfiles="https://github.com/JellyBrick/noise-suppression-for-voice-simd/archive/refs/tags/v${version}.tar.gz"
checksum=9737e50bc8e88158bcbf70f04348d99dd9c8f43eb222aacb6aa63005f7a09d68
shlib_provides="librnnoise_ladspa.so"
post_install(){
vinstall "${FILESDIR}/99-input-denoising.conf" 644 usr/share/ladspa-rnnoise
}
lv2-rnnoise_package(){
depends="rnnoise"
short_desc="Noise suppression based on Xiph's RNNoise (with SIMD optimize) - lv2 plugin"
pkg_install() {
vmove usr/lib/lv2
}
}
lxvst-rnnoise_package(){
depends="rnnoise"
short_desc="Noise suppression based on Xiph's RNNoise (with SIMD optimize) - lxvst plugin"
pkg_install() {
vmove usr/lib/lxvst
}
}
vst3-rnnoise_package() {
depends="rnnoise"
short_desc="Noise suppression based on Xiph's RNNoise (with SIMD optimize) - vst3 plugin"
pkg_install() {
vmove usr/lib/vst3
}
}