<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b1da6e29d60eaa56adfb1ee42d7e6a9e51d9dbfc">https://github.com/macports/macports-ports/commit/b1da6e29d60eaa56adfb1ee42d7e6a9e51d9dbfc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b1da6e29d60eaa56adfb1ee42d7e6a9e51d9dbfc
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Jul 8 14:11:07 2017 -0700
<span style='display:block; white-space:pre;color:#404040;'> qt57: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Qt 5.7 is the last version of Qt supported on OS X 10.8.
</span>---
_resources/port1.0/group/qt5-1.0.tcl | 1 +
aqua/qt57/Portfile | 1697 ++++++++++++++++++++
aqua/qt57/files/patch-add_sdk.diff | 33 +
...mpile.test-support-linker-flags-in-LDFLAGS.diff | 24 +
aqua/qt57/files/patch-firstObject.diff | 16 +
aqua/qt57/files/patch-freetype.diff | 22 +
aqua/qt57/files/patch-icu.diff | 38 +
aqua/qt57/files/patch-machtest.diff | 15 +
aqua/qt57/files/patch-macx.conf.diff | 10 +
aqua/qt57/files/patch-mkspecs.diff | 104 ++
aqua/qt57/files/patch-mkspecs_compiler.diff | 13 +
aqua/qt57/files/patch-no_qtwebkit.diff | 20 +
aqua/qt57/files/patch-opengl.diff | 11 +
aqua/qt57/files/patch-pc_files.diff | 15 +
aqua/qt57/files/patch-shared.diff | 11 +
aqua/qt57/files/patch-tst_benchlibcallgrind.diff | 14 +
aqua/qt57/files/patch-tst_qpluginloader.diff | 20 +
17 files changed, 2064 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/qt5-1.0.tcl b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 26f9177..768b0b8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/qt5-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -39,6 +39,7 @@ options qt5.using_kde qt5.base_version
</span> global available_qt_versions
set available_qt_versions {
qt5
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt57
</span> qt56
qt55
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/Portfile b/aqua/qt57/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..065b801
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,1697 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name qt57
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers mcalhoun openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# for OpenSSLException, see source and header files in src/network/ssl of qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license {LGPL-3 GPL-3 OpenSSLException}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://qt.io
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 5.7.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_name ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set just_want_qt5_variables yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset just_want_qt5_variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# get Qt's version numbers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set branch [join [lrange [split ${version} .] 0 1] .]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set qt_major [lindex [split ${version} .] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://wiki.qt.io/New_Features_in_Qt_5.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/official_releases/qt/${branch}/${version}/submodules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ http://download.qt.io/community_releases/${branch}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/53952
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# file sizes are significantly smaller using xz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} ne ${name} && ${subport} ne "${name}-docs" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_xz yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts qt3 qt3-mac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# conflict with all other version of qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach test_qt_name ${available_qt_versions} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${name} ne ${test_qt_name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string range ${test_qt_name} end-3 end] eq "-kde" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append ${test_qt_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-append ${test_qt_name}-qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qt57-qtbase replaces qt5-qtbase, so can not conflict
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${os.major} eq 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ conflicts-delete qt5-qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Modules Not Considered
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwayland (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtx11extras (X11 Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# No qtwinextras (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Finding Dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r "%dependencies" *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name sync.profile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r qtCompileTest *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name config.tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# find ./ -name Find\*.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r qtHaveModule *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# grep -r packagesExist *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# port provides `find ./ -name \*.dylib -exec otool -L {} \; | grep /opt/local/libexec/qt5 | cut -d ' ' -f1` | cut -d : -f2 | sort -u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# port provides `find ./ -name \*.dylib -exec otool -L {} \; | grep /opt/local/lib/ | cut -d ' ' -f1` | cut -d : -f2 | sort -u
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# http://code.qt.io/cgit/qt/qt5.git/tree/.gitmodules?h=5.7.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Notes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity checks for bluetooth libraries
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# bluez and bluez_le (Linux Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtconnectivity depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtandroidextras (Android Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtserialport depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ntddmodm (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qttools depends on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtactiveqt (Windows Only)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# qtwebkit has tests for libraries in:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/mkspecs/features/configure.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Tools/qmake/config.tests/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### TODO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: possible to trim dependencies of qtbase?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### Module Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "Qt Module Name" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, rmd160
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# checksum, sha256
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependencies, Qt module name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Qt components provided
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# included in "standard" installation of Qt (empty string is no, explanation string is yes)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant overrides
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# revision number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# license replacement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# module info found at http://doc.qt.io/archives/qt-5.7/qtmodules.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set modules {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 6d3028b51ef3009c2dae79698400d9671a0ab087
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1d74cf431777b8086d771ab0d4d2c01f9c28eb14cc2d73d7f838a665d1f707ea
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:assimp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative qtimageformats qtgamepad"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt 3D"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview modules"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtbase {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b26efab64209d4fe5b0532690c9d3902e7a70102
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ edcdf549d94d98aff08e201dcb3ca25bc3628a37b1309e320d5f556b6b66557e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:zlib port:libpng port:jpeg port:freetype path:bin/dbus-daemon:dbus port:tiff port:libmng path:lib/pkgconfig/glib-2.0.pc:glib2 port:icu port:pcre port:harfbuzz"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Core" "Qt GUI" "Qt Network" "Qt SQL" "Qt Test" "Qt Widgets" "Qt Concurrent" "Qt D-Bus" "Qt OpenGL" "Qt Platform Headers" "Qt Print Support" "Qt XML"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtcanvas3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add50851a85a4ea7716b327d50ac17aab3ad5966
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a887083817b77710f6b5401cec4713a03147ed16fa5cf5fb8de4495807bebdb4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Canvas 3D"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtcharts {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ca932d8c263b79b1ded26db3454a3c887093649e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 85feee6992cdef1ab42947a83cbf806a29224d704ee5dc97ee5038c75b633fe3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtmultimedia"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Charts"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "GPLv3 license only"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: {GPL-3 OpenSSLException}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtconnectivity {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ c0ab063f114d1e68085165fecc8414407266b4f2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b3e8b9068304dc5605a8fdf0695102032fd1a216f2c2d4d53a7e4d4dda3ab966
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Bluetooth" "Qt NFC"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdatavis3d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1fbcf4eacc25fc559f3d6cb92754e52dc85407e8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1bff85dcdeed98ad8f0e191f77e7c0e9d57af719c51791044b9c15e939b800f8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtmultimedia"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Data Visualization"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "GPLv3 license only"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: {GPL-3 OpenSSLException}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5b775aa0fee5cbbf540c85ea42a6f832f588e7e4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fd13dd3059d20694a857ed30ee56a2ade908c0cb93246f9804a65f7a2d775d56
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtsvg qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt QML" "Qt Quick" "Qt Quick Layouts" "Qt Quick Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdeclarative-render2d {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2ff009c9755d49e2b08250f001465ef860fa4397
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 831913488bb887993ae8701e5966f53875667a774c0230fc5dc39d6077828c7f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Quick 2D Renderer"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "GPLv3 license only"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: {GPL-3 OpenSSLException}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtdoc {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 441b718a9e038a0ece9fcf452a71ad12ac0a14e7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 55fb0134d7bb26e261bbb30f674e4a88fbcc6bc17e8bb030134aa236b87bd9db
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative qttools sqlite-plugin"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Reference Documentation"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "requires all documentation"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtgamepad {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b999fea16af38585e7a9f21b902e7b5d1b2001df
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bb2b2165e3bcbf37a7e03c3e1cac4fe9771b087dad7ab9566ba5f7f4f4929182
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:libsdl2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Gamepad"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview module"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtgraphicaleffects {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0602426e52d16ae24c8d75bd4f4d465f8ea120f7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2c68fabe599fa2f318562dc22003df6797e91d00761dbf1f337cdc7fbacd4dc8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Graphical Effects"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtimageformats {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a4b2191f0c5831ae651da0105665e5595af52610
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4f97a2a2b269f8a45576256ad9f452320c9c9de6d9c7cc1751fdeac36b0f77f4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:jasper port:libmng port:tiff port:webp"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Image Formats"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtlocation {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1c4d23ad85295eb0b2a18a98cf55cfb80586b570
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f9e9e64e757008c2341504a1916a219ee0cf2b1b42bfa72156e62dfe9dfbf39f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative qtquickcontrols qtserialport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Location" "Qt Positioning"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 667211d10808f45bf05e863c2457fa7eeb9d6870
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1dcad3d9b5ffeece985afc595b95f6b8b1a1aac7fa1f84193d042f2303b52667
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Mac Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmultimedia {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 47e2e0ea325c93fadb3e6a460952ae6bbd4b437d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a52b177fbf02600a0c8bd995ce7c2041c673bc1332c02b60e0e95bb9ebab7def
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Multimedia" "Qt Multimedia Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtpurchasing {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2ae0d16152b4d55fa1ea0ae5b2753b9079f869b8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f694757929cefa31643daab4bde1fbda8d76c79eda0ee6094e1d86efd4cb7b42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Purchasing"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "in-app purchases is of limited value on desktop"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: {GPL-3 OpenSSLException}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquickcontrols {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 78ed13596d62342447f3086483a331fdaf388d21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 6feb1a736bf93af98c40d04cde6b36c113e4cdf84ccb9b306ca92ef9b1779e9d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative qtgraphicaleffects"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Quick Controls" "Qt Quick Dialogs" "Qt Quick Extras"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtquickcontrols2 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 75c7942e4b6fa60b555fd9c9858f4cf41cf861f6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f2e8acd0badbf604f28258b063c94ba71e28147c53c435ae9eb484497cf3e7ec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtgraphicaleffects"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Quick Controls 2"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscript {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b449e5954caaa493b0163506a58e3ea7e49751a1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5bf91a1c53020d91d454d4bb0f930ada98c5fc008fda78f2d7171152920da426
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qttools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Script" "Qt Script Tools"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "deprecated in favor QJS* in Qt QML"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtscxml {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e389198b8023e0c478f2d9c9b01e39dcff76daa7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 9dad4ab220a715b6a63df1d4a196bfa963a1ce7e6e57e7b36462c5dab09db38c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt SCXML"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview module"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsensors {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8d2871b427c14d943c79f8918214f09e5adfdc27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ccb3942edb5e615e9a43c147d87a09f19690eafbc56be0cdf4f73b7e510f3b10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Sensors"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtserialbus {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fc9b652c1bfac92cb1c884d51d89b4198d198dda
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 727edbe0f29659119cfcfbc9ce7c7063af319ec441bc9a5156ebda28e820b157
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtserialport"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Serial Bus"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "technology preview module"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtserialport {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 28d52ddb120bc260668c51e24d0f84ea0ff14fcd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 76d5e19bd392b72602ba3bfe3c0d03c10962674604cf814efa2c910f98cf5a26
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Serial Port"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bdfe992b16536caf05fe49b5b26e9dbca16afbaa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b0f017db8cf18e655e8a6635bc4ddbdbad6f8ef839857451b78942630a4c3947
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt SVG"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttools {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ e882f6e43708305242aba7502554b6be5f9ff12e
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 64197022686c3d8b11a8639f102e2caf03cc325a30e7a32ba66881648ac2dfac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Designer" "Qt Help" "Qt UI Tools"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qttranslations {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ f1e1040035310813b94ce32b251d6cd4a0ae1585
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 16ecdb09532724e80fa6202e5604d80877923b652b771b6020cea36bee0258e7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qttools"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"translation files"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~examples ~tests ~debug noarch ~docs"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtvirtualkeyboard {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bbfb719ec76ee67fb89d38e4956be70f88c25b61
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b28b8b937ed15d794c5ebc93e9556d08a0c9761a434864ebf2b454554e652add
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:hunspell"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtsvg qtmultimedia qtquickcontrols"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt Virtual Keyboard"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "GPLv3 license only"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: {GPL-3 OpenSSLException}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebchannel {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ edbff4aea7ddd25ed0404511760ddc5cfefd99c3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 63ab3ac76ff993009cfa978162a764e05b763cacb70d1a862893f8de4492319b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtwebsockets"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebChannel"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebengine {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 07bf263f775ac2a72f8db18ef53862b62be873a0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2101883e3d632b50133a14e3bbdc1d4d649e405c9618f2eef1b72a7b821ccc2b
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27 port:py27-ply"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtquickcontrols qtwebchannel qtlocation"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebEngine"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "very large and relatively new; requires newer version of OS X"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~universal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebkit {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 45d764449491dc875838fb8b2e79c90cf3b0653a
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a46cf7c89339645f94a5777e8ae5baccf75c5fc87ab52c9dafc25da3327b5f03
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:python27"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:fontconfig port:icu port:leveldb port:webp port:libxml2 port:libxslt port:zlib port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebKit" "Qt WebKit Widgets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "community support only (use Qt WebEngine)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebsockets {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 4f3d6eea1cd01b961f7914160afe3ad5ac964285
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5c2a75b68e7f2e98530659b33bb08edee83013832dbf99cc5b40afc8a90652d1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase qtdeclarative"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebSockets"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtwebview {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 17993359df0685eec533610ae81926a6c4795c62
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ b3bcf9693e0205263f5d227f2204cf12c3a3d1e200b3114723511ee3bdf2159f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtdeclarative qtwebengine"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt WebView"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "new in 5.6.0; requires qtwebengine"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: ~universal"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtxmlpatterns {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5891531cab954807cc32a289df3511637d5cf101
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ a805938c2ab1379d7dc83dcec606edd7950b5155c073b9eb53c53e62deb5f8e5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "qtbase"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {"Qt XML Patterns"}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "variant overrides: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "revision 0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "License: "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+############################################################################### SQL Plugin Format
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# variant name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# dependency, library
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# include path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# link requirement
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# obsolete? (empty string is no)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+array set sql_plugins {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {sqlite SQLite "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:sqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib -lsqlite3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {psql PostgreSQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql96"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql96"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql96"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql96 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql95"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql95 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql94"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql94 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/postgresql84"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/postgresql84 -lpq"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {mysql MySQL "revision 0"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mariadb55"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mariadb"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mariadb/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mariadb/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql57"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql57/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql57/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "port:mysql56"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${prefix}/include/mysql56/mysql"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-L${prefix}/lib/mysql56/mysql -lmysqlclient_r"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string trim [lindex ${module_info} 8]]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://bugreports.qt.io/browse/QTBUG-35514
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [lindex ${module_info} 9]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [string range ${license_string} 1+[string first ":" ${license_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set license_string [string trim ${license_string}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${license_string} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ eval license ${license_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 2] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 3] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach qtdeps [lindex ${module_info} 4] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qtdeps} ne "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${qtdeps}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Tools and Module(s) for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_list [lindex ${module_info} 5]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${modules_provided_list}] == 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [lindex ${modules_provided_list} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { [llength ${modules_provided_list}] == 2 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join ${modules_provided_list} " and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set modules_provided_join [join [list [join [lrange ${modules_provided_list} 0 end-1] ", "] [lindex ${modules_provided_list} end]] ", and "]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description "Tools and Module(s) for Qt Tool Kit ${qt_major}: ${modules_provided_join}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtbase" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this subport uses configure script (NOT qmake)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use the qt5 group; set 'building_qt5' so that the portgroup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # does not include certain parts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set building_qt5 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qt5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unset building_qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.platform} ne "darwin" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "${subport} is untested on \"${os.platform}\"."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "Multiple architectures is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.build_arch} eq "i386" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "32-bit mode is not a Reference Configuration for Qt."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_warn "See http://doc.qt.io/qt-5/supported-platforms.html#reference-configurations"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the Qt 5.7 class QUuid requires NSUUID, which was introduced in OS X 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://developer.apple.com/reference/foundation/nsuuid?language=objc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 12 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OS X 10.8 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://codereview.qt-project.org/#/c/141654/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # allow system freetype to satisfy freetype dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-freetype.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" ${worksrcpath}/src/3rdparty/freetype_dependency.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system uses pkgconfig to look for an OpenGL installation (gl.pc)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the build system automatically uses OpenGL frameworks (-framework OpenGL -framework AGL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if mesa is installed, the build system will try to use both OpenGL systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # when building qtmultimedia, this will cause problems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Undefined symbols: "_CGLGetCurrentContext"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-opengl.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # undo part of https://codereview.qt-project.org/#/c/140954/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .pc files still needed by some port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt5.rb
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-pc_files.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://stackoverflow.com/questions/14506151/invalid-symbol-redefinition-in-inline-asm-on-llvm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # only runs test code on 32-bit systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this test might still cause problems, but with 5.4.2->5.5.0, it is no longer run
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # tests/auto/corelib/plugin/qpluginloader/qpluginloader.pro:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -macx-*: SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # +macx-*: contains(QT_CONFIG, private_tests): SUBDIRS += machtest
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # When testing, ensure that a universal object file is not inadvertently created.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Support direct linker flags. Newer glib versions seem to use -Wl,framework,...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # or -Wl,framework -Wl,...
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-config.tests_unix_compile.test-support-linker-flags-in-LDFLAGS.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtbase is used for:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1) building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2) building MacPorts projects via qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3) building end-user projects
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 1 & 2 require consistency with the MacPorts environment
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 3 requires consistency with the default Qt installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # 2 can be achieved via environment variables
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (e.g. 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;'>+ # the only way 3 can be achieved is if no changes are made to the build system
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the following is an attempt to achieve 1 without destroying 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-----------------------------------------------------------------------------
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # save default spec files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/mkspecs ${worksrcpath}/mkspecs-save
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use compiler specified by configure.compiler
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${configure.compiler} ne "clang" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-mkspecs_compiler.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_CC__|${configure.cc}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_CXX__|${configure.cxx}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string match macports-clang-* ${configure.compiler}] && [vercmp ${xcodeversion} "7.0"] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # non-Xcode clang does not seem to be able to understand tbd files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for an explanation of tbd files, see
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # http://stackoverflow.com/questions/31450690/why-xcode-7-shows-tbd-instead-of-dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53151
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "This configuration is known to fail"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "See https://trac.macports.org/ticket/53151"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "As a workaround, do not set configure.compiler manually"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible configuration"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # change default compiler flags for the purpose of building qtbase
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${cxx_stdlib} eq "libc++"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib ${cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see cxx11 PortGroup
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} < 13} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib "macports-libstdc++ -D_GLIBCXX_USE_CXX11_ABI=0"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set replace_cxx_stdlib "macports-libstdc++"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS__CXX_STDLIB__|${replace_cxx_stdlib}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_DEPLOYMENT_TARGET__|${macosx_deployment_target}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [vercmp ${xcodeversion} "7.0"] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # starting with Xcode 7.0, the SDK for build OS version might not be available
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53597
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set sdks_dir ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![file exists ${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdk_version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # respect configure.sdk_version value
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-macx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "s|__MACPORTS_MAC_SDK__|macosx${configure.sdk_version}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # return modified spec files to the default values
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/common/clang-mac.conf ${worksrcpath}-${arch}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/common/macx.conf ${worksrcpath}-${arch}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}-${arch}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}-${arch}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/common/clang-mac.conf ${worksrcpath}/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/common/macx.conf ${worksrcpath}/mkspecs/common/macx.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach spec {macx-clang macx-clang-32 macx-g++ macx-g++-32 macx-g++40 macx-g++42 macx-icc macx-llvm} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move -force ${worksrcpath}/mkspecs-save/${spec}/qmake.conf ${worksrcpath}/mkspecs/${spec}/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --prefix is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pre_args-delete --prefix=${prefix}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # --disable-dependency-tracking is not recognized.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_args-delete --disable-dependency-tracking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Installation options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-extprefix SYSROOT/PREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostprefix EXTPREFIX
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-libexecdir ARCHDATADIR/libexec
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostbindir HOSTPREFIX/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #-hostlibdir HOSTPREFIX/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -prefix ${qt_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -bindir ${qt_bins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -headerdir ${qt_includes_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -libdir ${qt_libs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -archdatadir ${qt_archdata_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -plugindir ${qt_plugins_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -importdir ${qt_imports_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -qmldir ${qt_qml_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -datadir ${qt_data_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -docdir ${qt_docs_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -translationdir ${qt_translations_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sysconfdir ${qt_sysconf_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -examplesdir ${qt_examples_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -testsdir ${qt_tests_dir} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -hostdatadir ${qt_host_data_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Configure options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -release \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -opensource \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -confirm-license \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -shared \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -largefile \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -accessibility
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach driver { db2 ibase mysql oci odbc psql sqlite sqlite2 tds } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -no-sql-${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ![variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "-platform ${qt_qmake_spec}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(i386) "-platform ${qt_qmake_spec_32}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(x86_64) "-platform ${qt_qmake_spec_64}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-testcocoon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gcov \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -force-pkg-config
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # turn off CFG_CLOEXEC if gnulib is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Third Party Libraries:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-mtdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-journald \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-syslog \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libpng \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-libjpeg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-freetype \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-harfbuzz \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-openssl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libproxy \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -system-pcre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-x11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xkbcommon-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xinput2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb-xlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -glib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pulseaudio \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-alsa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gtk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # from the configure script:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # NOTE: -optimized-tools is not useful in -release mode.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # http://lists.qt-project.org/pipermail/development/2017-January/028392.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Prefer ICU over iconv
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Additional options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make libs} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-make tools} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake examples} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {-nomake tests} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -gui \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -widgets \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-rpath \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -verbose \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -cups \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-iconv \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-evdev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-tslib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -icu \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-fontconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -strip \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-pch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-ltcg \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -dbus-linked \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-use-gold-linker \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-separate-debug-info \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-xcb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-eglfs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gbm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-directfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-linuxfb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-kms \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-mirclient \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libinput \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-gstreamer \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-system-proxies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # MacOS/iOS options:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -securetransport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -sdk macosx${configure.sdk_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure options that don't show up in configure --help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-libudev \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-egl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -no-openvg
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Qt builds part of the system using environment provided my MacPorts.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # It builds the rest using its own internal environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For consistency, clear MacPorts environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_stdlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdkroot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objc_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxx_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ld_archflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.objcxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.pipe no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_arch_flag no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.march
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.mtune
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_ldflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cxxflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.universal_cppflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cofigure script looks for perl but doesn't seem to use it for our configuration
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # configure script uses gawk if it can find it,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # so require it for consistency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:gawk
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless overridden, configure script uses gmake if it can find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append MAKE=${build.cmd}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # delete preprocessor comments surrounding QT_CPU_FEATURES.i386 and QT_CPU_FEATURES.x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#ifndef.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#else.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "/^#endif.*$/d" ${destroot}${qt_mkspecs_dir}/qmodule.pri
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # The file ${qt_mkspecs_dir}/qconfig.pri is still not properly merged
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # A workaround is to set QT_ARCH and QT_TARGET_ARCH manually (see e.g. the qmake5 PortGroup)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake tests} {-make tests}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace {-nomake examples} {-make examples}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant debug description {Build both release and debug libraries} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -release -debug-and-release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant pulseaudio description {Compile PulseAudio support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-pulseaudio -pulseaudio
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant gstreamer description {Compile GStreamer support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:gstreamer1 port:gstreamer1-gst-plugins-base
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -no-gstreamer {-gstreamer 1.0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant openssl description {Use OpenSSL instead of Secure Transport} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -securetransport -no-openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -openssl-linked
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/51358
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for why not a path dependency
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +openssl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these subports use qmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # detremint which variants are to be turned off
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set def_var ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~universal"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "noarch"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~debug"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.debug_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~tests"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "++examples"] != -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set request_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend def_var "+examples"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant examples description {Build examples} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${request_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant tests description {Enable tests} {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${def_var} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append ${def_var}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # accommodating variant request varies depending on how qtbase was built
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake builds examples by default (set via variants)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase examples ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if qmake runs tests by default (set via varians)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[active_variants ${name}-qtbase tests ""]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set base_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to build examples
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists examples] && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_examples false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine if the user wants to run tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_exists tests] && [variant_isset tests] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set this_tests false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # determine of qmake's default and user requests are compatible; override qmake if necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_examples} && !${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_examples} && ${base_examples} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"examples\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${this_tests} && !${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS+=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${this_tests} && ${base_tests} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append "QT_BUILD_PARTS-=\"tests\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Special Cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtdoc" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in the process of building the html files, qtdoc looks for all installed modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # with no clear way to select only a subset
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # unless a way is found, ReproducibleBuilds (https://trac.macports.org/wiki/ReproducibleBuilds)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # requires qtdoc depend on all the documentation modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module_doc module_doc_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_doc_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} >= 13 || (${module_doc} ne "qtwebengine" && ${module_doc} ne "qtwebview") } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-${module_doc}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtlocation" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtlocation uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Gypsy (https://gypsy.freedesktop.org/wiki/)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { gypsy } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/config.tests/${test}/main.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # use MacPorts icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qmake uses pkgconfig to look for icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this feature does not work without "CONFIG += link_pkgconfig"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtwebkit uses
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # glx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXcomposite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # libXrender
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if they can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure that test fails even if software is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach test { glx libXcomposite libXrender } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|return 0;|return 0;\\\n#error turn off test|g" ${worksrcpath}/Tools/qmake/config.tests/${test}/${test}.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # prevent qttools from opportunistically using qtwebkit if it can be found
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant qtwebkit description {build with QtWebkit support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-delete patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:${name}-qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these folders are installed and conflict with ${name}-qttools-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/assistant/simpletextviewer/documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/examples/help/contextsensitivehelp/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44934 (and #35067 for the qt4-mac version)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_frameworks_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [split ${qt_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${qt_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_qt [lindex $qt_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_qt} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qt_list [lreplace ${qt_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set libreplace [string repeat ../ [llength ${qt_list}]][join ${framework_list} /]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${libreplace} ne "lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|__MACPORTS_FRAMWORK_DIR__|${libreplace}|g" ${worksrcpath}/src/macdeployqt/shared/shared.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup xcodeversion 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ minimum_xcodeversions {13 6.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-fetch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ui_error "${subport} requires OS X 10.9 or later"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return -code error "incompatible OS version"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${os.major} == 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://bugreports.qt.io/browse/QTBUG-54486
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.sdk_version 10.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://lists.qt-project.org/pipermail/interest/2016-February/thread.html#20946
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://googleappsupdates.blogspot.co.uk/2014/09/google-chrome-64-bit-for-mac-and-windows.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see http://doc.qt.io/qt-5/qtwebengine-platform-notes.html
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CC=${configure.cc}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append QMAKE_LINK=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtsensors" && [variant_isset examples] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset debug] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug "_debug"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set debug ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # fix library path names or MacPorts will try to reinstall
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/libgruesensor.1.dylib grue/sensors/libqtsensors_grue${debug}.dylib sensor_explorer/Explorer/libdeclarative_explorer${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -id ${qt_examples_dir}/sensors/${dylib} ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach dylib "grue/Grue/libdeclarative_grue${debug}.dylib grue/sensors/libqtsensors_grue${debug}.dylib" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "/usr/bin/install_name_tool -change libgruesensor.1.dylib ${qt_examples_dir}/sensors/grue/libgruesensor.1.dylib ${destroot}${qt_examples_dir}/sensors/${dylib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special case
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qtmultimedia" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${os.major} < 13 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53949
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${module}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${module}-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for the port ${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.target docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.target install_docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex ${module_info} 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex ${module_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-qttools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # depend on the modules for which this subport provides documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # also have the same build dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append port:${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach deps [lindex ${module_info} 2] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append [subst ${deps}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.debug_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # special cases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${module} eq "qttools" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # generated makefiles assume full Qt was built locally
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach bin {qdoc qhelpgenerator} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/${bin} ${worksrcpath}/bin/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebengine" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # UsingTheRightCompiler (https://trac.macports.org/wiki/UsingTheRightCompiler)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append CXX=${configure.cxx}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif { ${module} eq "qtwebkit" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # without this file, the makefile ${worksrcpath}/qtwebkit/Source/WebCore/Makefile.WebCore.Target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # keeps generating itself over and over again
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this file is only created when the library is being built, however
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${worksrcpath}/Source/WebCore/generated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ touch ${worksrcpath}/Source/WebCore/generated/InspectorBackendCommands.qrc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see http://doc.qt.io/qt-5/sql-driver.html for info on building SQL Database Drivers
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach {sql_names sql_info} [array get sql_plugins] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set driver [lindex ${sql_names} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dbms [lindex ${sql_names} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [lindex ${sql_names} 2]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set revision_string [string range ${revision_string} 1+[string last " " ${revision_string}] end]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ subport ${name}-${driver}-plugin {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup qmake5 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname qtbase-opensource-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${revision_string} ne "0" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision ${revision_string}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 [lindex $modules(qtbase) 0] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 [lindex $modules(qtbase) 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${dbms} Database Driver for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if there is more than one version of the database system, create variants for each version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [llength ${sql_info}] > 1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set false
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # find every other variant so it can be marked as conflicting
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set conflicts_list ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info2 ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName2 [lindex ${variant_info2} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${varName} ne ${varName2} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lappend conflicts_list ${varName2}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # get only the numbers from the name
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ regexp {[0-9].} ${varName} varVer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant ${varName} conflicts ${conflicts_list} description "use version ${varVer} of ${dbms}" {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # check if any variant has been set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [variant_isset ${varName}] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set any_variant_set true
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ensure at least one variant is set
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { !${any_variant_set} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants-append +[lindex [lindex ${sql_info} 0] 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach variant_info ${sql_info} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set varName [lindex ${variant_info} 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ( [variant_exists ${varName}] && [variant_isset ${varName}] ) || [llength ${sql_info}]==1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append [lindex ${variant_info} 1]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst INCLUDEPATH+=\"[lindex ${variant_info} 2]\"] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ [subst LIBS+=\"[lindex ${variant_info} 3]\"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # for single architecture, easier to use
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # worksrcdir ${worksrcdir}/qtbase/src/plugins/sqldrivers/${driver},
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # but doesn't work for universal build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.dir ${worksrcpath}/src/plugins/sqldrivers/${driver}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.dir ${configure.dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see https://trac.macports.org/ticket/53248
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.top_level ${worksrcpath}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport ${name}-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # meta-port to install documentation for various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Documentation for Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lsearch -exact [lindex ${module_info} 7] "~docs"] == -1 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}-docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${subport} eq ${name} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the main port is Meta-port to install various modules
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Qt Tool Kit ${qt_major}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description Qt Tool Kit: A cross-platform framework \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ (headers, data, and libraries) for writing \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cross-platform GUI-based applications.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distfiles
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # create a dummy file so the port can be successfully activated
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set docfile [open ${destroot}${prefix}/share/doc/${subport}/README.txt "w"]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "Meta-port for ${name}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ puts ${docfile} "${long_description}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ close ${docfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach {module module_info} [array get modules] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [lindex ${module_info} 6] eq "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-${module}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_run-append port:${name}-sqlite-plugin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_framework ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set depends_check ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_build] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_build}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [info exists depends_lib] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set depends_check "${depends_check} ${depends_lib}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+foreach deps ${depends_check} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [string first ":python27" ${deps}] >= 0 } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If Qt components use Python, ensure that MacPorts python27 is used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # a better solution would be to force components to use a specific python program
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # how to accomplish such a thing is not entirely clear
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #49838
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # version 5.5.1 (at least) of qtwebengine must find a python version in the interval [2.7, 3)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (see tools/qmake/mkspecs/features/functions.prf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # versions 5.5.1 of qtdeclarative and qtwebkit also use python with no way of specifying which one
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_framework ${frameworks_dir}/Python.framework/Versions/2.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ${python_framework} ne "" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append PATH=${python_framework}/bin:$env(PATH)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+unset python_framework
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { ![exists universal_variant] || [option universal_variant] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if { [variant_exists universal] && [variant_isset universal] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ merger-post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${universal_archs_to_use} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set dir ${destroot}-${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.framework/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_libs_dir}/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach prlfl [glob -nocomplain ${dir}${qt_examples_dir}/widgets/tools/plugandpaint/plugins/*.prl] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${prlfl}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_libs_dir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Libs.private contains the value of ${worksrcpath}-${arch}, which prevents merging
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebKit.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_libs_dir}/pkgconfig/Qt5WebEngineCore.pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*-arch \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "/\\w*${arch} \\\\/d" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E {s:-arch +[^ ]+::g} ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|macx-clang-32|macx-clang|g" ${dir}${qt_examples_dir}/declarative/tutorials/gettingStarted/parts/part5/filedialog/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/multimedia/spectrum/spectrum.app/Contents/Frameworks/fftreal.framework/fftreal.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { [file exists ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|${worksrcpath}-${arch}|${worksrcpath}|g" ${dir}${qt_examples_dir}/sensors/grue/libgruesensor.prl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see #44204
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach f [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir} *.framework] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework [file rootname ${f}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [split ${qt_includes_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [split ${qt_libs_dir} '/']
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ while {[llength ${include_list}] && [llength ${framework_list}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_include [lindex $include_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set var_framework [lindex $framework_list 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${var_include} ne ${var_framework} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # remove first element from list
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set include_list [lreplace ${include_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set framework_list [lreplace ${framework_list} 0 0]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_includes_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s [string repeat ../ [llength ${include_list}]][join ${framework_list} /]/${f}/Headers ${destroot}${qt_includes_dir}/${framework}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # .app and non-.app programs are both put in qt_bins_dir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put a link of any .app programs in the ${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_bins_dir} ne ${qt_apps_dir} } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach app [glob -nocomplain -tails -directory ${destroot}${qt_bins_dir} *.app] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_bins_dir}/${app} ${destroot}${qt_apps_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put configuration files in places they will be found automatically
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if { ${qt_libs_dir} ne "${prefix}/lib" } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to pkgconfig files in place where pkgconfig will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 pkgconfig files begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach pcfile [glob -nocomplain -tails -directory ${destroot}${qt_libs_dir}/pkgconfig *.pc] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/pkgconfig/${pcfile} ${destroot}${prefix}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put link to cmake files in place where cmake will find it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # most Qt 5 cmake directories begin with Qt5, so link should not conflict with any other Qt installations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # exceptions: Enginio (new in Qt 5.3, removed in Qt 5.7)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/lib/cmake/${cmakedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -tails -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${qt_libs_dir}/cmake/${cmakedir}/${cmakefile} ${destroot}${prefix}/lib/cmake/${cmakedir}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if cmake finds configuration files in ${prefix}/lib/cmake, CMAKE_CURRENT_LIST_DIR expands to ${prefix}/lib/cmake/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # cmake configuration files actually installed in ${qt_cmake_module_dir}/xxx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakedir [glob -type d -nocomplain -tails -directory ${destroot}${qt_libs_dir}/cmake *] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach cmakefile [glob -nocomplain -directory ${destroot}${qt_libs_dir}/cmake/${cmakedir} *.cmake] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|\\\${CMAKE_CURRENT_LIST_DIR}|${qt_cmake_module_dir}/${cmakedir}|g" ${cmakefile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url http://download.qt.io/archive/qt/${branch}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex (\\d+(\\.\\d+)+)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-add_sdk.diff b/aqua/qt57/files/patch-add_sdk.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..7e3f4e7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-add_sdk.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,33 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From dd5bed5198bda65930d4ea406e29006f0deb6018 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Marcus Calhoun-Lopez <marcuscalhounlopez@gmail.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Sun, 22 Nov 2015 10:24:04 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] OS X: resolve SDK version of QMAKE_LINK_C and
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C_SHLIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+On OS X, both compilers and linkers are given an absolute path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+For consistency, the same should be done with the C linkers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The change is also a convenience to the MacPorts project,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+which actively discourages ambiguous compiler names.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+(https://trac.macports.org/wiki/UsingTheRightCompiler).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Change-Id: Ic1885aed825340696e9fde766788eebf51de3ff6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mkspecs/features/mac/sdk.prf | 2 +-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 1 insertion(+), 1 deletion(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/mkspecs/features/mac/sdk.prf b/mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e238f8e..624366a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/mac/sdk.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -37,7 +37,7 @@ QMAKE_INCDIR_OPENGL = $$sysrootified
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKESPEC_NAME = $$basename(QMAKESPEC)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Resolve SDK version of various tools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_ACTOOL)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++for(tool, $$list(QMAKE_CC QMAKE_CXX QMAKE_FIX_RPATH QMAKE_AR QMAKE_RANLIB QMAKE_LINK QMAKE_LINK_SHLIB QMAKE_ACTOOL QMAKE_LINK_C QMAKE_LINK_C_SHLIB)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ tool_variable = QMAKE_MAC_SDK.$${QMAKESPEC_NAME}.$${QMAKE_MAC_SDK}.$${tool}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ !isEmpty($$tool_variable) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $$tool = $$eval($$tool_variable)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.6.2.2.g1b5ffa3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-config.tests_unix_compile.test-support-linker-flags-in-LDFLAGS.diff b/aqua/qt57/files/patch-config.tests_unix_compile.test-support-linker-flags-in-LDFLAGS.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8711bf8
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-config.tests_unix_compile.test-support-linker-flags-in-LDFLAGS.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,24 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- config.tests/unix/compile.test.old 2016-12-01 09:17:04.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ config.tests/unix/compile.test 2017-05-14 14:05:41.000000000 +0200
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,6 +31,21 @@ while [ "$#" -gt 0 ]; do
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LFLAGS="$LFLAGS -framework \"$2\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ shift
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -Wl,-framework,*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LFLAGS="$LFLAGS -framework \"${PARAM#-Wl,-framework,}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -Wl,-framework)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # -Wl,-framework,... cought above
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $2 in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ -Wl,*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LFLAGS="$LFLAGS -framework \"${2#-Wl,}\""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ shift
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ exit 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -arch)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAC_ARCH_CFLAGS="$MAC_ARCH_CFLAGS -arch $2"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MAC_ARCH_CXXFLAGS="$MAC_ARCH_CXXFLAGS -arch $2"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-firstObject.diff b/aqua/qt57/files/patch-firstObject.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b059ce0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-firstObject.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/plugins/avfoundation/camera/avfcamerautility.mm.orig 2016-09-12 03:58:51.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/plugins/avfoundation/camera/avfcamerautility.mm 2016-12-28 09:44:52.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -48,6 +48,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <algorithm>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <limits>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// see https://trac.macports.org/ticket/52922
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// see https://trac.macports.org/ticket/53949
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++// from the 10.9 SDK
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@interface NSArray (MacPortsCompatibilityFirstObject)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++- (id)firstObject NS_AVAILABLE(10_6, 4_0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++@end
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT_BEGIN_NAMESPACE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AVFPSRange qt_connection_framerates(AVCaptureConnection *videoConnection)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-freetype.diff b/aqua/qt57/files/patch-freetype.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..03621f1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-freetype.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/platformsupport/fontdatabases/mac/coretext.pri.orig 2016-09-15 22:49:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/platformsupport/fontdatabases/mac/coretext.pri 2017-07-07 07:53:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$PWD/qcoretextfontdatabase_p.h $$PWD/qfontengine_coretext_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECTIVE_SOURCES += $$PWD/qfontengine_coretext.mm $$PWD/qcoretextfontdatabase.mm
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-contains(QT_CONFIG, freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++contains(QT_CONFIG, freetype)|contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include($$QT_SOURCE_TREE/src/3rdparty/freetype_dependency.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HEADERS += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft_p.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += $$QT_SOURCE_TREE/src/gui/text/qfontengine_ft.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/3rdparty/freetype_dependency.pri.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/3rdparty/freetype_dependency.pri 2017-07-07 09:06:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,6 +2,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD/freetype/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS_PRIVATE += -L$$QT_BUILD_TREE/lib -lqtfreetype$$qtPlatformTargetSuffix()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:contains(QT_CONFIG, system-freetype) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # pull in the proper freetype2 include directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- include($$QT_SOURCE_TREE/config.tests/unix/freetype/freetype.pri)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ INCLUDEPATH += __MACPORTS_PREFIX__/include/freetype2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LIBS_PRIVATE += -L__MACPORTS_PREFIX__/lib -lfreetype
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-icu.diff b/aqua/qt57/files/patch-icu.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..322cae5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-icu.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Tools/qmake/config.tests/icu/icu.pro.orig 2015-07-16 11:45:20.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Tools/qmake/config.tests/icu/icu.pro 2015-07-16 11:46:05.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licuin -licuuc -licudt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!contains(QT_CONFIG,no-pkg-config):packagesExist("icu-i18n") {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PKGCONFIG += icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBS += -licui18n -licuuc -licudata
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WTF/WTF.pri.orig 2015-10-12 21:37:08.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WTF/WTF.pri 2016-05-04 04:22:48.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9,10 +9,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH += $$PWD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Mac OS does ship libicu but not the associated header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # Therefore WebKit provides adequate header files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH = $${ROOT_WEBKIT_DIR}/Source/WTF/icu $$INCLUDEPATH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LIBS += -licucore
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CONFIG += link_pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ PKGCONFIG *= icu-i18n
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else:!use?(wchar_unicode): {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG(static, static|shared) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/Target.pri.orig 2015-10-12 21:37:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/Target.pri 2016-05-04 09:47:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2986,9 +2986,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mac {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- # For Mac we use the same SmartReplace implementation as the Apple port.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- SOURCES += editing/SmartReplaceCF.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- INCLUDEPATH += $$PWD/icu
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES += editing/SmartReplaceICU.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-machtest.diff b/aqua/qt57/files/patch-machtest.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..93c63b6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-machtest.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro.orig 2015-07-05 12:53:46.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/machtest/machtest.pro 2015-07-05 12:53:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7,10 +7,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.target = good.i386.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-i386.commands = $(CXX) $(CXXFLAGS) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++i386.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch i386 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.target = good.x86_64.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-x86_64.commands = $(CXX) $(CXXFLAGS) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++x86_64.commands = $(CXX) $(filter-out -arch i386 x86_64,$(CXXFLAGS)) -shared -arch x86_64 -o $@ -I$(INCPATH) $<
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64.depends += $$PWD/../fakeplugin.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Current Mac OS X toolchains have no compiler for PPC anymore
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-macx.conf.diff b/aqua/qt57/files/patch-macx.conf.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..431fff4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-macx.conf.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/macx.conf.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/macx.conf 2017-02-05 05:10:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,6 +3,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_PLATFORM += macos osx macx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MAC_SDK = macosx
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MAC_SDK = __MACPORTS_MAC_SDK__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(mac.conf)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-mkspecs.diff b/aqua/qt57/files/patch-mkspecs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..35258b4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-mkspecs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,104 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang/qmake.conf.orig 2016-09-15 22:49:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang/qmake.conf 2016-12-24 08:54:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,6 +11,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-clang-32/qmake.conf.orig 2016-10-31 19:11:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-clang-32/qmake.conf 2016-10-31 19:13:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,7 +11,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/clang-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++/qmake.conf.orig 2016-09-15 22:49:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++/qmake.conf 2016-12-24 08:56:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,6 +14,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -arch x86_64
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_config)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++-32/qmake.conf.orig 2016-10-31 19:11:18.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++-32/qmake.conf 2016-10-31 19:13:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS += -arch i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++40/qmake.conf.orig 2016-10-31 19:11:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++40/qmake.conf 2016-10-31 19:14:40.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-g++42/qmake.conf.orig 2016-10-31 19:11:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-g++42/qmake.conf 2016-10-31 19:14:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/g++-macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CC = gcc-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXX = g++-4.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-icc/qmake.conf.orig 2016-10-31 19:11:43.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-icc/qmake.conf 2016-10-31 19:15:29.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -90,7 +90,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/macx.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/macx-llvm/qmake.conf.orig 2016-10-31 19:11:55.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/macx-llvm/qmake.conf 2016-10-31 19:15:50.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14,7 +14,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/gcc-base-mac.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ include(../common/llvm.conf)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_MACOSX_DEPLOYMENT_TARGET = __MACPORTS_DEPLOYMENT_TARGET__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvmgcc42
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/clang-mac.conf.orig 2016-10-31 19:35:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/clang-mac.conf 2016-10-31 19:35:36.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,5 +6,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_XCODE_GCC_VERSION = com.apple.compilers.llvm.clang.1_0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CXXFLAGS += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_LFLAGS += -stdlib=libc++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXXFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_LFLAGS += -stdlib=__MACPORTS__CXX_STDLIB__
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-mkspecs_compiler.diff b/aqua/qt57/files/patch-mkspecs_compiler.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b6a99ee
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-mkspecs_compiler.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/common/clang.conf.orig 2016-12-01 01:17:04.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/common/clang.conf 2016-12-26 05:05:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4,8 +4,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_COMPILER = gcc clang llvm # clang pretends to be gcc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CC = clang
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-QMAKE_CXX = clang++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CC = __MACPORTS_CC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++QMAKE_CXX = __MACPORTS_CXX__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C = $$QMAKE_CC
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LINK_C_SHLIB = $$QMAKE_CC
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-no_qtwebkit.diff b/aqua/qt57/files/patch-no_qtwebkit.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..2ea25ef
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-no_qtwebkit.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/assistant/assistant/assistant.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/assistant/assistant/assistant.pro 2016-05-04 16:32:44.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,8 +1,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets):!contains(QT_CONFIG, static) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BROWSER = qtwebkit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BROWSER = qtextbrowser
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QT += widgets network help sql help
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(printsupport): QT += printsupport
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/designer/src/plugins/plugins.pro.orig 2016-02-26 03:07:22.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/designer/src/plugins/plugins.pro 2016-05-04 16:32:21.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,6 +1,5 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEMPLATE = subdirs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # qtHaveModule(opengl): SUBDIRS += tools/view3d
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-qtHaveModule(webkitwidgets): SUBDIRS += qwebview
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ win32: qtHaveModule(axcontainer): SUBDIRS += activeqt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtHaveModule(quickwidgets): SUBDIRS += qquickwidget
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-opengl.diff b/aqua/qt57/files/patch-opengl.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..b6afb15
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-opengl.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2015-10-12 21:35:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2015-10-18 12:19:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4264,7 +4264,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local incdir_raw incdir_mod cflags
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ local libdir_raw libdir_mod libs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [ -n "$PKG_CONFIG" ] && [ "$qmake_postfix" != "OPENGL" ] && $PKG_CONFIG --exists $pkg_name 2>/dev/null; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ incdir_raw=`$PKG_CONFIG --cflags-only-I $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags=`$PKG_CONFIG --cflags-only-other $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libdir_raw=`$PKG_CONFIG --libs-only-L $pkg_name 2>/dev/null`
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-pc_files.diff b/aqua/qt57/files/patch-pc_files.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e61d7b5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-pc_files.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Partially reverts <https://codereview.qt-project.org/#/c/140954/>.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git i/qtbase/mkspecs/features/qt_module.prf w/qtbase/mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index bb28af97..36bb6483 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ mkspecs/features/qt_module.prf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -245,7 +245,7 @@ load(qt_installs)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ load(qt_targets)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this builds on top of qt_common
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-!internal_module:!lib_bundle:if(unix|mingw) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++!internal_module:if(unix|mingw) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CONFIG += create_pc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_PKGCONFIG_DESTDIR = pkgconfig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ host_build: \
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-shared.diff b/aqua/qt57/files/patch-shared.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fde1129
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-shared.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/macdeployqt/shared/shared.cpp.orig 2015-02-16 21:57:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/macdeployqt/shared/shared.cpp 2015-05-31 10:36:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -233,7 +233,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = DylibName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else if (part < parts.count() && parts.at(part).endsWith(".framework")) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- info.installName += "/" + (qtPath + "lib/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ info.installName += "/" + (qtPath + "__MACPORTS_FRAMWORK_DIR__/").simplified();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ info.frameworkDirectory = info.installName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ state = FrameworkName;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ continue;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-tst_benchlibcallgrind.diff b/aqua/qt57/files/patch-tst_benchlibcallgrind.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..e23a639
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-tst_benchlibcallgrind.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp.orig 2014-06-28 00:25:11.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/testlib/selftests/benchlibcallgrind/tst_benchlibcallgrind.cpp 2014-06-19 03:08:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -68,9 +68,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QBENCHMARK {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ __asm__ __volatile__(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "mov $100000000,%%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "LOOPTOP: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "1: \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "dec %%eax \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "jnz LOOPTOP \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "jnz 1b \n"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no output */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* no input */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ : /* clobber */ "eax"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/qt57/files/patch-tst_qpluginloader.diff b/aqua/qt57/files/patch-tst_qpluginloader.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fbce2b7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/qt57/files/patch-tst_qpluginloader.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp.orig 2015-05-30 18:33:03.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp 2015-05-30 18:34:54.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -311,7 +311,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO_data()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::addColumn<int>("parseResult");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QTest::newRow("/dev/null") << int(QMachOParser::NotSuitable);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -347,7 +347,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ void tst_QPluginLoader::loadMachO()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef Q_OF_MACH_O
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QFile f(QFINDTESTDATA(QTest::currentDataTag()));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QVERIFY(f.open(QIODevice::ReadOnly));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QByteArray data = f.readAll();
</span></pre><pre style='margin:0'>
</pre>