<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4b8323a9e57056ddc4fbf737fa4f90e24389c039">https://github.com/macports/macports-ports/commit/4b8323a9e57056ddc4fbf737fa4f90e24389c039</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 4b8323a9e57 qBittorrent: adjust fallbacks based on Qt/C++ req & fix deployment target
</span>4b8323a9e57 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 4b8323a9e57056ddc4fbf737fa4f90e24389c039
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Mon Jun 28 20:58:31 2021 +0800

<span style='display:block; white-space:pre;color:#404040;'>    qBittorrent: adjust fallbacks based on Qt/C++ req & fix deployment target
</span>---
 net/qBittorrent/Portfile | 35 ++++++++++++++---------------------
 1 file changed, 14 insertions(+), 21 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/qBittorrent/Portfile b/net/qBittorrent/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 840c67a42b5..79388868a1c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/qBittorrent/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/qBittorrent/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,14 +21,14 @@ long_description \
</span> 
 homepage        https://www.qbittorrent.org
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} ne "darwin" || ${os.major} >= 16} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} ne "darwin" || ${os.major} >= 17} {
</span>     github.setup    qbittorrent qBittorrent 4.3.6 release-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    revision        0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision        1
</span>     checksums       rmd160  02200fd7144480464a70111c39c9940f7e728f2e \
                     sha256  7be2ec97371e5e62e577a631e64f38fe10dd123da65a727ee99e51cd47867a7e \
                     size    8482842
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    qt5.min_version 5.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    qt5.min_version 5.11
</span>     configure.args-append \
                     CONFIG+=c++17
     compiler.cxx_standard 2017
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,31 +41,17 @@ if {${os.platform} ne "darwin" || ${os.major} >= 16} {
</span>         # MacPorts clang 8 and later have applied this fix.
         compiler.blacklist-append clang macports-clang-5.0 macports-clang-6.0 macports-clang-7.0
     }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {${os.major} >= 15} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # qBittorrent 4.3.4 and later requires Qt 5.12 and therefore won't build on Sierra and older
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    github.setup    qbittorrent qBittorrent 4.3.3 release-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    revision        1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    checksums       rmd160  03bdeeb93206be117130ddb407883f138a91e94e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  df00c59a6b037a2ca2d4a5798f053fbe855fc96167bbc674651da2cb591748a5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    8044657
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    qt5.min_version 5.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    boost.version   1.71
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    CONFIG+=c++17
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    compiler.cxx_standard 2017
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 900.0.39.2}
</span> } else {
     # qBittorrent 4.3.3 and later requires C++17 features and therefore won't build with
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    # libc++ on Yosemite and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # libc++ on Sierra and older
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Also 4.3.4 to 4.3.4.1 required Qt 5.12 then lowered to 5.11 after
</span>     github.setup    qbittorrent qBittorrent 4.3.2 release-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    revision        1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    revision        2
</span>     checksums       rmd160  543c1a5b59c15912cde31d98bed55810709aef75 \
                     sha256  187b8625e8787384a68a30eff3702b0e5c246512cb20013a38a25553cb18c5e7 \
                     size    7867939
 
     qt5.min_version 5.9
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    boost.version   1.71
</span>     configure.args-append \
                     CONFIG+=c++14
     compiler.cxx_standard 2014
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -93,7 +79,14 @@ configure.args-append \
</span>                 PKGCONFIG+=libtorrent-rasterbar \
                 PKGCONFIG+=openssl \
                 PKGCONFIG+=zlib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                INCLUDEPATH+=[boost::include_dir]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                INCLUDEPATH+=[boost::include_dir] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                QMAKE_MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix the deployment target setting to the MacPorts setting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         reinplace "s|QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14|QMAKE_MACOSX_DEPLOYMENT_TARGET = ${macosx_deployment_target}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             ${worksrcpath}/macxconf.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> 
 destroot {
     if {[variant_isset gui]} {
</pre><pre style='margin:0'>

</pre>