Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 00:16:10 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5616526a7246 - main - audio/webrtc-audio-processing2: add new port
Message-ID:  <202501230016.50N0GAnQ089451@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5616526a7246199c5a7d1e5a5f5bb223ab2e0e1c

commit 5616526a7246199c5a7d1e5a5f5bb223ab2e0e1c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2025-01-08 16:58:17 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2025-01-23 00:14:47 +0000

    audio/webrtc-audio-processing2: add new port
    
    Same as webrtc-audio-processing0 and webrtc-audio-processing but
    different WebRTC version thus slightly different API.
    
    Changes:        https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/releases/v2.0
    Reported by:    GitLab (notify releases)
---
 audio/Makefile                           |  1 +
 audio/webrtc-audio-processing2/Makefile  | 21 +++++++++++++++++++++
 audio/webrtc-audio-processing2/distinfo  |  3 +++
 audio/webrtc-audio-processing2/pkg-descr | 10 ++++++++++
 audio/webrtc-audio-processing2/pkg-plist | 20 ++++++++++++++++++++
 5 files changed, 55 insertions(+)

diff --git a/audio/Makefile b/audio/Makefile
index c860b595446c..2d00fa59b269 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -847,6 +847,7 @@
     SUBDIR += wavplay
     SUBDIR += webrtc-audio-processing
     SUBDIR += webrtc-audio-processing0
+    SUBDIR += webrtc-audio-processing2
     SUBDIR += welle.io
     SUBDIR += whysynth
     SUBDIR += wildmidi
diff --git a/audio/webrtc-audio-processing2/Makefile b/audio/webrtc-audio-processing2/Makefile
new file mode 100644
index 000000000000..f4bb871546cb
--- /dev/null
+++ b/audio/webrtc-audio-processing2/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	webrtc-audio-processing
+DISTVERSION=	2.0
+CATEGORIES=	audio
+MASTER_SITES=	https://freedesktop.org/software/pulseaudio/${PORTNAME}/
+PKGNAMESUFFIX=	2
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	AudioProcessing module from WebRTC project (newer API)
+WWW=		https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libabsl_strings.so:devel/abseil
+
+USES=		compiler:c++17-lang meson pkgconfig
+USE_LDCONFIG=	yes
+MESON_ARGS=	${ARCH:Mi386:C/.+/-Dinline-sse=false/} \
+		${ARCH:Narmv?:Naarch64:C/.+/-Dneon=disabled/}
+
+.include <bsd.port.mk>
diff --git a/audio/webrtc-audio-processing2/distinfo b/audio/webrtc-audio-processing2/distinfo
new file mode 100644
index 000000000000..e4364c917291
--- /dev/null
+++ b/audio/webrtc-audio-processing2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1736355497
+SHA256 (webrtc-audio-processing-2.0.tar.gz) = 6bccf66a821deff2bcf91d579b91379946c4f8a894f46238d0fe11bccc23f30c
+SIZE (webrtc-audio-processing-2.0.tar.gz) = 813321
diff --git a/audio/webrtc-audio-processing2/pkg-descr b/audio/webrtc-audio-processing2/pkg-descr
new file mode 100644
index 000000000000..8557233345ef
--- /dev/null
+++ b/audio/webrtc-audio-processing2/pkg-descr
@@ -0,0 +1,10 @@
+Audio processing routines extracted from WebRTC project into a
+standalone library. It provides the following features:
+
+- Acoustic echo cancellation
+- Acoustic echo control for mobile
+- Automatic gain control
+- High-pass filter
+- Level estimator
+- Noise suppression
+- Voice activity detection
diff --git a/audio/webrtc-audio-processing2/pkg-plist b/audio/webrtc-audio-processing2/pkg-plist
new file mode 100644
index 000000000000..263ea92f49ef
--- /dev/null
+++ b/audio/webrtc-audio-processing2/pkg-plist
@@ -0,0 +1,20 @@
+include/webrtc-audio-processing-2/api/array_view.h
+include/webrtc-audio-processing-2/api/audio/echo_canceller3_config.h
+include/webrtc-audio-processing-2/api/audio/echo_control.h
+include/webrtc-audio-processing-2/api/scoped_refptr.h
+include/webrtc-audio-processing-2/modules/audio_processing/include/audio_processing.h
+include/webrtc-audio-processing-2/modules/audio_processing/include/audio_processing_statistics.h
+include/webrtc-audio-processing-2/rtc_base/arraysize.h
+include/webrtc-audio-processing-2/rtc_base/checks.h
+include/webrtc-audio-processing-2/rtc_base/numerics/safe_compare.h
+include/webrtc-audio-processing-2/rtc_base/ref_count.h
+include/webrtc-audio-processing-2/rtc_base/system/file_wrapper.h
+include/webrtc-audio-processing-2/rtc_base/system/inline.h
+include/webrtc-audio-processing-2/rtc_base/system/rtc_export.h
+include/webrtc-audio-processing-2/rtc_base/type_traits.h
+include/webrtc-audio-processing-2/system_wrappers/include/cpu_features_wrapper.h
+include/webrtc-audio-processing-2/system_wrappers/include/metrics.h
+include/webrtc-audio-processing-2/system_wrappers/include/sleep.h
+lib/libwebrtc-audio-processing-2.so
+lib/libwebrtc-audio-processing-2.so.0
+libdata/pkgconfig/webrtc-audio-processing-2.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501230016.50N0GAnQ089451>