git: cd1549dcf74b - main - multimedia/emby-server-(devel): switch to gnutls

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Fri, 26 Apr 2024 16:58:20 UTC
The branch main has been updated by driesm:

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

commit cd1549dcf74b30b8c22250d6d3df6264d1109685
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2024-04-24 06:32:48 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-04-26 16:55:42 +0000

    multimedia/emby-server-(devel): switch to gnutls
    
    openssl is incompatible with the gpl toggle option
---
 multimedia/emby-server-devel/Makefile | 2 +-
 multimedia/emby-server/Makefile       | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/multimedia/emby-server-devel/Makefile b/multimedia/emby-server-devel/Makefile
index 1800f1557fcf..ab8102450277 100644
--- a/multimedia/emby-server-devel/Makefile
+++ b/multimedia/emby-server-devel/Makefile
@@ -1,5 +1,5 @@
 DISTVERSION=	4.9.0.14
-PORTREVISION=	1
+PORTREVISION=	2
 PKGNAMESUFFIX=	-devel
 
 DIST_SUBDIR=	${PORTNAME}${PKGNAMESUFFIX}
diff --git a/multimedia/emby-server/Makefile b/multimedia/emby-server/Makefile
index c565870489cc..7da6efacc47d 100644
--- a/multimedia/emby-server/Makefile
+++ b/multimedia/emby-server/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	emby-server
 DISTVERSION?=	4.8.3.0
-PORTREVISION?=	4
+PORTREVISION?=	5
 CATEGORIES=	multimedia
 MASTER_SITES=	https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
 		https://mediabrowser.github.io/embytools/
@@ -35,6 +35,7 @@ LIB_DEPENDS=	libaribb24.so:multimedia/aribb24 \
 		libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libfribidi.so:converters/fribidi \
+		libgnutls.so:security/gnutls \
 		libmfx.so:multimedia/intel-media-sdk \
 		libOpenCL.so:devel/ocl-icd \
 		libogg.so:audio/libogg \
@@ -66,7 +67,7 @@ RUN_DEPENDS=	dotnet>0:lang/dotnet \
 		pango>0:x11-toolkits/pango \
 		tiff>0:graphics/tiff
 
-USES=		compiler:c11 gmake iconv localbase:ldflags magick:6 pkgconfig sqlite ssl
+USES=		compiler:c11 gmake iconv localbase:ldflags magick:6 pkgconfig sqlite ssl:run
 USE_RC_SUBR=	${PORTNAME}
 
 HAS_CONFIGURE=	yes
@@ -85,6 +86,7 @@ CONFIGURE_ARGS=	--cc="${CC}" \
 		--disable-xlib \
 		--enable-chromaprint \
 		--enable-fontconfig \
+		--enable-gnutls \
 		--enable-gpl \
 		--enable-iconv \
 		--enable-libaribb24 \
@@ -104,7 +106,6 @@ CONFIGURE_ARGS=	--cc="${CC}" \
 		--enable-libx265 \
 		--enable-libzvbi \
 		--enable-opencl \
-		--enable-openssl \
 		--enable-optimizations \
 		--enable-static \
 		--enable-vaapi \