<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1f90d2108d465a4ac7327ddfa62bd530b1e4bb89">https://github.com/macports/macports-ports/commit/1f90d2108d465a4ac7327ddfa62bd530b1e4bb89</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1f90d2108d465a4ac7327ddfa62bd530b1e4bb89
</span>Author: Christopher Chavez <chrischavez@gmx.us>
AuthorDate: Tue Dec 28 12:10:54 2021 -0600
<span style='display:block; white-space:pre;color:#404040;'> qt5-qtwebengine: requires 10.13 or later
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> [skip ci]
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Requires Xcode 10 or later
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/61921
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> nodejs16 (latest LTS) currently does not build on macOS 10.13
</span><span style='display:block; white-space:pre;color:#404040;'> Fallback to installing nodejs14 (previous LTS) if needed
</span><span style='display:block; white-space:pre;color:#404040;'> Use path:bin/node:… instead of bin:node:… dependency
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64130
</span>---
aqua/qt5/Portfile | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3d802828797..1de97cc16cd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -666,7 +666,7 @@ array set modules {
</span> }
qtwebengine {
{}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- "port:python27 port:py27-ply path:bin/ninja:ninja port:gperf port:bison port:flex bin:node:nodejs16"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27 port:py27-ply path:bin/ninja:ninja port:gperf port:bison port:flex"
</span> "port:fontconfig port:dbus path:lib/pkgconfig/harfbuzz.pc:harfbuzz path:lib/pkgconfig/glib-2.0.pc:glib2 port:zlib port:minizip port:libevent port:libxml2 port:jsoncpp port:protobuf3-cpp port:poppler port:pulseaudio port:icu path:lib/libavcodec.dylib:ffmpeg port:libopus port:webp port:libpng port:lcms2 port:freetype port:re2 port:snappy"
"qtdeclarative qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel qttools"
{"Qt WebEngine"}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1683,15 +1683,29 @@ foreach {module module_info} [array get modules] {
</span> # see https://doc.qt.io/qt-5/qtwebengine-platform-notes.html
PortGroup xcodeversion 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- minimum_xcodeversions {16 8.3.3}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { ${os.platform} eq "darwin" && ${os.major} < 16 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/61921
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {17 10.0.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} eq "darwin" && ${os.major} < 17 } {
</span> known_fail yes
pre-fetch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${subport} requires macOS 10.12 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires macOS 10.13 or later"
</span> return -code error "incompatible OS version"
}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # build requires Node.js as of 5.15.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # nodejs12 (which chromium 87 uses by default) or later are known to work
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} eq "darwin" && ${os.major} >= 18 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prefer latest LTS Node.js as fallback
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append path:bin/node:nodejs16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # nodejs16 (latest LTS) currently does not build on macOS 10.13
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/64130
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use nodejs14 (previous LTS) as fallback
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append path:bin/node:nodejs14
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
build.env-append CXX=${configure.cxx}
build.env-append CC=${configure.cc}
</pre><pre style='margin:0'>
</pre>