diff --git a/common/shlibs b/common/shlibs index 798fa9601f5..e6989518441 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/rnnoise-devel b/srcpkgs/rnnoise-devel new file mode 120000 index 00000000000..fd3349ee491 --- /dev/null +++ b/srcpkgs/rnnoise-devel @@ -0,0 +1 @@ +rnnoise \ No newline at end of file diff --git a/srcpkgs/rnnoise/template b/srcpkgs/rnnoise/template new file mode 100644 index 00000000000..c7c05660b93 --- /dev/null +++ b/srcpkgs/rnnoise/template @@ -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 " +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" + } +}