Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

343 Commits   0 Branches   0 Tags
author: kx <kx@radix.pro> 2023-05-18 05:58:41 +0300 committer: kx <kx@radix.pro> 2023-05-18 05:58:41 +0300 commit: 051bf53b1f4b95ba0e5475c7c573bc68f72ac271 parent: 8e4b07371e6924fd2d16918d72ecd124abf8880c
Commit Summary:
webrtc-audio-processing-0.3.1
Diffstat:
1 file changed, 29 insertions, 0 deletions
diff --git a/packages/n/webrtc-audio-processing/Makefile b/packages/n/webrtc-audio-processing/Makefile
new file mode 100644
index 0000000..8cce108
--- /dev/null
+++ b/packages/n/webrtc-audio-processing/Makefile
@@ -0,0 +1,39 @@
+#
+# Project Home:
+# ============
+# https://freedesktop.org/software/pulseaudio/webrtc-audio-processing
+#
+# Downloads:
+# =========
+# https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-0.3.1.tar.xz
+#
+
+url         = https://freedesktop.org/software/pulseaudio/webrtc-audio-processing
+
+versions    = 0.3.1
+
+pkgname     = webrtc-audio-processing
+suffix      = tar.xz
+
+tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
+sha1s       = $(addsuffix .sha1sum, $(tarballs))
+
+
+all: $(tarballs) $(sha1s)
+
+.PHONY: downloads_clean
+
+$(tarballs):
+	@echo -e "\n======= Downloading source tarballs =======\n"
+	@for tarball in $(tarballs) ; do \
+	  wget -N $(url)/$$tarball ; \
+	done
+
+$(sha1s): %.$(suffix).sha1sum : %.$(suffix)
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)