Skip to contentSkip to conversation

package/rnnoise: new package

PATCH In review Peter Korsgaard 2 participants 2 messages Feb 13, 2025 – Feb 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rnnoise: new package

RNNoise is a noise suppression library based on a recurrent neural network.

Add an upstream post-0.2 patch to fix a build issue.

---
 DEVELOPERS                                    |   1 +
 package/Config.in                             |   1 +
 .../rnnoise/0001-Fix-compilation-errors.patch | 147 ++++++++++++++++++
 package/rnnoise/Config.in                     |   7 +
 package/rnnoise/rnnoise.hash                  |   3 +
 package/rnnoise/rnnoise.mk                    |  15 ++
 6 files changed, 174 insertions(+)
 create mode 100644 package/rnnoise/0001-Fix-compilation-errors.patch
 create mode 100644 package/rnnoise/Config.in
 create mode 100644 package/rnnoise/rnnoise.hash
 create mode 100644 package/rnnoise/rnnoise.mk
DEVELOPERS +1 -0
index 5f98257b86..74a9647905 100644
@@ -2660,6 +2660,7 @@ F:	package/python-texttable/
 F:	package/python-validators/
 F:	package/python-webob/
 F:	package/python-websocket-client/
+F:	package/rnnoise/
 F:	package/sedutil/
 F:	package/tpm2-totp/
 F:	package/triggerhappy/
package/Config.in +1 -0
index dac1fc568d..1c2063e15d 100644
@@ -1559,6 +1559,7 @@ menu "Audio/Sound"
 	source "package/opus/Config.in"
 	source "package/opusfile/Config.in"
 	source "package/portaudio/Config.in"
+	source "package/rnnoise/Config.in"
 	source "package/sbc/Config.in"
 	source "package/spandsp/Config.in"
 	source "package/speex/Config.in"
package/rnnoise/0001-Fix-compilation-errors.patch new file +147 -0

147 lines not on this page · raw message

package/rnnoise/Config.in new file +7 -0
new file mode 100644
index 0000000000..25bcc60d12
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_RNNOISE
+	bool "rnnoise"
+	help
+	  RNNoise is a noise suppression library based on a recurrent
+	  neural network.
+
+	  https://github.com/xiph/rnnoise/
package/rnnoise/rnnoise.hash new file +3 -0
new file mode 100644
index 0000000000..cbf3a9451e
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256  90fce4b00b9ff24c08dbfe31b82ffd43bae383d85c5535676d28b0a2b11c0d37  rnnoise-0.2.tar.gz
+sha256  45d37ca1cdb278c088e1aa85e0e65ca3a534ed86a28dcc96ca16810248a61d35  COPYING
package/rnnoise/rnnoise.mk new file +15 -0
new file mode 100644
index 0000000000..a8b74f5650
@@ -0,0 +1,15 @@
+################################################################################
+#
+# rnnoise
+#
+################################################################################
+
+RNNOISE_VERSION = 0.2
+RNNOISE_SITE = https://github.com/xiph/rnnoise/releases/download/v$(RNNOISE_VERSION)
+RNNOISE_LICENSE = BSD-3-Clause
+RNNOISE_LICENSE_FILES = COPYING
+RNNOISE_INSTALL_STAGING = YES
+
+RNNOISE_CONF_OPTS = --disable-doc --disable-examples
+
+$(eval $(autotools-package))
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot