git: 0ebd2f6ae221 - main - net/sems: Remove librtmp support

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 06 Apr 2024 19:27:32 UTC
The branch main has been updated by diizzy:

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

commit 0ebd2f6ae221b6a334b31a4483e845febaf768f0
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-04-06 19:21:36 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-04-06 19:22:01 +0000

    net/sems: Remove librtmp support
    
    Legacy library that's superseded by FFmpeg
    Planned deprecation via PR 277418
    
    PR:             277815
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 net/sems/Makefile  | 5 ++---
 net/sems/pkg-plist | 2 --
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/net/sems/Makefile b/net/sems/Makefile
index baf1314f4072..a16818a51de1 100644
--- a/net/sems/Makefile
+++ b/net/sems/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	sems
 DISTVERSION=	${SEMS_VERSION}.g20200510
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net
 
 MAINTAINER=	nwhitehorn@FreeBSD.org
@@ -13,7 +13,6 @@ LICENSE_FILE=	${WRKSRC}/doc/COPYING
 LIB_DEPENDS=	libopus.so:audio/opus \
 		libcodec2.so:audio/codec2 \
 		libevent.so:devel/libevent \
-		librtmp.so:multimedia/librtmp \
 		libilbc.so:net/ilbc \
 		libgsm.so:audio/gsm \
 		libsamplerate.so:audio/libsamplerate \
@@ -34,7 +33,7 @@ CFLAGS+=	-Wno-reorder
 CMAKE_ARGS=	-DSEMS_CFG_PREFIX=${PREFIX} -DSEMS_AUDIO_PREFIX=${PREFIX}/lib \
 		-DSEMS_EXEC_PREFIX=${PREFIX} -DSEMS_DOC_PREFIX=${PREFIX}/share/doc
 CMAKE_ON=	SEMS_USE_SPANDSP SEMS_USE_LIBSAMPLERATE SEMS_USE_OPUS \
-		SEMS_USE_OPENSSL
+		SEMS_USE_OPENSSL CMAKE_DISABLE_FIND_PACKAGE_Librtmp
 
 USE_RC_SUBR=	sems
 
diff --git a/net/sems/pkg-plist b/net/sems/pkg-plist
index f49bf268f48c..3dd7d0f5004b 100644
--- a/net/sems/pkg-plist
+++ b/net/sems/pkg-plist
@@ -27,7 +27,6 @@
 @sample %%ETCDIR%%/etc/refuse.sbcprofile.conf.sample
 @sample %%ETCDIR%%/etc/reg_agent.conf.sample
 @sample %%ETCDIR%%/etc/replytranslate.sbcprofile.conf.sample
-@sample %%ETCDIR%%/etc/rtmp.conf.sample
 @sample %%ETCDIR%%/etc/sbc.conf.sample
 @sample %%ETCDIR%%/etc/src_ipmap.conf.sample
 @sample %%ETCDIR%%/etc/sst_b2b.sbcprofile.conf.sample
@@ -168,7 +167,6 @@ lib/sems/plug-in/opus.so
 lib/sems/plug-in/precoded_announce.so
 lib/sems/plug-in/reg_agent.so
 lib/sems/plug-in/registrar_client.so
-lib/sems/plug-in/rtmp.so
 lib/sems/plug-in/sbc.so
 lib/sems/plug-in/session_timer.so
 lib/sems/plug-in/speex.so