git: 8139845ce3a5 - main - audio/baresip: Update to 3.4.0

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Sat, 09 Sep 2023 19:00:50 UTC
The branch main has been updated by rodrigo:

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

commit 8139845ce3a5d587f09abb7523c23a4314ea011a
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-09-09 16:02:10 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-09-09 19:00:40 +0000

    audio/baresip: Update to 3.4.0
    
    Full changelog: https://github.com/baresip/baresip/blob/main/CHANGELOG.md
---
 audio/baresip/Makefile  | 17 ++++++++++-------
 audio/baresip/distinfo  |  6 +++---
 audio/baresip/pkg-plist |  2 +-
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/audio/baresip/Makefile b/audio/baresip/Makefile
index 99fada822bc3..850d9852924b 100644
--- a/audio/baresip/Makefile
+++ b/audio/baresip/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	baresip
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.12.0
-PORTREVISION=	1
+DISTVERSION=	3.4.0
 CATEGORIES=	audio
 
 MAINTAINER=	ports@FreeBSD.org
@@ -12,7 +11,7 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	re>=${PORTVERSION}:audio/re \
-		rem>=${PORTVERSION}:audio/rem
+		rem>0:audio/rem
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 USES=		cmake ssl pkgconfig
@@ -20,8 +19,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	baresip
 
 # FIXME values of the next 3 variables taken from source code Makefile
-ABI_MAJOR=	4
-ABI_AGE=	12
+ABI_MAJOR=	9
+ABI_AGE=	4
 ABI_REV=	0
 PLIST_SUB=	ABI_MAJOR=${ABI_MAJOR}
 PLIST_SUB+=	ABI_AGE=${ABI_AGE}
@@ -89,7 +88,8 @@ MODULES_LIST:=	$(MODULES_LIST);av1
 .endif
 
 .if ${PORT_OPTIONS:MAVCODEC}
-AVCODEC_DEPEND=	${LOCALBASE}/include/libavcodec/avcodec.h:multimedia/ffmpeg
+AVCODEC_DEPEND=	${LOCALBASE}/include/libavcodec/avcodec.h:multimedia/ffmpeg \
+			libdrm>0:graphics/libdrm
 MODULES_LIST:=	$(MODULES_LIST);avcodec
 .endif
 
@@ -161,6 +161,7 @@ MODULES_LIST:=	$(MODULES_LIST);pulse
 .if ${PORT_OPTIONS:MSDL}
 USES+=		sdl
 USE_SDL=	sdl2
+SDLDEPEND=	mesa-libs>0:graphics/mesa-libs
 MODULES_LIST:=	$(MODULES_LIST);sdl
 .endif
 
@@ -180,7 +181,9 @@ MODULES_LIST:=	$(MODULES_LIST);swscale
 .endif
 
 .if ${PORT_OPTIONS:MV4L2}
-V4L2_DEPEND=	${LOCALBASE}/include/libv4l2.h:multimedia/libv4l
+V4L2_DEPEND=	${LOCALBASE}/include/libv4l2.h:multimedia/libv4l \
+                v4l_compat>0:multimedia/v4l_compat
+
 MODULES_LIST:=	$(MODULES_LIST);v4l2
 .endif
 
diff --git a/audio/baresip/distinfo b/audio/baresip/distinfo
index fe5da9b14876..16becde7a94e 100644
--- a/audio/baresip/distinfo
+++ b/audio/baresip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679633459
-SHA256 (baresip-baresip-v2.12.0_GH0.tar.gz) = 784dceac625094367a8d4983ca1e432e51742d614e1be8e75ab3d1804bdaa80d
-SIZE (baresip-baresip-v2.12.0_GH0.tar.gz) = 1125719
+TIMESTAMP = 1693300060
+SHA256 (baresip-baresip-v3.4.0_GH0.tar.gz) = ffb73d1892c9f6ab6528178943252ae213697c762eddd8fdaab95bbcf6f32dac
+SIZE (baresip-baresip-v3.4.0_GH0.tar.gz) = 1140981
diff --git a/audio/baresip/pkg-plist b/audio/baresip/pkg-plist
index d2a19ad5020f..b84560806ab4 100644
--- a/audio/baresip/pkg-plist
+++ b/audio/baresip/pkg-plist
@@ -13,7 +13,7 @@ lib/baresip/modules/ausine.so
 %%AVFORMAT%%lib/baresip/modules/avformat.so
 lib/baresip/modules/cons.so
 lib/baresip/modules/contact.so
-%%CTRL_DBUS%%lib/baresip/modules/ctrl_dbus.so
+@comment %%CTRL_DBUS%%lib/baresip/modules/ctrl_dbus.so
 lib/baresip/modules/ctrl_tcp.so
 lib/baresip/modules/debug_cmd.so
 lib/baresip/modules/dtls_srtp.so