<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/57a512dc9c2e2ef63fcbcc8b3c9ff5cbc36c1b77">https://github.com/macports/macports-ports/commit/57a512dc9c2e2ef63fcbcc8b3c9ff5cbc36c1b77</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 57a512dc9c2 qBittorrent: change to qmake5 pg & 2nd try to fix build on 10.11
</span>57a512dc9c2 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 57a512dc9c2e2ef63fcbcc8b3c9ff5cbc36c1b77
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Tue Oct 20 19:44:31 2020 -0400

<span style='display:block; white-space:pre;color:#404040;'>    qBittorrent: change to qmake5 pg & 2nd try to fix build on 10.11
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Will revbump later if it clears buildbots or when I'm done/give up fixing
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/59980
</span>---
 net/qBittorrent/Portfile | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 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 f4ecbcfedbf..b8f1c2776af 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;'>@@ -2,7 +2,7 @@
</span> 
 PortSystem      1.0
 PortGroup       github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup       qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup       qmake5 1.0
</span> PortGroup       compiler_blacklist_versions 1.0
 
 github.setup    qbittorrent qBittorrent 4.3.0 release-
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,6 +26,9 @@ checksums       rmd160  4420381e5c898612b785239a4b32a34bdaa36a78 \
</span>                 sha256  af65af8ba55b325df57c66e95399a97dfabd6a52bdb6eb15361d572c67e9eb66 \
                 size    7753219
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                port:pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib-append \
                 port:boost \
                 port:libtorrent-rasterbar \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,25 +42,29 @@ qt5.depends_component \
</span>                 qttranslations
 
 configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                --disable-gui \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                --disable-silent-rules
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                --std=c++14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                CONFIG+=nogui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                CONFIG+=c++14 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                CONFIG+=link_pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                PKGCONFIG+=libtorrent-rasterbar \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                PKGCONFIG+=openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                PKGCONFIG+=zlib
</span> 
 destroot {
         if {[variant_isset gui]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            set appname "qbittorrent.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set appname "qbittorrent"
</span>         } else {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-            set appname "qbittorrent-nox.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set appname "qbittorrent-nox"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        reinplace "s|Plugins = PlugIns|Plugins = ${qt_dir}/plugins|g" ${worksrcpath}/src/${appname}.app/Contents/Resources/qt.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system -W ${worksrcpath}/src "/usr/bin/codesign --sign - ${appname}.app"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        copy ${worksrcpath}/src/${appname}.app ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        if {![variant_isset gui]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            ln -s ${applications_dir}/${appname}.app/Contents/MacOS/${appname} ${destroot}${prefix}/bin
</span>         }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-        reinplace "s|Plugins = PlugIns|Plugins = ${qt_dir}/plugins|g" ${worksrcpath}/src/${appname}/Contents/Resources/qt.conf
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        system -W ${worksrcpath}/src "/usr/bin/codesign --sign - ${appname}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        copy ${worksrcpath}/src/${appname} ${destroot}${applications_dir}
</span> }
 
 variant gui description {Enable GUI} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                configure.args-delete --disable-gui
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                configure.args-delete CONFIG+=nogui
</span>                 qt5.depends_component qtmacextras
 }
 
</pre><pre style='margin:0'>

</pre>