22 lines
869 B
Bash
22 lines
869 B
Bash
# Template file for 'deepfilternet-ladspa'
|
|
pkgname=deepfilternet-ladspa
|
|
version=0.5.6
|
|
revision=1
|
|
build_style=cargo
|
|
configure_args="-p deep-filter-ladspa"
|
|
short_desc="Noise supression using deep filtering"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="MIT OR Apache-2.0"
|
|
homepage="https://huggingface.co/spaces/hshr/DeepFilterNet2"
|
|
distfiles="https://github.com/Rikorose/DeepFilterNet/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=0f9a219d06c404bc4200f228e7e224f108cbbca04d7227a6de7d2ce974c2f579
|
|
|
|
do_install() {
|
|
vlicense LICENSE
|
|
vlicense LICENSE-MIT
|
|
vlicense LICENSE-APACHE
|
|
vinstall target/${RUST_TARGET}/release/libdeep_filter_ladspa.so 755 usr/lib/ladspa
|
|
vinstall ladspa/filter-chain-configs/deepfilter-mono-source.conf 644 usr/share/pipewire/filter-chain
|
|
vinstall ladspa/filter-chain-configs/deepfilter-stereo-sink.conf 644 usr/share/pipewire/filter-chain
|
|
}
|