git: 4bfa8669e4e2 - main - net-p2p/qbittorrent: Update 4.3.9 -> 4.4.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 07 Jan 2022 18:57:50 UTC
The branch main has been updated by yuri:

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

commit 4bfa8669e4e2e6dd1cdde58ba54d8e9c8669a793
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-01-07 18:18:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-01-07 18:57:48 +0000

    net-p2p/qbittorrent: Update 4.3.9 -> 4.4.0
    
    Reported by:    portscout
---
 net-p2p/qbittorrent/Makefile                       |  4 ++--
 net-p2p/qbittorrent/distinfo                       |  6 +++---
 net-p2p/qbittorrent/files/patch-src_CMakeLists.txt | 10 +++++-----
 net-p2p/qbittorrent/pkg-plist                      |  1 +
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index 141a5565f31a..2e8d973a0fbb 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -1,7 +1,7 @@
 # Created by: Doug Barton <dougb@FreeBSD.org>
 
 PORTNAME=	qbittorrent
-DISTVERSION=	4.3.9
+DISTVERSION=	4.4.0
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -23,7 +23,7 @@ nox_PLIST=		${MASTERDIR}/pkg-plist-nox
 
 USES=			compiler:c++14-lang cpe pkgconfig qmake:no_env qt:5 ssl tar:xz
 GNU_CONFIGURE=		yes
-USE_QT=			core network xml buildtools_build linguisttools_build qmake_build
+USE_QT=			core network sql xml buildtools_build linguisttools_build qmake_build
 DESTDIRNAME=		INSTALL_ROOT
 CONFIGURE_ENV+=		openssl_CFLAGS="-I${OPENSSLINC}" openssl_LIBS="-L${OPENSSLLIB} -lssl"
 
diff --git a/net-p2p/qbittorrent/distinfo b/net-p2p/qbittorrent/distinfo
index 90c664febea7..91495626e7c6 100644
--- a/net-p2p/qbittorrent/distinfo
+++ b/net-p2p/qbittorrent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1636273958
-SHA256 (qbittorrent-4.3.9.tar.xz) = 16ebe2e761922b3fb21c35d2bccc5d4b4b0a3e853434bcaddbbc00c72003d880
-SIZE (qbittorrent-4.3.9.tar.xz) = 4486988
+TIMESTAMP = 1641574294
+SHA256 (qbittorrent-4.4.0.tar.xz) = 6b783a88c7bd567e48cd9f20c67b788776ee2a6d474fe3df4af216acbdfe501b
+SIZE (qbittorrent-4.4.0.tar.xz) = 4795160
diff --git a/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt b/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt
index fee574da1957..271405e477c4 100644
--- a/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt
+++ b/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt
@@ -1,13 +1,13 @@
 - Because some systems have version lower than required minZlibVersion=1.2.11
 
---- src/CMakeLists.txt.orig	2021-02-01 07:32:36 UTC
+--- src/CMakeLists.txt.orig	2022-01-06 18:41:17 UTC
 +++ src/CMakeLists.txt
-@@ -34,7 +34,7 @@ endif()
+@@ -42,7 +42,7 @@ endif()
  set_property(CACHE LibtorrentRasterbar_DIR PROPERTY TYPE PATH)
  find_package(Boost ${minBoostVersion} REQUIRED)
  find_package(OpenSSL ${minOpenSSLVersion} REQUIRED)
 -find_package(ZLIB ${minZlibVersion} REQUIRED)
 +find_package(ZLIB REQUIRED)
- find_package(Qt5 ${minQtVersion} REQUIRED COMPONENTS Core Network Xml LinguistTools)
- if (DBUS)
-     find_package(Qt5 ${minQtVersion} REQUIRED COMPONENTS DBus)
+ if (QT6)
+     find_package(Qt6 ${minQt6Version} REQUIRED COMPONENTS Core Network Sql Xml LinguistTools)
+     if (DBUS)
diff --git a/net-p2p/qbittorrent/pkg-plist b/net-p2p/qbittorrent/pkg-plist
index 3ce6ef1ac400..3ba599574e27 100644
--- a/net-p2p/qbittorrent/pkg-plist
+++ b/net-p2p/qbittorrent/pkg-plist
@@ -23,6 +23,7 @@ share/icons/hicolor/72x72/apps/qbittorrent.png
 share/icons/hicolor/72x72/status/qbittorrent-tray.png
 share/icons/hicolor/96x96/apps/qbittorrent.png
 share/icons/hicolor/96x96/status/qbittorrent-tray.png
+share/icons/hicolor/scalable/apps/qbittorrent.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg
 share/icons/hicolor/scalable/status/qbittorrent-tray.svg