From 80166ea3bd406302faf41b4a5a133b55f8b599ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20Dupr=C3=A9=20Bertoni?= Date: Sat, 29 May 2021 12:54:14 +0300 Subject: [PATCH] New package: rnnoise-0.4.1 closes #31203 --- common/shlibs | 1 + srcpkgs/rnnoise-devel | 1 + srcpkgs/rnnoise/template | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 120000 srcpkgs/rnnoise-devel create mode 100644 srcpkgs/rnnoise/template 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" + } +}