diff --git a/deskutils/qownnotes/Makefile b/deskutils/qownnotes/Makefile index 85f92fa203b4..079e9be6ff6b 100644 --- a/deskutils/qownnotes/Makefile +++ b/deskutils/qownnotes/Makefile @@ -1,46 +1,38 @@ 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}/ MAINTAINER= stobbsm@gmail.com COMMENT= Markdown note taking program with cloud integration 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 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