git: 5aa1d3cdf9b6 - main - net-p2p/qbittorrent: Small improvents

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 03 Sep 2023 17:00:22 UTC
The branch main has been updated by yuri:

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

commit 5aa1d3cdf9b64e63e4d978bc8dd5aebe5d1565fd
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-09-03 16:55:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-09-03 17:00:18 +0000

    net-p2p/qbittorrent: Small improvents
    
    * correct COMMENT
    * enable DBUS option via patch
    * clearly disable WEBUI in GUI mode
    * remove unnecessary SUFFIX line
    
    Reported by:    Nuno Teixeira <eduardo@freebsd.org> (comment, suffix)
---
 net-p2p/qbittorrent/Makefile | 13 ++++++++++---
 net-p2p/qbittorrent/distinfo |  4 +++-
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index f9e81b94dbc8..fdcc0fe28a4b 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -1,11 +1,14 @@
 PORTNAME=	qbittorrent
 DISTVERSION=	4.5.5
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	5b90e222a80849f346d0b12752aa1f7a9fb839fc.patch:-p1 # PR: Enable DBUS cmake option on FreeBSD
+
 MAINTAINER=	yuri@FreeBSD.org
-COMMENT=	Bittorrent client using Qt5 and libtorrent-rasterbar
+COMMENT=	Bittorrent client using Qt6 and libtorrent-rasterbar
 WWW=		https://www.qbittorrent.org/
 
 LICENSE=	GPLv2+
@@ -26,15 +29,19 @@ USES=			compiler:c++14-lang cpe pkgconfig cmake qt:6 ssl tar:xz
 USE_QT=			base svg translations
 USE_CXXSTD=		c++17 # prevent boost-related SEGV, see bug#264278
 
+USE_GITHUB=		nodefault
+GH_ACCOUNT=		qBittorrent
+GH_PROJECT=		qBittorrent
+
 CMAKE_ON=		QT6
 
 .if ${FLAVOR} == default
 USES+=			desktop-file-utils gl
 USE_GL=			gl
+CMAKE_OFF=		WEBUI
 .endif
 
 .if ${FLAVOR} == nox
-SUFFIX=			-nox
 COMMENT+=		(web UI version)
 CMAKE_OFF=		GUI
 USERS=			qbittorrent
diff --git a/net-p2p/qbittorrent/distinfo b/net-p2p/qbittorrent/distinfo
index e449ea81aa96..fe0a65ce300a 100644
--- a/net-p2p/qbittorrent/distinfo
+++ b/net-p2p/qbittorrent/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1693369887
+TIMESTAMP = 1693756018
 SHA256 (qbittorrent-4.5.5.tar.xz) = 8e84a5ba63c7203cfb2e5bb23e27d000120fb8e9dfb6e9f9a1064dce1b9294e9
 SIZE (qbittorrent-4.5.5.tar.xz) = 4352524
+SHA256 (5b90e222a80849f346d0b12752aa1f7a9fb839fc.patch) = 2f04e36efa91d30042e222f9a11fb386d46e81a7cd45be74ad6a66ab4ef65c36
+SIZE (5b90e222a80849f346d0b12752aa1f7a9fb839fc.patch) = 1410