From 8bde151e5c147bf84ed98f54512d50c81e1f1587 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 20 May 2012 00:28:07 +0200 Subject: package: add webrtc-audio-processing library Optional dependency to pulseaudio >= 2.0 Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/webrtc-audio-processing/Config.in | 11 +++++++++++ package/webrtc-audio-processing/webrtc-audio-processing.mk | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 package/webrtc-audio-processing/Config.in create mode 100644 package/webrtc-audio-processing/webrtc-audio-processing.mk diff --git a/package/Config.in b/package/Config.in index 359ba4759..360f04fe8 100644 --- a/package/Config.in +++ b/package/Config.in @@ -288,6 +288,7 @@ source "package/portaudio/Config.in" source "package/speex/Config.in" source "package/taglib/Config.in" source "package/tremor/Config.in" +source "package/webrtc-audio-processing/Config.in" endmenu menu "Compression and decompression" diff --git a/package/webrtc-audio-processing/Config.in b/package/webrtc-audio-processing/Config.in new file mode 100644 index 000000000..e33fc57db --- /dev/null +++ b/package/webrtc-audio-processing/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING + bool "webrtc-audio-processing" + depends on BR2_INSTALL_LIBSTDCPP + help + AudioProcessing library based on Google's implementation of + WebRTC. + + http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/ + +comment "webrtc-audio-processing requires a toolchain with C++ support enabled" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/webrtc-audio-processing/webrtc-audio-processing.mk b/package/webrtc-audio-processing/webrtc-audio-processing.mk new file mode 100644 index 000000000..22ade1a77 --- /dev/null +++ b/package/webrtc-audio-processing/webrtc-audio-processing.mk @@ -0,0 +1,10 @@ +WEBRTC_AUDIO_PROCESSING_VERSION = 0.1 +WEBRTC_AUDIO_PROCESSING_SOURCE = webrtc-audio-processing-$(WEBRTC_AUDIO_PROCESSING_VERSION).tar.xz +WEBRTC_AUDIO_PROCESSING_SITE = http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/ +WEBRTC_AUDIO_PROCESSING_INSTALL_STAGING = YES + +ifeq ($(BR2_SOFT_FLOAT),y) +WEBRTC_AUDIO_PROCESSING_CONF_OPT += --with-ns-mode=fixed +endif + +$(eval $(call AUTOTARGETS)) -- cgit v1.2.3