git: 032e2f902bab - main - audio/noise-suppression-for-voice-lv2: Enable the LADSPA plugin

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 09 Jun 2023 15:48:04 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=032e2f902bab916b6398acc29656b4d9ba6230a0

commit 032e2f902bab916b6398acc29656b4d9ba6230a0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-09 15:47:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-09 15:48:01 +0000

    audio/noise-suppression-for-voice-lv2: Enable the LADSPA plugin
---
 audio/noise-suppression-for-voice-lv2/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/audio/noise-suppression-for-voice-lv2/Makefile b/audio/noise-suppression-for-voice-lv2/Makefile
index a0d923612eb6..6b0e2705248f 100644
--- a/audio/noise-suppression-for-voice-lv2/Makefile
+++ b/audio/noise-suppression-for-voice-lv2/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	noise-suppression-for-voice
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.91-2
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-g6466b34
 CATEGORIES=	audio
 PKGNAMESUFFIX=	-lv2
@@ -18,10 +19,13 @@ USES=		cmake compiler:c11
 USE_GITHUB=	yes
 GH_ACCOUNT=	werman
 
-CMAKE_OFF=	BUILD_VST_PLUGIN BUILD_LADSPA_PLUGIN # https://github.com/werman/noise-suppression-for-voice/issues/65
+CMAKE_OFF=	BUILD_VST_PLUGIN # https://github.com/werman/noise-suppression-for-voice/issues/65
 
-PLIST_FILES=	lib/lv2/rnnoise.lv2/manifest.ttl \
+PLIST_FILES=	lib/ladspa/librnnoise_ladspa.so \
+		lib/lv2/rnnoise.lv2/manifest.ttl \
 		lib/lv2/rnnoise.lv2/rnnoise.ttl \
 		lib/lv2/rnnoise.lv2/rnnoise_lv2.so
 
+# the LADSPA plugin can be used directly from PulseAudio's config file
+
 .include <bsd.port.mk>