git: cad2757f5c6b - main - net/freeswitch: add mod_shout to the build

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Thu, 29 May 2025 20:24:06 UTC
The branch main has been updated by pi:

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

commit cad2757f5c6bc154c8b363e17c594b7445d84310
Author:     Kurt Jaeger <pi@FreeBSD.org>
AuthorDate: 2025-05-29 20:03:00 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2025-05-29 20:24:01 +0000

    net/freeswitch: add mod_shout to the build
    
    Reported-by:    Simon Matter <simon.matter@invoca.ch>
---
 net/freeswitch/Makefile  | 3 +++
 net/freeswitch/pkg-plist | 1 +
 2 files changed, 4 insertions(+)

diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile
index 1e984a765345..cf391214f2a4 100644
--- a/net/freeswitch/Makefile
+++ b/net/freeswitch/Makefile
@@ -31,6 +31,7 @@ LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
 		libodbc.so:databases/unixODBC \
 		libpng.so:graphics/png \
 		libjbig.so:graphics/jbigkit \
+		libshout.so:audio/libshout \
 		libtiff.so:graphics/tiff \
 		libuuid.so:misc/e2fsprogs-libuuid \
 		libmariadb.so:databases/mariadb-connector-c \
@@ -190,6 +191,8 @@ post-patch:
 			${WRKSRC}/modules.conf
 		${REINPLACE_CMD} -Ee 's|^(endpoints/mod_verto)|#\1|' \
 			${WRKSRC}/modules.conf
+		${REINPLACE_CMD} -Ee 's|^#(formats/mod_shout)|\1|' \
+			${WRKSRC}/modules.conf
 
 post-patch-PGSQL-off:
 		${REINPLACE_CMD} -Ee 's|^(databases/mod_pgsql)|#\1|' ${WRKSRC}/modules.conf
diff --git a/net/freeswitch/pkg-plist b/net/freeswitch/pkg-plist
index 762c4872bc53..7c2dba2f4777 100644
--- a/net/freeswitch/pkg-plist
+++ b/net/freeswitch/pkg-plist
@@ -94,6 +94,7 @@ lib/freeswitch/mod/mod_opus.so
 lib/freeswitch/mod/mod_png.so
 lib/freeswitch/mod/mod_rtc.so
 lib/freeswitch/mod/mod_say_en.so
+lib/freeswitch/mod/mod_shout.so
 lib/freeswitch/mod/mod_skinny.so
 lib/freeswitch/mod/mod_sms.so
 lib/freeswitch/mod/mod_sndfile.so