git: aa197e65df14 - main - net/ortp: Fix build

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 15 Jun 2022 20:44:48 UTC
The branch main has been updated by bofh:

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

commit aa197e65df14128bb988f220c012de0e7dc7b4c9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-06-15 20:42:01 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-06-15 20:44:41 +0000

    net/ortp: Fix build
    
    - After net/bctoolbox has been upgraded most of the dependent ports are
      broken
    - Upgrade version 1.0.2=>5.1.32
    - Switch MASTER_SITES to GL_SITES
    - Switch LICENSE from GPLv2+ to GPLv3
    
    Approved by:    portmgr (blanket)
    Relnotes: https://gitlab.linphone.org/BC/public/ortp/-/tags/5.1.32
---
 net/ortp/Makefile  | 16 +++++++++-------
 net/ortp/distinfo  |  6 +++---
 net/ortp/pkg-plist | 12 +++++++-----
 3 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/net/ortp/Makefile b/net/ortp/Makefile
index 7c67547eb617..db863827e27b 100644
--- a/net/ortp/Makefile
+++ b/net/ortp/Makefile
@@ -1,24 +1,26 @@
 # Created by: Maxim Sobolev <sobomax@FreeBSD.org>
 
 PORTNAME=	ortp
-PORTVERSION=	1.0.2
-PORTREVISION=	2
+PORTVERSION=	5.1.32
 CATEGORIES=	net
-MASTER_SITES=	https://www.linphone.org/releases/sources/ortp/
 
 MAINTAINER=	sobomax@FreeBSD.org
 COMMENT=	Real-time Transport Protocol (RTP) library
 
-LICENSE=	GPLv2+
-LICENSE_FILE=	${WRKSRC}/COPYING
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 LIB_DEPENDS=	libbctoolbox.so:net/bctoolbox
 
 USES=		cmake compiler:c11
+USE_GITLAB=	yes
+GL_SITE=	https://gitlab.linphone.org/BC
+GL_ACCOUNT=	public
+GL_COMMIT=	23439fba3b800c2fdb105af748ca018f51146d57
 USE_LDCONFIG=	yes
 
-CMAKE_ARGS=	-DENABLE_DOC=NO -DENABLE_STATIC=NO -DENABLE_STRICT=NO
-WRKSRC=		${WRKDIR}/${DISTNAME}-0
+CMAKE_ARGS=	-DENABLE_DOC=NO -DENABLE_STATIC=NO -DENABLE_STRICT=NO \
+			-DCMAKE_PREFIX_PATH=${LOCALBASE}
 
 post-install:
 	${RM} -r ${STAGEDIR}${PREFIX}/share/doc/${DISTNAME}
diff --git a/net/ortp/distinfo b/net/ortp/distinfo
index a986d4e2793e..f46c5891b86f 100644
--- a/net/ortp/distinfo
+++ b/net/ortp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506000045
-SHA256 (ortp-1.0.2.tar.gz) = a51551194332ac62b47865dc1e60893ece4922c489a7b0a780b8be562978d804
-SIZE (ortp-1.0.2.tar.gz) = 223758
+TIMESTAMP = 1655323910
+SHA256 (public-ortp-23439fba3b800c2fdb105af748ca018f51146d57_GL0.tar.gz) = 15ee76dbcef92893fa5ef99ca6554fc38e533f3537e784b8c88bd39e6006d308
+SIZE (public-ortp-23439fba3b800c2fdb105af748ca018f51146d57_GL0.tar.gz) = 240154
diff --git a/net/ortp/pkg-plist b/net/ortp/pkg-plist
index 8bef2f109ef9..6a2a69748c49 100644
--- a/net/ortp/pkg-plist
+++ b/net/ortp/pkg-plist
@@ -1,6 +1,8 @@
 include/ortp/b64.h
 include/ortp/event.h
+include/ortp/fecstream.h
 include/ortp/logging.h
+include/ortp/nack.h
 include/ortp/ortp.h
 include/ortp/payloadtype.h
 include/ortp/port.h
@@ -13,10 +15,10 @@ include/ortp/sessionset.h
 include/ortp/str_utils.h
 include/ortp/telephonyevents.h
 include/ortp/utils.h
+lib/cmake/ortp/ortpConfig.cmake
+lib/cmake/ortp/ortpConfigVersion.cmake
+lib/cmake/ortp/ortpTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/ortp/ortpTargets.cmake
 lib/libortp.so
-lib/libortp.so.13
+lib/libortp.so.15
 libdata/pkgconfig/ortp.pc
-share/oRTP/cmake/ORTPConfig.cmake
-share/oRTP/cmake/ORTPConfigVersion.cmake
-share/oRTP/cmake/ORTPTargets-%%CMAKE_BUILD_TYPE%%.cmake
-share/oRTP/cmake/ORTPTargets.cmake