New package: rnnoise-0.4.1

closes #31203
This commit is contained in:
Louis Dupré Bertoni 2021-05-29 12:54:14 +03:00 committed by John
parent 9fb44188c0
commit 80166ea3bd
3 changed files with 35 additions and 0 deletions

View file

@ -4013,3 +4013,4 @@ libbasu.so.0 basu-0.2.0_1
libXcomp.so.3 nx-libs-3.5.99.24_1
libXcompshad.so.3 nx-libs-3.5.99.24_1
libNX_X11.so.6 nx-libs-3.5.99.24_1
librnnoise.so.0 rnnoise-0.4.1_1

1
srcpkgs/rnnoise-devel Symbolic link
View file

@ -0,0 +1 @@
rnnoise

33
srcpkgs/rnnoise/template Normal file
View file

@ -0,0 +1,33 @@
# Template file for 'rnnoise'
pkgname=rnnoise
_githash=1cbdbcf1283499bbb2230a6b0f126eb9b236defd
version=0.4.1
revision=1
wrksrc="${pkgname}-${_githash}"
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="Recurrent neural network for audio noise reduction"
maintainer="Louis Dupré Bertoni <contact@louisdb.xyz>"
license="BSD-3-Clause"
homepage="https://jmvalin.ca/demo/rnnoise/"
distfiles="https://github.com/xiph/rnnoise/archive/${_githash}.tar.gz"
checksum=68c7ab4e408426088603e19955e746bb2a412d84bb121b6f39834c60fc8068b7
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
}
rnnoise-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}