git: ffce6aba1dcb - main - net-p2p/tremotesf: update to 2.7.2

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 20 Sep 2024 17:53:59 UTC
The branch main has been updated by fernape:

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

commit ffce6aba1dcbf36eeea03e8f312bbad9fff0715f
Author:     Anton Saietskii <vsasjason@gmail.com>
AuthorDate: 2024-09-15 16:17:42 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-09-20 17:53:45 +0000

    net-p2p/tremotesf: update to 2.7.2
    
    ChangeLog: https://github.com/equeim/tremotesf2/releases/tag/2.7.2
    
    Accumulated changed:
    
     * Opening download directory of a torrent with some file managers
    
    Added
    
     * Merging trackers when adding existing torrent
     * Add Torrent Link dialogs allows multiple links
     * "None" proxy option to bypass system proxy
    
    Changed
    
     * Removed Debian 11 and Ubuntu 22.04 support - minimum baseline now corresponds
       to Debian 12
     * Removed dependency on Qt Concurrent module
     * Breeze is used as a fallback icon theme and should be installed as a runtime
       dependency
     * Clarified runtime dependency on Qt's SVG image format plugin
     * Notification portal is used for notifications in Flatpak
     * Added workaround for Transmission not showing an error for torrent when all
       trackers have failed
     * Networking and some other async code is rewritten using C++ coroutines.
       Hopefully nothing is broken :)
    
    Fixed
    
     * Mapping of mounted directories working incorrectly in some cases
    
    2.7.1
    Added
    
     * Dialog is shown when fatal error occurs on Windows
     * TREMOTESF_ASAN CMake option to build with AddressSanitizer (off by default)
    
    Fixed
    
     * Performance regression on Windows (and potential performance improvements on
       other platforms)
     * Crash on Windows
     * Issues with mounted directories mapping
    
    PR:             281163
    Reported by:    dsh@bamus.cz
    Approved by:    vsasjason@gmail.com (maintainer)
---
 net-p2p/tremotesf/Makefile | 24 ++++++++++++++----------
 net-p2p/tremotesf/distinfo |  8 +++-----
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/net-p2p/tremotesf/Makefile b/net-p2p/tremotesf/Makefile
index f447dd19bdcf..30de9651e7ce 100644
--- a/net-p2p/tremotesf/Makefile
+++ b/net-p2p/tremotesf/Makefile
@@ -1,9 +1,11 @@
 PORTNAME=	tremotesf
-DISTVERSION=	2.6.3
+DISTVERSION=	2.7.2
 CATEGORIES=	net-p2p
+MASTER_SITES=	https://github.com/equeim/${PORTNAME}2/releases/download/${DISTVERSION}/
 
 MAINTAINER=	vsasjason@gmail.com
 COMMENT=	Remote GUI for transmission-daemon
+WWW=		https://github.com/equeim/${PORTNAME}2
 
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
@@ -20,11 +22,11 @@ qt6_PKGNAMESUFFIX=	-qt6
 qt6_CONFLICTS_INSTALL=	${PORTNAME}
 
 USES=		cmake:testing compiler:c++20-lang desktop-file-utils \
-		gettext-tools pkgconfig xorg
+		gettext-tools pkgconfig tar:zst xorg
 
 .if ${FLAVOR} == qt5
 USES+=		kde:5 qt:5
-USE_QT=		core dbus gui network widgets buildtools:build concurrent:build \
+USE_QT=		core dbus gui network widgets buildtools:build \
 		linguisttools:build qmake:build testlib:build
 CMAKE_OFF=	TREMOTESF_QT6
 .else
@@ -33,15 +35,17 @@ USE_GL=		opengl
 USE_QT=		base
 .endif
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	equeim yhirose:httplib
-GH_PROJECT=	tremotesf2 cpp-httplib:httplib
-GH_SUBDIR=	src/3rdparty/cpp-httplib:httplib
-GH_TAGNAME=	v0.14.3:httplib
-
 USE_KDE=	widgetsaddons windowsystem
 USE_XORG=	x11
 
-CMAKE_ARGS+=	-DTREMOTESF_WITH_HTTPLIB=bundled
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092
+TEST_DEPENDS=	cpp-httplib>0:www/cpp-httplib
+.else
+CMAKE_ARGS=	-DTREMOTESF_WITH_HTTPLIB=none
+EXTRACT_AFTER_ARGS=	--exclude ${DISTNAME}/src/3rdparty/cpp-httplib \
+			--no-same-owner --no-same-permissions
+.endif
 
 .include <bsd.port.mk>
diff --git a/net-p2p/tremotesf/distinfo b/net-p2p/tremotesf/distinfo
index e300d66c3b76..934decef016c 100644
--- a/net-p2p/tremotesf/distinfo
+++ b/net-p2p/tremotesf/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1714473412
-SHA256 (equeim-tremotesf2-2.6.3_GH0.tar.gz) = 5a21b0d8062849eeb45737e998c34224071643b54740647c510f4cff7249a76f
-SIZE (equeim-tremotesf2-2.6.3_GH0.tar.gz) = 761779
-SHA256 (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = dcf6486d9030937636d8a4f820ca9531808fd7edb283893dddbaa05f99357e63
-SIZE (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = 1149767
+TIMESTAMP = 1726411506
+SHA256 (tremotesf-2.7.2.tar.zst) = 3a3c83e5fede0c32c4ba3552f962c1ff6638300268a3c218841f86d426c0339f
+SIZE (tremotesf-2.7.2.tar.zst) = 2494693