Info4: << Package: qt5-%type_pkg[qt]-qtvirtualkeyboard Version: 5.7.1 Revision: 2 Description: Cross-Platform framework (%type_pkg[qt]) Type: qt (mac) License: LGPL Maintainer: None ### First version 5.7.0 by Hanspeter Niederstrasser ### Free to upgrade and modify parameters, but please discuss ### first on the fink-devel list Depends: << qt5-%type_pkg[qt]-virtualkeyboard-plugin (= %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]-qtsvg (>= %v-1), fink (>= 0.34.4-1), fink-buildenv-modules, fink-package-precedence, libhunspell1.7-dev, pkgconfig, 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/qtvirtualkeyboard-opensource-src-%v.tar.xz Source-Checksum: SHA256(b28b8b937ed15d794c5ebc93e9556d08a0c9761a434864ebf2b454554e652add) NoSetCPPFLAGS: true NoSetCFLAGS: true NoSetCXXFLAGS: true PatchScript: << # Use only system-hunspell rm -r src/virtualkeyboard/3rdparty/hunspell perl -pi -e 's||\|g' src/virtualkeyboard/hunspellworker.h src/virtualkeyboard/hunspellinputmethod_p.cpp << 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 export PKG_CONFIG_PATH=%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH #if [ "%type_raw[qt]" == "mac" ]; then # qmake_flags="QMAKE_CXXFLAGS+=\"-F%b/lib\"" #fi qmake $qmake_flags make -w fink-package-precedence --depfile-ext='\.d' --prohibit-bdep=%N . << InstallScript: << #!/bin/sh -ev export QT_FINK_PREFIX=%p/lib/qt5-%type_pkg[qt] make install INSTALL_ROOT=%d << #AppBundles: DocFiles: LICENSE.GPL3 README.md SplitOff: << Package: qt5-%type_pkg[qt]-virtualkeyboard-plugin Description: Qt5 virtual keyboard plugin (%type_pkg[qt]) Depends: << libhunspell1.7-shlibs, 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]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1) << Files: << lib/qt5-%type_pkg[qt]/plugins/platforminputcontexts << DescDetail: << SplitOff2: << Package: qt5-%type_pkg[qt]-qml-module-qtquick-virtualkeyboard Description: Qt5 virtual keyboard 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]-qtqml-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtquick-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtsvg-shlibs (>= %v-1), qt5-%type_pkg[qt]-qtwidgets-shlibs (>= %v-1) << Files: << lib/qt5-%type_pkg[qt]/share/qt5/qml/QtQuick/VirtualKeyboard << 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. << << # End Info4