git: de05cf874d6a - main - net-p2p/tremotesf: Update to 2.6.1

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 28 Mar 2024 09:55:02 UTC
The branch main has been updated by fuz:

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

commit de05cf874d6a6f118cc2a95d1513ce63029f5c94
Author:     Anton Saietskii <vsasjason@gmail.com>
AuthorDate: 2024-03-21 14:59:30 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-03-28 09:50:03 +0000

    net-p2p/tremotesf: Update to 2.6.1
    
    While here, switch default flavor to Qt 6 to be consistent with
    upstream.
    
    PR:             277867
---
 net-p2p/tremotesf/Makefile | 9 +++++----
 net-p2p/tremotesf/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/net-p2p/tremotesf/Makefile b/net-p2p/tremotesf/Makefile
index 5783f0b61922..1410fe0d1232 100644
--- a/net-p2p/tremotesf/Makefile
+++ b/net-p2p/tremotesf/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	tremotesf
-DISTVERSION=	2.6.0
-PORTREVISION=	1
+DISTVERSION=	2.6.1
 CATEGORIES=	net-p2p
 
 MAINTAINER=	vsasjason@gmail.com
@@ -13,7 +12,7 @@ BUILD_DEPENDS=	cxxopts>0:devel/cxxopts
 LIB_DEPENDS=	libfmt.so:devel/libfmt \
 		libpsl.so:dns/libpsl
 
-FLAVORS=	qt5 qt6
+FLAVORS=	qt6 qt5
 FLAVOR?=	${FLAVORS:[1]}
 
 qt5_CONFLICTS_INSTALL=	${PORTNAME}-qt6
@@ -26,11 +25,11 @@ USES=		cmake:testing desktop-file-utils gettext-tools pkgconfig xorg
 USES+=		kde:5 qt:5
 USE_QT=		core dbus gui network widgets buildtools:build concurrent:build \
 		linguisttools:build qmake:build testlib:build
+CMAKE_OFF=	TREMOTESF_QT6
 .else
 USES+=		gl kde:6 qt:6
 USE_GL=		opengl
 USE_QT=		base
-CMAKE_ON=	TREMOTESF_QT6
 .endif
 
 USE_GITHUB=	yes
@@ -42,4 +41,6 @@ GH_TAGNAME=	v0.14.3:httplib
 USE_KDE=	widgetsaddons windowsystem
 USE_XORG=	x11
 
+CMAKE_ARGS+=	-DTREMOTESF_WITH_HTTPLIB=bundled
+
 .include <bsd.port.mk>
diff --git a/net-p2p/tremotesf/distinfo b/net-p2p/tremotesf/distinfo
index 548f2744eab3..f0b50107893a 100644
--- a/net-p2p/tremotesf/distinfo
+++ b/net-p2p/tremotesf/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1707052134
-SHA256 (equeim-tremotesf2-2.6.0_GH0.tar.gz) = 0be5fff67a542a02287088ba0a9d9019ab01d0eef4120243002e011cb65cd37e
-SIZE (equeim-tremotesf2-2.6.0_GH0.tar.gz) = 758704
+TIMESTAMP = 1710932801
+SHA256 (equeim-tremotesf2-2.6.1_GH0.tar.gz) = 4847c0bae6ea5ad25b770c6c8ac7faaa3c2062fb06417847bba3b201ee26497e
+SIZE (equeim-tremotesf2-2.6.1_GH0.tar.gz) = 761558
 SHA256 (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = dcf6486d9030937636d8a4f820ca9531808fd7edb283893dddbaa05f99357e63
 SIZE (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = 1149767