git: ca8a8ebe1090 - main - net-im/neochat: update against libquotient 0.8

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Mon, 17 Jul 2023 14:39:48 UTC
The branch main has been updated by adridg:

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

commit ca8a8ebe109035902fcfc3c842a77b581fc4e4f5
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-07-17 13:13:43 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-07-17 14:39:44 +0000

    net-im/neochat: update against libquotient 0.8
    
    Includes work from rakuco@ https://reviews.freebsd.org/D41046
---
 net-im/neochat/Makefile | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/net-im/neochat/Makefile b/net-im/neochat/Makefile
index 722297cc3ec1..df345178aa6b 100644
--- a/net-im/neochat/Makefile
+++ b/net-im/neochat/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	neochat
 DISTVERSION=	${KDE_APPLICATIONS_VERSION}
+PORTREVISION=	1
 CATEGORIES=	net-im deskutils kde kde-applications
 
 MAINTAINER=	kde@FreeBSD.org
@@ -10,8 +11,9 @@ LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-3.0-only.txt
 
 LIB_DEPENDS=	libcmark.so:textproc/cmark \
-		libqt5keychain.so:security/qtkeychain@qt5
-BUILD_DEPENDS=	libquotient>=0.6.11:net-im/libquotient \
+		libqt5keychain.so:security/qtkeychain@qt5 \
+		libolm.so:security/olm
+BUILD_DEPENDS=	libquotient>=0.8:net-im/libquotient \
 		kquickimageeditor>=0.2.0:graphics/kquickimageeditor \
 		kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons \
 		${LOCALBASE}/include/qcoro5/qcoro/qcoro.h:devel/qcoro@qt5
@@ -19,11 +21,12 @@ BUILD_DEPENDS=	libquotient>=0.6.11:net-im/libquotient \
 RUN_DEPENDS=	kquickimageeditor>=0.2.0:graphics/kquickimageeditor \
 		kirigami-addons>=0.6.1:x11-toolkits/kirigami-addons
 
-USES=		cmake desktop-file-utils gl kde:5 pkgconfig qt:5 tar:xz
+USES=		cmake compiler:c++20-lang desktop-file-utils gl kde:5 \
+		pkgconfig qt:5 tar:xz
 USE_GL=		gl
 USE_QT=		concurrent core dbus declarative graphicaleffects gui imageformats \
 		multimedia network quickcontrols quickcontrols2 \
-		svg widgets xml \
+		sql svg widgets xml \
 		buildtools:build linguist:build qmake:build
 USE_KDE=	auth codecs completion config configwidgets coreaddons dbusaddons \
 		i18n itemmodels jobwidgets kio kirigami2 service solid sonnet \
@@ -37,12 +40,12 @@ USE_XORG=	x11
 .if ${ARCH:Mpowerpc*}
 CXX=		clang++${LLVM_VERSION}
 USES+=		llvm:min=16
-.else
+.elif ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
 # Work around compiler bug, see pr: 272285
 USES+=		llvm
-CC=		${LLVM_PREFIX}/bin/clang
-CPP=		${LLVM_PREFIX}/bin/clang-cpp
-CXX=		${LLVM_PREFIX}/bin/clang++
+CC=		clang${LLVM_VERSION}
+CPP=		clang-cpp${LLVM_VERSION}
+CXX=		clang++${LLVM_VERSION}
 .endif
 
 .include <bsd.port.mk>