git: 8bd89ab595cb - main - deskutils/qownnotes: the port had been updated to version 26.3.3

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Fri, 06 Mar 2026 07:05:43 UTC
The branch main has been updated by danfe:

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

commit 8bd89ab595cb9f03ab29068b1a0c08795d438781
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-03-06 07:04:40 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-03-06 07:04:40 +0000

    deskutils/qownnotes: the port had been updated to version 26.3.3
    
    Reduce vertical space to help Makefile maintainability by merging
    sporadic use of helpers and two per-flavor conditionals into one;
    drop needless default flavor assignment.
---
 deskutils/qownnotes/Makefile | 26 +++++++++-----------------
 deskutils/qownnotes/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/deskutils/qownnotes/Makefile b/deskutils/qownnotes/Makefile
index 85f92fa203b4..079e9be6ff6b 100644
--- a/deskutils/qownnotes/Makefile
+++ b/deskutils/qownnotes/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	qownnotes
-DISTVERSION=	25.9.3
-PORTREVISION=	2
+DISTVERSION=	26.3.3
 CATEGORIES=	deskutils
 MASTER_SITES=	https://github.com/pbek/QOwnNotes/releases/download/v${DISTVERSION}/
 
@@ -10,37 +9,30 @@ WWW=		https://www.qownnotes.org/
 
 LICENSE=	GPLv2
 
-FLAVORS=	qt6 qt5
-FLAVOR?=	${FLAVORS:[1]}
-qt5_PKGNAMESUFFIX=	-qt5
-
-qt6_LIB_DEPENDS=	libbotan-3.so:security/botan3 \
-			libgit2.so:devel/libgit2
-qt5_RUN_DEPENDS=	git:devel/git
-
 USES=		gl pkgconfig tar:xz xorg
 USE_GL=		gl
 USE_XORG=	x11
 
+FLAVORS=	qt6 qt5
+
 .if ${FLAVOR:U} == qt5
+RUN_DEPENDS=	git:devel/git
 USES+=		gmake qmake qt:5
 USE_QT=		buildtools:build linguisttools:build sql-sqlite3:run \
 		concurrent core declarative gui network printsupport \
 		sql svg websockets widgets x11extras xml
+PKGNAMESUFFIX=	-${FLAVOR}
 .else
+LIB_DEPENDS=	libbotan-3.so:security/botan3 \
+		libgit2.so:devel/libgit2
+CMAKE_ON=	BUILD_WITH_LIBGIT2 BUILD_WITH_SYSTEM_BOTAN QON_QT6_BUILD
 USES+=		cmake qt:6
 USE_QT=		tools:build base declarative svg websockets
 USE_XORG+=	ice sm xext
-.endif
-
-.if ${FLAVOR:U} == qt6
-CMAKE_ON=	BUILD_WITH_LIBGIT2 \
-		BUILD_WITH_SYSTEM_BOTAN \
-		QON_QT6_BUILD
-.endif
 
 post-patch:
 	@${REINPLACE_CMD} -e '/QON_QM_FILES/s,QOwnNotes,${_QT_RELNAME},' \
 		${WRKSRC}/CMakeLists.txt
+.endif
 
 .include <bsd.port.mk>
diff --git a/deskutils/qownnotes/distinfo b/deskutils/qownnotes/distinfo
index 19557657a0df..7dcceef127a0 100644
--- a/deskutils/qownnotes/distinfo
+++ b/deskutils/qownnotes/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1757614627
-SHA256 (qownnotes-25.9.3.tar.xz) = 079c4a65a6b260d0a57f4d8ef0a1d77eaac35fba1b4bad5d3c05bdf7dc67f44a
-SIZE (qownnotes-25.9.3.tar.xz) = 5595460
+TIMESTAMP = 1772661575
+SHA256 (qownnotes-26.3.3.tar.xz) = d93fb6fb6b5e04205f71a0107ccdd75a2305aaccc54506aacc8eae2e02270cbb
+SIZE (qownnotes-26.3.3.tar.xz) = 5708000