git: bc333785c4db - main - net/mediastreamer: Update to 5.1.55

From: Felix Palmen <zirias_at_FreeBSD.org>
Date: Mon, 05 Sep 2022 16:37:17 UTC
The branch main has been updated by zirias:

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

commit bc333785c4dbe2d42d47c51656cf15b3db2d53bc
Author:     Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2022-08-24 09:13:52 +0000
Commit:     Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2022-09-05 16:36:20 +0000

    net/mediastreamer: Update to 5.1.55
    
    Add QTGL option and enable it by default, this is needed by net/linphone
    for working video calls.
    
    Changelog: https://gitlab.linphone.org/BC/public/mediastreamer2/-/tags
    
    PR:                     266006, 266017
    Approved by:            bofh (maintainer, via IRC), tcberner (mentor)
    Suggested by:           Ruslan Zalata <rz@fabmicro.ru>
    Differential Revision:  https://reviews.freebsd.org/D36458
---
 net/mediastreamer/Makefile  | 15 ++++++++++-----
 net/mediastreamer/distinfo  |  6 +++---
 net/mediastreamer/pkg-plist |  1 +
 3 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/net/mediastreamer/Makefile b/net/mediastreamer/Makefile
index 5c18fbb38c86..96c7fcd72d67 100644
--- a/net/mediastreamer/Makefile
+++ b/net/mediastreamer/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mediastreamer
-PORTVERSION=	5.1.43
+DISTVERSION=	5.1.55
 CATEGORIES=	net
 
 MAINTAINER=	bofh@FreeBSD.org
@@ -19,7 +19,7 @@ USE_GITLAB=	yes
 GL_SITE=	https://gitlab.linphone.org/BC
 GL_ACCOUNT=	public
 GL_PROJECT=	${PORTNAME}2
-GL_COMMIT=	bdd96a6c47faeff1d88fff2bf64ec9274c0b2b9d
+GL_COMMIT=	a48ff7d92ddfdce17f47cf71b1867ed85fc826cd
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 
@@ -38,17 +38,18 @@ CMAKE_ARGS=	-DCMAKE_PREFIX_PATH=${LOCALBASE} \
 LDFLAGS+=	-pthread
 
 OPTIONS_DEFINE=		MATROSKA VIDEO
-OPTIONS_DEFAULT=	FFMPEG G729 GLX GSM MATROSKA OPUS SPEEX THEORA V4L \
-			VIDEO VPX XVIDEO
+OPTIONS_DEFAULT=	FFMPEG G729 GLX GSM MATROSKA OPUS QTGL SPEEX THEORA \
+			V4L VIDEO VPX XVIDEO
 OPTIONS_GROUP=		AUDIOOPT VIDEOOPT
 OPTIONS_GROUP_AUDIOOPT=	G726 G729 GSM OPUS SPEEX
-OPTIONS_GROUP_VIDEOOPT=	FFMPEG GLX THEORA V4L VPX XVIDEO
+OPTIONS_GROUP_VIDEOOPT=	FFMPEG GLX QTGL THEORA V4L VPX XVIDEO
 OPTIONS_SUB=		yes
 
 AUDIOOPT_DESC=	Audio options
 G726_DESC=		G.726 codec support
 G729_DESC=		G.729 codec support
 VIDEOOPT_DESC=	Video options
+QTGL_DESC=		Qt OpenGL rendering support
 
 FFMPEG_IMPLIES=		VIDEO
 FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
@@ -67,6 +68,10 @@ MATROSKA_LIB_DEPENDS=	libbcmatroska2.so:multimedia/bcmatroska2
 MATROSKA_CMAKE_BOOL=	ENABLE_MKV
 OPUS_LIB_DEPENDS=	libopus.so:audio/opus
 OPUS_CMAKE_BOOL=	ENABLE_OPUS
+QTGL_IMPLIES=	VIDEO
+QTGL_USES=	qt:5
+QTGL_USE=	QT=core,declarative,gui,network,buildtools_build,qmake_build
+QTGL_CMAKE_BOOL=	ENABLE_QT_GL
 SPEEX_LIB_DEPENDS=	libspeex.so:audio/speex
 SPEEX_CMAKE_BOOL=	ENABLE_SPEEX_CODEC
 THEORA_IMPLIES=		VIDEO
diff --git a/net/mediastreamer/distinfo b/net/mediastreamer/distinfo
index 1372c9d7af13..f8b16b92d768 100644
--- a/net/mediastreamer/distinfo
+++ b/net/mediastreamer/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655325691
-SHA256 (public-mediastreamer2-bdd96a6c47faeff1d88fff2bf64ec9274c0b2b9d_GL0.tar.gz) = 656e7dbb65d3f7b1773e178193f7d44226820d32b5cb6478afc89191e3d8a182
-SIZE (public-mediastreamer2-bdd96a6c47faeff1d88fff2bf64ec9274c0b2b9d_GL0.tar.gz) = 25309406
+TIMESTAMP = 1661322319
+SHA256 (public-mediastreamer2-a48ff7d92ddfdce17f47cf71b1867ed85fc826cd_GL0.tar.gz) = 68cd1a45af7d07774c830c8f0e545b3af1b98d80aca25f517434d01c793f44b0
+SIZE (public-mediastreamer2-a48ff7d92ddfdce17f47cf71b1867ed85fc826cd_GL0.tar.gz) = 25305400
diff --git a/net/mediastreamer/pkg-plist b/net/mediastreamer/pkg-plist
index cb58ca82cfac..242af03464ac 100644
--- a/net/mediastreamer/pkg-plist
+++ b/net/mediastreamer/pkg-plist
@@ -78,6 +78,7 @@ include/mediastreamer2/x11_helper.h
 include/mediastreamer2/zrtp.h
 lib/libmediastreamer.so
 lib/libmediastreamer.so.11
+%%QTGL%%lib/mediastreamer/plugins/libmsqogl.so
 share/Mediastreamer2/cmake/Mediastreamer2Config.cmake
 share/Mediastreamer2/cmake/Mediastreamer2ConfigVersion.cmake
 share/Mediastreamer2/cmake/Mediastreamer2Targets-%%CMAKE_BUILD_TYPE%%.cmake