Skip to content

Commit

Permalink
net/mediastreamer: Update to 5.1.55
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Zirias committed Sep 5, 2022
1 parent 479a501 commit bc33378
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
15 changes: 10 additions & 5 deletions net/mediastreamer/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= mediastreamer
PORTVERSION= 5.1.43
DISTVERSION= 5.1.55
CATEGORIES= net

MAINTAINER= bofh@FreeBSD.org
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions net/mediastreamer/distinfo
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions net/mediastreamer/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc33378

Please sign in to comment.