[vlc-commits] contrib: add rnnoise

Tristan Matthews git at videolan.org
Sat Oct 17 04:14:35 CEST 2020


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Thu Jul 25 22:55:08 2019 -0400| [5fdbc81a95da2078d7b85a3bf17cc153120abb5d] | committer: Tristan Matthews

contrib: add rnnoise

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5fdbc81a95da2078d7b85a3bf17cc153120abb5d
---

 contrib/src/rnnoise/rules.mak | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/contrib/src/rnnoise/rules.mak b/contrib/src/rnnoise/rules.mak
new file mode 100644
index 0000000000..f1929474d5
--- /dev/null
+++ b/contrib/src/rnnoise/rules.mak
@@ -0,0 +1,28 @@
+# rnnoise
+
+RNNOISE_GITURL := http://github.com/xiph/rnnoise.git
+RNNOISE_GITHASH := 90ec41ef659fd82cfec2103e9bb7fc235e9ea66c
+
+PKGS += rnnoise
+ifeq ($(call need_pkg,"rnnoise"),)
+PKGS_FOUND += rnnoise
+endif
+
+$(TARBALLS)/rnnoise-$(RNNOISE_GITHASH).tar.xz:
+	$(call download_git,$(RNNOISE_GITURL),,$(RNNOISE_GITHASH))
+
+.sum-rnnoise: rnnoise-$(RNNOISE_GITHASH).tar.xz
+	$(call check_githash,$(RNNOISE_GITHASH))
+	touch $@
+
+rnnoise: rnnoise-$(RNNOISE_GITHASH).tar.xz .sum-rnnoise
+	$(UNPACK)
+	$(MOVE)
+
+.rnnoise: rnnoise
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure --disable-examples --disable-doc $(HOSTCONF)
+	cd $< && $(MAKE)
+	$(call pkg_static,"rnnoise.pc")
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list