Info4: << Package: qt5-%type_pkg[qt]-qtwebengine Version: 5.7.1 Revision: 7 Description: Cross-Platform framework (%type_pkg[qt]) Type: qt (mac) License: LGPL Maintainer: None ### First version 5.3.1 by Hanspeter Niederstrasser ### Free to upgrade and modify parameters, but please discuss ### first on the fink-devel list Depends: << qt5-%type_pkg[qt]-qtwebengine-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtwebenginecore-shlibs (= %v-%r), qt5-%type_pkg[qt]-qtwebenginewidgets-shlibs (= %v-%r) << BuildDepends: << qt5-%type_pkg[qt]-qtbase-dev-tools (>= %v-1), qt5-%type_pkg[qt]-qtbase (>= %v-1), qt5-%type_pkg[qt]-qtdeclarative (>= %v-1), qt5-%type_pkg[qt]-qtlocation (>= %v-1), qt5-%type_pkg[qt]-qttools (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel (>= %v-1), fink (>= 0.34.4-1), fink-buildenv-modules, fink-package-precedence, libsnappy1-dev, libsrtp, pkgconfig, python27, openssl110-dev, xcode.app, ( %type_pkg[qt] = x11 ) x11-dev << BuildConflicts: uuid, libevent1.4, libevent2, libev4 BuildDependsOnly: true Source: http://download.qt.io/archive/qt/5.7/%v/submodules/qtwebengine-opensource-src-%v.tar.xz Source-Checksum: SHA256(2101883e3d632b50133a14e3bbdc1d4d649e405c9618f2eef1b72a7b821ccc2b) PatchFile: qt5-qtwebengine.patch PatchFile-MD5: 30fa8b243bc9217e8c06d089ba7a1477 PatchFile2: qt5-qtwebengine-bluetooth.patch PatchFile2-MD5: 0f66c1c8a3099bffa5dae23277be5beb PatchScript: << #!/bin/sh -ev sed -e 's|@FINK_ARCH@|%m|g' \ -e 's|@FINK_PREFIX@|%p|g' \ -e "s|@MACOSX_DEPLOYMENT_TARGET@|$MACOSX_DEPLOYMENT_TARGET|g" \ -e "s|@SDK_PATH@|$SDK_PATH|g" \ -e 's|@PATH_TO_PG_CONFIG@|/usr/bin|g' \ -e "s|@QT_PLUGINS_DIR@|$QT_FINK_PREFIX/plugins|g" < %{PatchFile} | patch -p1 pushd src/3rdparty/chromium patch -p1 < %{PatchFile2} popd # Fix library detection tests perl -pi -e's|^linux:||g' tools/qmake/config.tests/snappy/snappy.pro perl -pi -e's|^linux:||g' tools/qmake/config.tests/srtp/srtp.pro echo "INCLUDEPATH += %p/include" >> tools/qmake/config.tests/snappy/snappy.pro echo "INCLUDEPATH += %p/include" >> tools/qmake/config.tests/srtp/srtp.pro << NoSetCPPFLAGS: true NoSetCFLAGS: true NoSetCXXFLAGS: true GCC: 4.0 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-helper.sh export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] export PATH=${QT_FINK_PREFIX}/bin:$PATH mkdir finkbin # bison >= 3.7 fails building XPathGrammar.hpp, so force system-bison. # Upstream patches at https://bugreports.qt.io/browse/QTBUG-86018, but # applies to Qt5.14 or so. Not good for Qt5.7. ln -s /usr/bin/bison finkbin/bison export PATH=%b/finkbin:$PATH export PKG_CONFIG_PATH=%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH qmake make -w fink-package-precedence --depfile-ext='\.d' --prohibit-bdep=%N --no-libs . << InstallScript: << #!/bin/sh -ev export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] make install INSTALL_ROOT=%d ### Make sure we have all the right packages (by probing .pc files) pushd %d/${QT_FINK_PREFIX}/lib/pkgconfig ### keep at end of the 'want' list of .pc files want="Qt5WebEngine.pc Qt5WebEngineCore.pc Qt5WebEngineWidgets.pc " have=`/bin/ls -1 | tr '\n' ' '` popd if [ "$want" != "$have" ]; then echo "Unexpected build results (mismatched list of .pc)" echo " want: '$want'" echo " have: '$have'" exit 1 fi ### Clean up .la, .prl files ### remove build-dir location and fix '-framework ' -> '-Wl,-framework,' find %d/${QT_FINK_PREFIX}/lib -name \*.prl -o -name \*.la | xargs \ perl -pi -e 's|%b/lib|%p/lib|g; s|-framework |-Wl,-framework,|g; s|QMAKE_PRL_BUILD_DIR \= (.*)$|QMAKE_PRL_BUILD_DIR = |g' ### Clean up .pc files ### fix '-framework ' -> '-Wl,-framework,' find %d/${QT_FINK_PREFIX}/lib -name \*.pc | xargs \ perl -pi -e 's|-framework |-Wl,-framework,|g' ### Fix includedir to point into framework dir instead of non-existent include/QtFOO ### https://bugreports.qt.io/browse/QTBUG-35256 for QTLIB in WebEngine WebEngineCore WebEngineWidgets; do perl -pi -e "s|/Qt$QTLIB|/Qt$QTLIB.framework/Headers|g" %d/${QT_FINK_PREFIX}/lib/pkgconfig/Qt5$QTLIB.pc perl -pi -e 's|I\$\{includedir\}/Qt|F\$\{libdir\} -I\$\{libdir\}/Qt|g' %d/${QT_FINK_PREFIX}/lib/pkgconfig/Qt5$QTLIB.pc done ### clean up Libs.private perl -ni -e 'print unless /Libs.private:/' %d/${QT_FINK_PREFIX}/lib/pkgconfig/*.pc << #AppBundles: DocFiles: LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.GPLv3 LICENSE.LGPL3 dist/changes-5.7.0 SplitOff: << Package: qt5-%type_pkg[qt]-qtwebenginecore-shlibs Description: Qt WebEngineCore library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtpositioning-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel-shlibs (>= %v-1) << Replaces: << # move QtWebEngineProcess out of dev pkg qt5-[qt]-qtwebengine qt5-%type_pkg[qt]-qtwebengine (<= 5.7.1-3) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5WebEngineCore.5*.dylib lib/qt5-%type_pkg[qt]/lib/QtWebEngineCore.framework/Versions/5/Helpers/QtWebEngineProcess.app << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtWebEngineCore.framework/Versions/5/QtWebEngineCore 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5WebEngineCore.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << SplitOff2: << Package: qt5-%type_pkg[qt]-qtwebengine-shlibs Description: Qt WebEngineCore library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtpositioning-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebenginecore-shlibs (>= %v-%r) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtWebEngine.framework/Versions/5/QtWebEngine ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5WebEngine.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtWebEngine.framework/Versions/5/QtWebEngine 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5WebEngine.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << SplitOff3: << Package: qt5-%type_pkg[qt]-qtwebenginewidgets-shlibs Description: Qt WebEngineCore library (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtpositioning-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebenginecore-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-1) << Files: << ( %type_pkg[qt] = mac ) lib/qt5-%type_pkg[qt]/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets ( %type_pkg[qt] = x11 ) lib/qt5-%type_pkg[qt]/lib/libQt5WebEngineWidgets.5*.dylib << Shlibs: << ( %type_pkg[qt] = mac ) %p/lib/qt5-%type_pkg[qt]/lib/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets 5.7.0 %n (>= 5.7.0-1) ( %type_pkg[qt] = x11 ) %p/lib/qt5-%type_pkg[qt]/lib/libQt5WebEngineWidgets.5.dylib 5.7.0 %n (>= 5.7.0-1) << DescDetail: << SplitOff4: << Package: qt5-%type_pkg[qt]-qml-module-qtwebengine Description: Qt5 QtWebEngine QML module (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtpositioning-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebengine-shlibs (>= %v-%r), qt5-%type_pkg[qt]-qtwebenginecore-shlibs (>= %v-%r) << Files: << lib/qt5-%type_pkg[qt]/share/qt5/qml/QtWebEngine << DescDetail: << SplitOff5: << Package: qt5-%type_pkg[qt]-webengine-designer-plugins Description: Qt5 WebEngine designer plugins (%type_pkg[qt]) Depends: << qt5-%type_pkg[qt]-qtcore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtdesigner-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtgui-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtnetwork-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtpositioning-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebchannel-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebenginecore-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwebenginewidgets-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtxml-shlibs (>= %v-1) << Conflicts: << # Designer.app can't run with the plugin from an earlier %v Qt lib qt5-%type_pkg[qt]-designer (>> %v-9999) << Files: << lib/qt5-%type_pkg[qt]/plugins/designer << DescDetail: << Homepage: http://qt-project.org DescDetail: << Qt is a cross-platform application and UI framework with APIs for C++ programming and Qt Quick for rapid UI creation. * Intuitive class libraries * Easy to use and learn * Produce highly readable, easily maintainable and reusable code * High runtime performance and small footprint << DescUsage: << To compile against this Qt5, you need to make sure that "%p/lib/qt5-%type_pkg[qt]/bin" is first in your PATH and that qmake is present. Qmake is provided by "qt5-%type_pkg[qt]-qtbase-dev-tools". If you need to manually find the headers and libraries, you need your compiler flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or this: -I%p/lib/qt5-%type_pkg[qt]/include ...and your linker flags to contain: -F%p/lib/qt5-%type_pkg[qt]/lib or -L%p/lib/qt5-%type_pkg[qt]/lib In this case, it's still a good idea to set your PATH to contain "%p/lib/qt5-%type_pkg[qt]/bin" as well. << DescPackaging: << We follow Ubuntu's lead in using the separate tarballs and separate most of the packages the same way they do. Fix xocde comparison (string-compare fails for xcode >= 10.0) https://codereview.qt-project.org/c/qt/qtwebengine/+/240853 << DescPort: << src/3rdparty/chromium/net/cert/x509_certificate_mac.cc https://bugs.chromium.org/p/chromium/issues/detail?id=684590 Fix qualified reference to "Time" src/3rdparty/chromium/base/mac/foundation_util.h https://bugreports.qt.io/browse/QTBUG-78997 Fix typdef redefinitions in Xcode11.5 src/core/config/mac_osx.pri https://bugreports.qt.io/browse/QTBUG-83318 fix major.minor.patch string parsing src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.* Remove APIs that have long been deprecated and removed with Xcode11.5 chromium bug: 650836 << << # End Info4