summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2020-07-30 10:16:16 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-07-30 12:10:35 +0200
commit92f5518b3062e8335847a54b32afebea93ac731b (patch)
tree750cb55fa1913e72cf5c94a44d8cafa440332f94
parentb763b8560c3570f5b6c18f6600775560c153cc32 (diff)
downloadptxdist-92f5518b3062e8335847a54b32afebea93ac731b.tar.gz
ptxdist-92f5518b3062e8335847a54b32afebea93ac731b.tar.xz
webrtc-audio-processing: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/webrtc-audio-processing.in8
-rw-r--r--rules/webrtc-audio-processing.make62
2 files changed, 70 insertions, 0 deletions
diff --git a/rules/webrtc-audio-processing.in b/rules/webrtc-audio-processing.in
new file mode 100644
index 000000000..dc4185bf4
--- /dev/null
+++ b/rules/webrtc-audio-processing.in
@@ -0,0 +1,8 @@
+## SECTION=multimedia_sound
+
+config WEBRTC_AUDIO_PROCESSING
+ tristate
+ prompt "webrtc-audio-processing"
+ help
+ Audio processing library (echo-cancellation, gain control etc)
+ around the AudioProcessing module from the WebRTC project
diff --git a/rules/webrtc-audio-processing.make b/rules/webrtc-audio-processing.make
new file mode 100644
index 000000000..b59ee3f42
--- /dev/null
+++ b/rules/webrtc-audio-processing.make
@@ -0,0 +1,62 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_WEBRTC_AUDIO_PROCESSING) += webrtc-audio-processing
+
+#
+# Paths and names
+#
+WEBRTC_AUDIO_PROCESSING_VERSION := 0.3.1
+WEBRTC_AUDIO_PROCESSING_MD5 := 6e10724ca34bcbc715a4c208273acb0c
+WEBRTC_AUDIO_PROCESSING := webrtc-audio-processing-$(WEBRTC_AUDIO_PROCESSING_VERSION)
+WEBRTC_AUDIO_PROCESSING_SUFFIX := tar.xz
+WEBRTC_AUDIO_PROCESSING_URL := http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/$(WEBRTC_AUDIO_PROCESSING).$(WEBRTC_AUDIO_PROCESSING_SUFFIX)
+WEBRTC_AUDIO_PROCESSING_SOURCE := $(SRCDIR)/$(WEBRTC_AUDIO_PROCESSING).$(WEBRTC_AUDIO_PROCESSING_SUFFIX)
+WEBRTC_AUDIO_PROCESSING_DIR := $(BUILDDIR)/$(WEBRTC_AUDIO_PROCESSING)
+WEBRTC_AUDIO_PROCESSING_LICENSE := BSD-3-Clause
+WEBRTC_AUDIO_PROCESSING_LICENSE_FILES := \
+ file://COPYING;md5=da08a38a32a340c5d91e13ee86a118f2 \
+ file://webrtc/common_types.cc;startline=1;endline=9;md5=cf8bceb850480c360f23d2a217437370
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+WEBRTC_AUDIO_PROCESSING_CONF_TOOL := autoconf
+WEBRTC_AUDIO_PROCESSING_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --$(call ptx/endis, PTXCONF_ARCH_ARM_NEON)-neon \
+ --with-ns-mode=float \
+ --without-gnustl
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/webrtc-audio-processing.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, webrtc-audio-processing)
+ @$(call install_fixup, webrtc-audio-processing,PRIORITY,optional)
+ @$(call install_fixup, webrtc-audio-processing,SECTION,base)
+ @$(call install_fixup, webrtc-audio-processing,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, webrtc-audio-processing,DESCRIPTION,missing)
+
+ @$(call install_lib, webrtc-audio-processing, 0, 0, 0644, libwebrtc_audio_processing)
+
+ @$(call install_finish, webrtc-audio-processing)
+
+ @$(call touch)
+
+# vim: syntax=make