898 lines
42 KiB
Bash
898 lines
42 KiB
Bash
SUMMARY="A comprehensive C++ application development framework"
|
|
DESCRIPTION="Qt is a cross-platform application framework that is widely \
|
|
used for developing software with a graphical user interface, and also used \
|
|
for developing non-GUI programs such as command-line tools and consoles for \
|
|
servers."
|
|
HOMEPAGE="https://qt.io/"
|
|
COPYRIGHT="2015-2020 The Qt Company Ltd."
|
|
LICENSE="GNU LGPL v2.1
|
|
GNU LGPL v3
|
|
FDL"
|
|
REVISION="7"
|
|
baseURL="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules"
|
|
SOURCE_URI="https://github.com/qt/qt5/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="b404979e3ec79afc6484c527246ec919cd0a5b3927d172b321b4598e1de52d69"
|
|
SOURCE_DIR="qt5-$portVersion"
|
|
gitCommit01="7edec6e014de27b9dd03f63875c471aac606a918"
|
|
SOURCE_URI_01="https://invent.kde.org/qt/qt/qt3d/-/archive/$gitCommit01/qt3d-$gitCommit01.tar.gz"
|
|
CHECKSUM_SHA256_01="92af72cd1c7bfa1b1f3f3ab3e4bda90b35a0eab30f2c6a7214a5da2a5e819773"
|
|
SOURCE_DIR_01="qt3d-$gitCommit01"
|
|
PATCHES_01="qt3d-$portVersion.patchset
|
|
qt3d-5.15.2+kde.patchset"
|
|
SOURCE_URI_02="$baseURL/qtactiveqt-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_02="868161fee0876d17079cd5bed58d1667bf19ffd0018cbe515129f11510ad2a5c"
|
|
SOURCE_DIR_02="qtactiveqt-everywhere-src-$portVersion"
|
|
SOURCE_URI_03="$baseURL/qtandroidextras-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_03="5813278690d89a9c232eccf697fc280034de6f9f02a7c40d95ad5fcf8ac8dabd"
|
|
SOURCE_DIR_03="qtandroidextras-everywhere-src-$portVersion"
|
|
gitCommit04="9749bcc95e465d38fb9d810d4c97b1e230465e0d"
|
|
SOURCE_URI_04="https://invent.kde.org/qt/qt/qtbase/-/archive/$gitCommit04/qtbase-$gitCommit04.tar.gz"
|
|
CHECKSUM_SHA256_04="69e43b7c4db0c84c08c1232946a16ac92de969af7ab87244238bbf354a266cc2"
|
|
SOURCE_DIR_04="qtbase-$gitCommit04"
|
|
PATCHES_04="qtbase-$portVersion.patchset
|
|
qtbase-5.15.2+kde.patchset"
|
|
SOURCE_URI_05="$baseURL/qtcharts-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_05="e0750e4195bd8a8b9758ab4d98d437edbe273cd3d289dd6a8f325df6d13f3d11"
|
|
SOURCE_DIR_05="qtcharts-everywhere-src-$portVersion"
|
|
SOURCE_URI_06="$baseURL/qtconnectivity-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_06="0380327871f76103e5b8c2a305988d76d352b6a982b3e7b3bc3cdc184c64bfa0"
|
|
SOURCE_DIR_06="qtconnectivity-everywhere-src-$portVersion"
|
|
SOURCE_URI_07="$baseURL/qtdatavis3d-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_07="226a6575d573ad78aca459709722c496c23aee526aa0c38eb7c93b0bea1eb6fd"
|
|
SOURCE_DIR_07="qtdatavis3d-everywhere-src-$portVersion"
|
|
gitCommit08="55324650f9e759a43dce927f823c9858574106c3"
|
|
SOURCE_URI_08="https://invent.kde.org/qt/qt/qtdeclarative/-/archive/$gitCommit08/qtdeclarative-$gitCommit08.tar.gz"
|
|
CHECKSUM_SHA256_08="e4ffb1a1dfea29ca2ecfb218f4db37f159e8d359cb4c44fee96dd33186bc2b0e"
|
|
SOURCE_DIR_08="qtdeclarative-$gitCommit08"
|
|
PATCHES_08="qtdeclarative-$portVersion.patchset
|
|
qtdeclarative-5.15.2+kde.patchset"
|
|
SOURCE_URI_09="$baseURL/qtdoc-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_09="a47809f00f1bd690ca4e699cb32ffe7717d43da84e0167d1f562210da7714ce4"
|
|
SOURCE_DIR_09="qtdoc-everywhere-src-$portVersion"
|
|
SOURCE_URI_10="$baseURL/qtgamepad-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_10="c77611f7898326d69176ad67a9b886f617cdedc368ec29f223d63537d25b075c"
|
|
SOURCE_DIR_10="qtgamepad-everywhere-src-$portVersion"
|
|
SOURCE_URI_11="$baseURL/qtgraphicaleffects-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_11="ec8d67f64967d5046410490b549c576f9b9e8b47ec68594ae84aa8870173dfe4"
|
|
SOURCE_DIR_11="qtgraphicaleffects-everywhere-src-$portVersion"
|
|
SOURCE_URI_12="$baseURL/qtimageformats-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_12="bf8285c7ce04284527ab823ddc7cf48a1bb79131db3a7127342167f4814253d7"
|
|
SOURCE_DIR_12="qtimageformats-everywhere-src-$portVersion"
|
|
SOURCE_URI_13="$baseURL/qtlocation-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_13="984fcb09e108df49a8dac35d5ce6dffc49caafd2acb1c2f8a5173a6a21f392a0"
|
|
SOURCE_DIR_13="qtlocation-everywhere-src-$portVersion"
|
|
PATCHES_13="qtlocation-$portVersion.patchset"
|
|
SOURCE_URI_14="$baseURL/qtlottie-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_14="cec6095ab8f714e609d2ad3ea8c4fd819461ce8793adc42abe37d0f6dc432517"
|
|
SOURCE_DIR_14="qtlottie-everywhere-src-$portVersion"
|
|
SOURCE_URI_15="$baseURL/qtmacextras-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_15="6959b0f2cec71cd66800f36cab797430860e55fa33c9c23698d6a08fc2b8776e"
|
|
SOURCE_DIR_15="qtmacextras-everywhere-src-$portVersion"
|
|
SOURCE_URI_16="$baseURL/qtmultimedia-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_16="0c3758810e5131aabcf76e4965e4c18b8911af54d9edd9305d2a8278d8346df5"
|
|
SOURCE_DIR_16="qtmultimedia-everywhere-src-$portVersion"
|
|
SOURCE_URI_17="$baseURL/qtnetworkauth-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_17="fcc2ec42faa68561efa8f00cd72e662fbc06563ebc6de1dc42d96bb2997acd85"
|
|
SOURCE_DIR_17="qtnetworkauth-everywhere-src-$portVersion"
|
|
SOURCE_URI_18="$baseURL/qtpurchasing-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_18="87120d319ff2f8106e78971f7296d72a66dfe91e763d213199aea55046e93227"
|
|
SOURCE_DIR_18="qtpurchasing-everywhere-src-$portVersion"
|
|
gitCommit19="e3dfdf1bed735dc720f08c4a01cdc7ddbe7623f7"
|
|
SOURCE_URI_19="https://invent.kde.org/qt/qt/qtquick3d/-/archive/$gitCommit19/qtquick3d-$gitCommit19.tar.gz"
|
|
CHECKSUM_SHA256_19="fafdfa20fe348514efe7be7946689aa6a661b1ff9688a4bca0d0745fe7902689"
|
|
SOURCE_DIR_19="qtquick3d-$gitCommit19"
|
|
PATCHES_19="qtquick3d-$portVersion.patchset
|
|
qtquick3d-5.15.2+kde.patchset"
|
|
SOURCE_URI_20="$baseURL/qtquickcontrols-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_20="c393fb7384b1f047f10e91a6832cf3e6a4c2a41408b8cb2d05af2283e8549fb5"
|
|
SOURCE_DIR_20="qtquickcontrols-everywhere-src-$portVersion"
|
|
SOURCE_URI_21="$baseURL/qtquickcontrols2-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_21="671b6ce5f4b8ecc94db622d5d5fb29ef4ff92819be08e5ea55bfcab579de8919"
|
|
SOURCE_DIR_21="qtquickcontrols2-everywhere-src-$portVersion"
|
|
SOURCE_URI_22="$baseURL/qtquicktimeline-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_22="b9c247227607437acec7c7dd18ad46179d20369c9d22bdb1e9fc128dfb832a28"
|
|
SOURCE_DIR_22="qtquicktimeline-everywhere-src-$portVersion"
|
|
SOURCE_URI_23="$baseURL/qtremoteobjects-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_23="6781b6bc90888254ea77ce812736dac00c67fa4eeb3095f5cd65e4b9c15dcfc2"
|
|
SOURCE_DIR_23="qtremoteobjects-everywhere-src-$portVersion"
|
|
gitCommit24="v5.15.6-lts"
|
|
SOURCE_URI_24="https://invent.kde.org/qt/qt/qtscript/-/archive/$gitCommit24/qtscript-$gitCommit24.tar.gz"
|
|
CHECKSUM_SHA256_24="367e7ea333d2047d0dd9b2749f8f6ae80c43a342d37834a2472fc13499f4d73b"
|
|
SOURCE_DIR_24="qtscript-$gitCommit24"
|
|
SOURCE_URI_25="$baseURL/qtscxml-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_25="60b9590b9a41c60cee7b8a8c8410ee4625f0389c1ff8d79883ec5a985638a7dc"
|
|
SOURCE_DIR_25="qtscxml-everywhere-src-$portVersion"
|
|
SOURCE_URI_26="$baseURL/qtsensors-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_26="3f0011f9e9942cad119146b54d960438f4568a22a274cdad4fae06bb4e0e4839"
|
|
SOURCE_DIR_26="qtsensors-everywhere-src-$portVersion"
|
|
SOURCE_URI_27="$baseURL/qtserialbus-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_27="aeeb7e5c0d3f8503215b22e1a84c0002ca67cf63862f6e3c6ef44a67ca31bd88"
|
|
SOURCE_DIR_27="qtserialbus-everywhere-src-$portVersion"
|
|
SOURCE_URI_28="$baseURL/qtserialport-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_28="59c559d748417306bc1b2cf2315c1e63eed011ace38ad92946af71f23e2ef79d"
|
|
SOURCE_DIR_28="qtserialport-everywhere-src-$portVersion"
|
|
PATCHES_28="qtserialport-$portVersion.patchset"
|
|
SOURCE_URI_29="$baseURL/qtspeech-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_29="c810fb9eecb08026434422a32e79269627f3bc2941be199e86ec410bdfe883f5"
|
|
SOURCE_DIR_29="qtspeech-everywhere-src-$portVersion"
|
|
gitCommit30="24128cdf8bef53eddf31a5709bbbc46293006b1c"
|
|
SOURCE_URI_30="https://invent.kde.org/qt/qt/qtsvg/-/archive/$gitCommit30/qtsvg-$gitCommit30.tar.gz"
|
|
CHECKSUM_SHA256_30="c96e4510f454a64d38180d7011c02f4e4814211166b00c0f4f0966977a30b5fa"
|
|
SOURCE_DIR_30="qtsvg-$gitCommit30"
|
|
PATCHES_30="qtsvg-5.15.2+kde.patchset"
|
|
gitCommit31="33693a928986006d79c1ee743733cde5966ac402"
|
|
SOURCE_URI_31="https://invent.kde.org/qt/qt/qttools/-/archive/$gitCommit31/qttools-$gitCommit31.tar.gz"
|
|
CHECKSUM_SHA256_31="1f48bdb316a42dc41e8cf977ea4b93c368ca6d5c40e7d6e836d9717a19f82e40"
|
|
SOURCE_DIR_31="qttools-$gitCommit31"
|
|
PATCHES_31="qttools-5.15.2+kde.patchset"
|
|
SOURCE_URI_32="$baseURL/qttranslations-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_32="d5788e86257b21d5323f1efd94376a213e091d1e5e03b45a95dd052b5f570db8"
|
|
SOURCE_DIR_32="qttranslations-everywhere-src-$portVersion"
|
|
SOURCE_URI_33="$baseURL/qtvirtualkeyboard-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_33="9a3193913be30f09a896e3b8c2f9696d2e9b3f88a63ae9ca8c97a2786b68cf55"
|
|
SOURCE_DIR_33="qtvirtualkeyboard-everywhere-src-$portVersion"
|
|
SOURCE_URI_34="$baseURL/qtwayland-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_34="193732229ff816f3aaab9a5e2f6bed71ddddbf1988ce003fe8dd84a92ce9aeb5"
|
|
SOURCE_DIR_34="qtwayland-everywhere-src-$portVersion"
|
|
SOURCE_URI_35="$baseURL/qtwebchannel-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_35="127fe79c43b386713f151ed7d411cd81e45e29f9c955584f29736f78c9303ec1"
|
|
SOURCE_DIR_35="qtwebchannel-everywhere-src-$portVersion"
|
|
#SOURCE_URI_36="$baseURL/qtwebengine-everywhere-src-$portVersion.tar.xz"
|
|
#CHECKSUM_SHA256_36="c8afca0e43d84f7bd595436fbe4d13a5bbdb81ec5104d605085d07545b6f91e0"
|
|
#SOURCE_DIR_36="qtwebengine-everywhere-src-$portVersion"
|
|
SOURCE_URI_37="$baseURL/qtwebglplugin-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_37="81e782b517ed29e10bea1aa90c9f59274c98a910f2c8b105fa78368a36b41446"
|
|
SOURCE_DIR_37="qtwebglplugin-everywhere-src-$portVersion"
|
|
SOURCE_URI_38="$baseURL/qtwebsockets-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_38="a0b42d85dd34ff6e2d23400e02f83d8b85bcd80e60efd1521d12d9625d4a233f"
|
|
SOURCE_DIR_38="qtwebsockets-everywhere-src-$portVersion"
|
|
SOURCE_URI_39="$baseURL/qtwebview-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_39="be9f46167e4977ead5ef5ecf883fdb812a4120f2436383583792f65557e481e7"
|
|
SOURCE_DIR_39="qtwebview-everywhere-src-$portVersion"
|
|
SOURCE_URI_40="$baseURL/qtwinextras-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_40="65b8272005dec00791ab7d81ab266d1e3313a3bbd8e54e546d984cf4c4ab550e"
|
|
SOURCE_DIR_40="qtwinextras-everywhere-src-$portVersion"
|
|
SOURCE_URI_41="$baseURL/qtx11extras-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_41="7014702ee9a644a5a93da70848ac47c18851d4f8ed622b29a72eed9282fc6e3e"
|
|
SOURCE_DIR_41="qtx11extras-everywhere-src-$portVersion"
|
|
SOURCE_URI_42="$baseURL/qtxmlpatterns-everywhere-src-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256_42="76ea2162a7c349188d7e7e4f6c77b78e8a205494c90fee3cea3487a1ae2cf2fa"
|
|
SOURCE_DIR_42="qtxmlpatterns-everywhere-src-$portVersion"
|
|
ADDITIONAL_FILES="
|
|
Assistant.rdef.in
|
|
Designer.rdef.in
|
|
Linguist.rdef.in
|
|
QDBusViewer.rdef.in
|
|
"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
qt5$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libqt5$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtbase
|
|
lib:libQt5Concurrent$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Core$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5DBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5EglFSDeviceIntegration$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Gui$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Network$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5OpenGL$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5PrintSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Sql$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Test$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Widgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Xml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qt3d
|
|
lib:libQt53DAnimation$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DCore$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DExtras$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DInput$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DLogic$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuickAnimation$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuickExtras$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuickInput$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuickRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DQuickScene2D$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt53DRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtcharts
|
|
lib:libQt5Charts$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtconnectivity
|
|
lib:libQt5Bluetooth$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Nfc$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtdatavis3d
|
|
lib:libQt5DataVisualization$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtdeclarative
|
|
lib:libQt5Qml$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QmlModels$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QmlWorkerScript$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick3D$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick3DAssetImport$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick3DRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick3DRuntimeRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Quick3DUtils$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickControls2$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickParticles$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickShapes$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickTemplates2$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickTest$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtgamepad
|
|
lib:libQt5Gamepad$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtlocation
|
|
lib:libQt5Location$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Positioning$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5PositioningQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtlottie
|
|
lib:libQt5Bodymovin$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtmultimedia
|
|
lib:libQt5Multimedia$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5MultimediaGstTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5MultimediaQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5MultimediaWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtnetworkauth
|
|
lib:libQt5NetworkAuth$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtpurchasing
|
|
lib:libQt5Purchasing$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtremoteobjects
|
|
lib:libQt5RemoteObjects$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtscript
|
|
lib:libQt5Script$secondaryArchSuffix = 5.15.6 compat >= 5
|
|
lib:libQt5ScriptTools$secondaryArchSuffix = 5.15.6 compat >= 5
|
|
# qtscxml
|
|
lib:libQt5Scxml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsensors
|
|
lib:libQt5Sensors$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialbus
|
|
lib:libQt5SerialBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialport
|
|
lib:libQt5SerialPort$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtspeech
|
|
lib:libQt5TextToSpeech$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsvg
|
|
lib:libQt5Svg$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qttools
|
|
lib:libQt5Help$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5Designer$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5DesignerComponents$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtvirtualkeyboard
|
|
lib:libQt5VirtualKeyboard$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebchannel
|
|
lib:libQt5WebChannel$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebsockets
|
|
lib:libQt5WebSockets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtxmlpatterns
|
|
lib:libQt5XmlPatterns$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebview
|
|
lib:libQt5WebView$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
cmd:qsystray
|
|
lib:libassimp$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libdouble_conversion$secondaryArchSuffix
|
|
lib:libegl$secondaryArchSuffix
|
|
lib:libflite$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libfontconfig$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libgstapp_1.0$secondaryArchSuffix
|
|
lib:libgstaudio_1.0$secondaryArchSuffix
|
|
lib:libgstbadaudio_1.0$secondaryArchSuffix
|
|
lib:libgstreamer_1.0$secondaryArchSuffix
|
|
lib:libgstvideo_1.0$secondaryArchSuffix
|
|
lib:libharfbuzz$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix >= 66
|
|
lib:libicui18n$secondaryArchSuffix >= 66
|
|
lib:libicuuc$secondaryArchSuffix >= 66
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libopenal$secondaryArchSuffix
|
|
lib:libpcre2_16$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
qt5${secondaryArchSuffix}_devel = $portVersion compat >= 5
|
|
devel:libqt5$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtbase
|
|
devel:libQt5Bootstrap$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Concurrent$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Core$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5DBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EdidSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Gui$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Network$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5OpenGL$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5OpenGLExtensions$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5PrintSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Sql$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Test$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Widgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Xml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qt3d
|
|
devel:libQt53DAnimation$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DCore$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DExtras$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DInput$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DLogic$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuickAnimation$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuickExtras$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuickInput$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuickRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DQuickScene2D$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt53DRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtcharts
|
|
devel:libQt5Charts$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtconnectivity
|
|
devel:libQt5Bluetooth$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Nfc$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtdatavis3d
|
|
devel:libQt5DataVisualization$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtdeclarative
|
|
devel:libQt5PacketProtocol$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Qml$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QmlDebug$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QmlModels$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QmlWorkerScript$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick3D$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick3DAssetImport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick3DRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick3DRuntimeRender$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Quick3DUtils$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickControls2$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickParticles$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickShapes$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickTemplates2$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickTest$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtgamepad
|
|
devel:libQt5Gamepad$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtlocation
|
|
devel:libQt5Location$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Positioning$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5PositioningQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtlottie
|
|
devel:libQt5Bodymovin$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtmultimedia
|
|
devel:libQt5Multimedia$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5MultimediaGstTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5MultimediaQuick$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5MultimediaWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtnetworkauth
|
|
devel:libQt5NetworkAuth$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtpurchasing
|
|
devel:libQt5Purchasing$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtquick1
|
|
devel:libQt5QmlDevTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5UiTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtremoteobjects
|
|
devel:libQt5RemoteObjects$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtscript
|
|
devel:libQt5Script$secondaryArchSuffix = 5.15.6 compat >= 5
|
|
devel:libQt5ScriptTools$secondaryArchSuffix = 5.15.6 compat >= 5
|
|
# qtscxml
|
|
devel:libQt5Scxml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsensors
|
|
devel:libQt5Sensors$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialbus
|
|
devel:libQt5SerialBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialport
|
|
devel:libQt5SerialPort$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtspeech
|
|
devel:libQt5TextToSpeech$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsvg
|
|
devel:libQt5Svg$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qttools
|
|
devel:libQt5Designer$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5DesignerComponents$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5Help$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtvirtualkeyboard
|
|
devel:libQt5VirtualKeyboard$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebchannel
|
|
devel:libQt5WebChannel$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebsockets
|
|
devel:libQt5WebSockets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtxmlpatterns
|
|
devel:libQt5XmlPatterns$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebview
|
|
devel:libQt5WebView$secondaryArchSuffix = $portVersion compat >= 5
|
|
|
|
devel:libQt5AccessibilitySupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5DeviceDiscoverySupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EdidSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EglSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EglFSDeviceIntegration$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EventDispatcherSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5FbSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5FontDatabaseSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5OpenGLExtensions$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5PacketProtocol$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5PlatformCompositorSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QmlDebug$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QmlDevTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5ServiceSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5ThemeSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5UiTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
|
|
cmd:balsam$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:canbusutil$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:fixqt4headers.pl$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:meshdebug$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:moc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qgltf$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qlalr$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmake$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qml$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlcachegen$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmleasing$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlformat$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlimportscanner$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmllint$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlmin$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlplugindump$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlprofiler$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlpreview$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmlscene$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmltestrunner$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmltyperegistrar$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qscxmlc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qvkgen$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:rcc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:repc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:syncqt.pl$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:tracegen$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:uic$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:xmlpatterns$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:xmlpatternsvalidator$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
|
|
# if libssl and libcrypto are not in REQUIRES_devel,
|
|
# qmake will decide that there is no system OpenSSL support
|
|
# and thus build Qt apps without any SSL support.
|
|
REQUIRES_devel="
|
|
qt5$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
lib:libassimp$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_docs="
|
|
qt5${secondaryArchSuffix}_docs = $portVersion
|
|
"
|
|
|
|
REQUIRES_docs="
|
|
qt5${secondaryArchSuffix}_devel == $portVersion base
|
|
"
|
|
|
|
PROVIDES_examples="
|
|
qt5${secondaryArchSuffix}_examples = $portVersion
|
|
"
|
|
|
|
REQUIRES_examples="
|
|
qt5${secondaryArchSuffix}_devel == $portVersion base
|
|
"
|
|
|
|
PROVIDES_tools="
|
|
qt5${secondaryArchSuffix}_tools = $portVersion compat >= 5
|
|
app:Assistant$secondaryArchSuffix = $portVersion compat >= 5
|
|
app:Designer$secondaryArchSuffix = $portVersion compat >= 5
|
|
app:Linguist$secondaryArchSuffix = $portVersion compat >= 5
|
|
app:QDBusViewer$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:assistant$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:designer$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lconvert$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:linguist$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lprodump$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lrelease$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lrelease_pro$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lupdate$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lupdate_pro$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:pixeltool$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qcollectiongenerator$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdbus$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdbuscpp2xml$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdbusviewer$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdbusxml2cpp$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdistancefieldgenerator$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qdoc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qhelpgenerator$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qtattributionsscanner$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qtdiag$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qtpaths$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qtplugininfo$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_tools="
|
|
qt5$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libLLVM_9$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libassimp$secondaryArchSuffix
|
|
devel:libclang$secondaryArchSuffix >= 9
|
|
devel:libclanganalysis$secondaryArchSuffix >= 9
|
|
devel:libLLVM_9$secondaryArchSuffix
|
|
devel:libcrypto$secondaryArchSuffix
|
|
devel:libdouble_conversion$secondaryArchSuffix >= 3
|
|
devel:libegl$secondaryArchSuffix
|
|
devel:libflite$secondaryArchSuffix
|
|
devel:libfontconfig$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libgstapp_1.0$secondaryArchSuffix
|
|
devel:libgstaudio_1.0$secondaryArchSuffix
|
|
devel:libgstbadaudio_1.0$secondaryArchSuffix
|
|
devel:libgstbase_1.0$secondaryArchSuffix
|
|
devel:libgstpbutils_1.0$secondaryArchSuffix
|
|
devel:libgstreamer_1.0$secondaryArchSuffix
|
|
devel:libgstvideo_1.0$secondaryArchSuffix
|
|
devel:libicuuc$secondaryArchSuffix >= 66
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libopenal$secondaryArchSuffix
|
|
devel:liborc_0.4$secondaryArchSuffix
|
|
devel:libpcre2_16$secondaryArchSuffix
|
|
devel:libpng16$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libtiff$secondaryArchSuffix >= 5
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:bison
|
|
cmd:cmp
|
|
cmd:find
|
|
cmd:flex
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:gperf
|
|
cmd:grep
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:ninja
|
|
cmd:make
|
|
cmd:orcc$secondaryArchSuffix
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
cmd:ruby
|
|
cmd:sed
|
|
cmd:xargs
|
|
cmd:which
|
|
"
|
|
|
|
defineDebugInfoPackage qt5$secondaryArchSuffix \
|
|
"$libDir"/libQt5Concurrent.so.$portVersion \
|
|
"$libDir"/libQt5Core.so.$portVersion \
|
|
"$libDir"/libQt5DBus.so.$portVersion \
|
|
"$libDir"/libQt5EglFSDeviceIntegration.so.$portVersion \
|
|
"$libDir"/libQt5Gui.so.$portVersion \
|
|
"$libDir"/libQt5Network.so.$portVersion \
|
|
"$libDir"/libQt5OpenGL.so.$portVersion \
|
|
"$libDir"/libQt5PrintSupport.so.$portVersion \
|
|
"$libDir"/libQt5Sql.so.$portVersion \
|
|
"$libDir"/libQt5Test.so.$portVersion \
|
|
"$libDir"/libQt5Widgets.so.$portVersion \
|
|
"$libDir"/libQt5Xml.so.$portVersion \
|
|
"$libDir"/libQt53DAnimation.so.$portVersion \
|
|
"$libDir"/libQt53DCore.so.$portVersion \
|
|
"$libDir"/libQt53DExtras.so.$portVersion \
|
|
"$libDir"/libQt53DInput.so.$portVersion \
|
|
"$libDir"/libQt53DLogic.so.$portVersion \
|
|
"$libDir"/libQt53DQuick.so.$portVersion \
|
|
"$libDir"/libQt53DQuickAnimation.so.$portVersion \
|
|
"$libDir"/libQt53DQuickExtras.so.$portVersion \
|
|
"$libDir"/libQt53DQuickInput.so.$portVersion \
|
|
"$libDir"/libQt53DQuickRender.so.$portVersion \
|
|
"$libDir"/libQt53DQuickScene2D.so.$portVersion \
|
|
"$libDir"/libQt53DRender.so.$portVersion \
|
|
"$libDir"/libQt5Charts.so.$portVersion \
|
|
"$libDir"/libQt5Bluetooth.so.$portVersion \
|
|
"$libDir"/libQt5Nfc.so.$portVersion \
|
|
"$libDir"/libQt5DataVisualization.so.$portVersion \
|
|
"$libDir"/libQt5Qml.so.$portVersion \
|
|
"$libDir"/libQt5QmlModels.so.$portVersion \
|
|
"$libDir"/libQt5QmlWorkerScript.so.$portVersion \
|
|
"$libDir"/libQt5Quick.so.$portVersion \
|
|
"$libDir"/libQt5Quick3D.so.$portVersion \
|
|
"$libDir"/libQt5Quick3DAssetImport.so.$portVersion \
|
|
"$libDir"/libQt5Quick3DRender.so.$portVersion \
|
|
"$libDir"/libQt5Quick3DRuntimeRender.so.$portVersion \
|
|
"$libDir"/libQt5Quick3DUtils.so.$portVersion \
|
|
"$libDir"/libQt5QuickControls2.so.$portVersion \
|
|
"$libDir"/libQt5QuickParticles.so.$portVersion \
|
|
"$libDir"/libQt5QuickShapes.so.$portVersion \
|
|
"$libDir"/libQt5QuickTemplates2.so.$portVersion \
|
|
"$libDir"/libQt5QuickTest.so.$portVersion \
|
|
"$libDir"/libQt5QuickWidgets.so.$portVersion \
|
|
"$libDir"/libQt5Gamepad.so.$portVersion \
|
|
"$libDir"/libQt5Location.so.$portVersion \
|
|
"$libDir"/libQt5Positioning.so.$portVersion \
|
|
"$libDir"/libQt5PositioningQuick.so.$portVersion \
|
|
"$libDir"/libQt5Bodymovin.so.$portVersion \
|
|
"$libDir"/libQt5Multimedia.so.$portVersion \
|
|
"$libDir"/libQt5MultimediaGstTools.so.$portVersion \
|
|
"$libDir"/libQt5MultimediaQuick.so.$portVersion \
|
|
"$libDir"/libQt5MultimediaWidgets.so.$portVersion \
|
|
"$libDir"/libQt5NetworkAuth.so.$portVersion \
|
|
"$libDir"/libQt5Purchasing.so.$portVersion \
|
|
"$libDir"/libQt5RemoteObjects.so.$portVersion \
|
|
"$libDir"/libQt5Script.so.5.15.6 \
|
|
"$libDir"/libQt5ScriptTools.so.5.15.6 \
|
|
"$libDir"/libQt5Scxml.so.$portVersion \
|
|
"$libDir"/libQt5Sensors.so.$portVersion \
|
|
"$libDir"/libQt5SerialBus.so.$portVersion \
|
|
"$libDir"/libQt5SerialPort.so.$portVersion \
|
|
"$libDir"/libQt5TextToSpeech.so.$portVersion \
|
|
"$libDir"/libQt5Svg.so.$portVersion \
|
|
"$libDir"/libQt5Help.so.$portVersion \
|
|
"$libDir"/libQt5Designer.so.$portVersion \
|
|
"$libDir"/libQt5DesignerComponents.so.$portVersion \
|
|
"$libDir"/libQt5VirtualKeyboard.so.$portVersion \
|
|
"$libDir"/libQt5WebChannel.so.$portVersion \
|
|
"$libDir"/libQt5WebSockets.so.$portVersion \
|
|
"$libDir"/libQt5XmlPatterns.so.$portVersion \
|
|
"$libDir"/libQt5WebView.so.$portVersion \
|
|
"$(getPackagePrefix tools)/$relativeAppsDir/Qt5"/Assistant \
|
|
"$(getPackagePrefix tools)/$relativeAppsDir/Qt5"/Designer \
|
|
"$(getPackagePrefix tools)/$relativeAppsDir/Qt5"/Linguist \
|
|
"$(getPackagePrefix tools)/$relativeAppsDir/Qt5"/QDBusViewer \
|
|
"$(getPackagePrefix tools)/$relativeAppsDir/Qt5"/qdoc \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lconvert \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lprodump \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lrelease \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lrelease-pro \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lupdate \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/lupdate-pro \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/pixeltool \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qcollectiongenerator \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qdbus \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qdbuscpp2xml \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qdbusxml2cpp \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qdistancefieldgenerator \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qhelpgenerator \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qtattributionsscanner \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qtdiag \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qtpaths \
|
|
"$(getPackagePrefix tools)/$relativeBinDir"/qtplugininfo \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/balsam \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/canbusutil \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/meshdebug \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/moc \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qgltf \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qlalr \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmake \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qml \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlcachegen \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmleasing \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlformat \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlimportscanner \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmllint \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlmin \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlplugindump \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlprofiler \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlpreview \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmlscene \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmltestrunner \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qmltyperegistrar \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qscxmlc \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/qvkgen \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/rcc \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/repc \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/tracegen \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/uic \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/xmlpatterns \
|
|
"$(getPackagePrefix devel)/$relativeBinDir"/xmlpatternsvalidator
|
|
|
|
BUILD()
|
|
{
|
|
cd $sourceDir
|
|
|
|
export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
|
|
|
|
_fdirs=$(ls -d /sources-*/*)
|
|
for _dir in $_fdirs; do
|
|
_module=${_dir//*\/}
|
|
[ ! -L "${_dir}" ] && [ -d "${_module//-*}" ] && rmdir "${_module//-*}"
|
|
[ ! -L "${_dir}" ] && mv "$_dir" "${_module//-*}" \
|
|
&& ln -srf "${_module//-*}" "$_dir"
|
|
done
|
|
|
|
CPPFLAGS=-D_BSD_SOURCE ./configure \
|
|
-prefix $prefix \
|
|
-bindir $binDir \
|
|
-libdir $libDir \
|
|
-libexecdir $libExecDir \
|
|
-headerdir $includeDir \
|
|
-docdir $docDir/Qt5 \
|
|
-datadir $dataDir/Qt5 \
|
|
-archdatadir $dataDir/Qt5 \
|
|
-hostdatadir $dataDir/Qt5 \
|
|
-translationdir $dataDir/Qt5/translations \
|
|
-sysconfdir $settingsDir \
|
|
-testsdir $dataDir/Qt5/tests \
|
|
-examplesdir $dataDir/Qt5/examples \
|
|
-importdir $dataDir/Qt5/imports \
|
|
-qmldir $dataDir/Qt5/qml \
|
|
-plugindir $addOnsDir/Qt5 \
|
|
-platform haiku-g++ -no-pch \
|
|
-nomake examples -nomake tests \
|
|
-release -opensource \
|
|
-confirm-license -no-iconv \
|
|
-no-rpath -system-sqlite \
|
|
-no-feature-flite_alsa \
|
|
-feature-ipc_posix \
|
|
-gstreamer 1.0 \
|
|
-strip
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd $sourceDir
|
|
|
|
export QT_INSTALL_HEADERS=$includeDir
|
|
export LLVM_INSTALL_DIR="$(llvm-config --prefix)"
|
|
|
|
make install
|
|
|
|
# build and install docs
|
|
PATH=$PATH:$binDir
|
|
LIBRARY_PATH=$LIBRARY_PATH:$LLVM_INSTALL_DIR/$relativeDevelopLibDir:$libDir
|
|
make docs
|
|
make install_docs
|
|
|
|
# copy all examples
|
|
_base=$dataDir/Qt5/examples
|
|
mkdir -p $_base
|
|
cp ${sourceDir}/qtbase/examples/examples.pro $_base
|
|
|
|
_fdirs=$(find "${sourceDir}" -maxdepth 2 -type d -name examples)
|
|
for _dir in $_fdirs; do
|
|
_mod=$(basename ${_dir%/examples})
|
|
if [ -e "$_dir/README" ]; then
|
|
cp $_dir/README $_dir/README.$_mod
|
|
fi
|
|
cp -rn $_dir/* $_base
|
|
done
|
|
|
|
rm $libDir/*.la
|
|
|
|
fixPkgconfig
|
|
|
|
prepareInstalledDevelLibs \
|
|
libQt53DAnimation libQt53DCore libQt53DExtras libQt53DInput \
|
|
libQt53DLogic libQt53DQuick libQt53DQuickAnimation \
|
|
libQt53DQuickExtras libQt53DQuickInput libQt53DQuickRender \
|
|
libQt53DQuickScene2D libQt53DRender libQt5Bodymovin libQt5Bluetooth \
|
|
libQt5Charts libQt5Concurrent libQt5Core libQt5DataVisualization libQt5DBus \
|
|
libQt5Designer libQt5DesignerComponents libQt5EglFSDeviceIntegration \
|
|
libQt5Gamepad libQt5Gui libQt5Help libQt5Location libQt5Multimedia \
|
|
libQt5MultimediaGstTools libQt5MultimediaQuick libQt5MultimediaWidgets \
|
|
libQt5Network libQt5NetworkAuth libQt5Nfc libQt5OpenGL \
|
|
libQt5Positioning libQt5PositioningQuick libQt5PrintSupport libQt5Purchasing \
|
|
libQt5Qml libQt5QmlModels libQt5QmlWorkerScript libQt5Quick \
|
|
libQt5Quick3D libQt5Quick3DAssetImport libQt5Quick3DRender \
|
|
libQt5Quick3DRuntimeRender libQt5Quick3DUtils libQt5QuickControls2 \
|
|
libQt5QuickParticles libQt5QuickTemplates2 libQt5QuickTest libQt5QuickWidgets \
|
|
libQt5RemoteObjects libQt5Script libQt5ScriptTools libQt5Scxml \
|
|
libQt5Sensors libQt5SerialBus libQt5SerialPort libQt5Sql libQt5Svg \
|
|
libQt5Test libQt5TextToSpeech libQt5WebChannel libQt5WebSockets \
|
|
libQt5WebView libQt5Widgets libQt5Xml libQt5XmlPatterns
|
|
|
|
cd $libDir
|
|
for i in lib*.so.5.*;do
|
|
ln -fs $i $(echo $i | cut -f1,2 -d.)
|
|
done
|
|
|
|
mv -f $libDir/*.a $developLibDir/
|
|
mv -f $libDir/*.prl $developLibDir/
|
|
|
|
# fix mkspec for static libs
|
|
grep -rl $dataDir/Qt5/mkspecs/modules/*.pri -e "staticlib" | xargs sed -i 's%$$QT_MODULE_LIB_BASE%'${developLibDir}'%g'
|
|
|
|
devCommands="balsam canbusutil fixqt4headers.pl
|
|
meshdebug moc qgltf qlalr qmake qml qmlcachegen qmleasing qmlformat qmlimportscanner
|
|
qmllint qmlmin qmlplugindump qmlpreview qmlprofiler qmlscene qmltestrunner
|
|
qmltime qmltyperegistrar qscxmlc qvkgen rcc repc syncqt.pl tracegen uic
|
|
xmlpatterns xmlpatternsvalidator"
|
|
for i in $devCommands; do
|
|
devPackageCommands="$devPackageCommands $binDir/$i"
|
|
done
|
|
|
|
# move tools to apps folder
|
|
mkdir -p $appsDir/Qt5/lib
|
|
mv $binDir/assistant $appsDir/Qt5/Assistant
|
|
ln -s $appsDir/Qt5/Assistant $binDir/assistant
|
|
mv $binDir/qdbusviewer $appsDir/Qt5/QDBusViewer
|
|
ln -s $appsDir/Qt5/QDBusViewer $binDir/qdbusviewer
|
|
mv $binDir/designer $appsDir/Qt5/Designer
|
|
ln -s $appsDir/Qt5/Designer $binDir/designer
|
|
mv $binDir/linguist $appsDir/Qt5/Linguist
|
|
ln -s $appsDir/Qt5/Linguist $binDir/linguist
|
|
mv $binDir/qdoc $appsDir/Qt5/qdoc
|
|
ln -s $appsDir/Qt5/qdoc $binDir/qdoc
|
|
cp -f $LLVM_INSTALL_DIR/$relativeDevelopLibDir/libclang.so.9 $appsDir/Qt5/lib
|
|
strip $appsDir/Qt5/lib/libclang*
|
|
|
|
toolsCommands="assistant designer lconvert linguist lprodump lrelease lrelease-pro
|
|
lupdate lupdate-pro pixeltool qcollectiongenerator qdistancefieldgenerator qdbus
|
|
qdbuscpp2xml qdbusviewer qdbusxml2cpp qdoc qhelpgenerator qtattributionsscanner
|
|
qtdiag qtpaths qtplugininfo"
|
|
|
|
for i in $toolsCommands; do
|
|
toolsPackageCommands="$toolsPackageCommands $binDir/$i"
|
|
done
|
|
|
|
DIR_QT_DEVELOP_DESKBAR="${dataDir}/deskbar/menu/Applications/Qt"
|
|
mkdir -p ${DIR_QT_DEVELOP_DESKBAR}
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
|
local VARIETY="B_APPV_DEVELOPMENT"
|
|
|
|
iconFiles="Assistant Designer Linguist QDBusViewer"
|
|
for j in $iconFiles; do
|
|
sed \
|
|
-e "s|@MAJOR@|$MAJOR|" \
|
|
-e "s|@MIDDLE@|$MIDDLE|" \
|
|
-e "s|@MINOR@|$MINOR|" \
|
|
-e "s|@VARIETY@|$VARIETY|" \
|
|
$portDir/additional-files/$j.rdef.in > $sourceDir/$j.rdef
|
|
|
|
addResourcesToBinaries $sourceDir/$j.rdef "$appsDir/Qt5/$j"
|
|
addAppDeskbarSymlink "$appsDir/Qt5/$j" "Qt/$j"
|
|
mimeset -f "$appsDir/Qt5/$j"
|
|
done
|
|
|
|
local packageLinksDir=$(dirname $portPackageLinksDir)
|
|
local develPackageName="${portName}_devel-$portFullVersion"
|
|
local mesaLinksDir="$packageLinksDir/${develPackageName}/devel~libgl$secondaryArchSuffix/"
|
|
sed -i -e "s|_GL_INCDIRS \".*\"|_GL_INCDIRS \"$mesaLinksDir$relativeIncludeDir\"|" \
|
|
-e "s|_qt5gui_find_extra_libs.EGL \".*\" \"\" \".*\"|_qt5gui_find_extra_libs\(EGL \"$mesaLinksDir${relativeDevelopLibDir}/libEGL.so\" \"\" \"$mesaLinksDir$relativeIncludeDir\"|" \
|
|
-e "s|_qt5gui_find_extra_libs.OPENGL \".*\" \"\" \".*\"|_qt5gui_find_extra_libs\(OPENGL \"$mesaLinksDir${relativeDevelopLibDir}/libGL.so\" \"\" \"$mesaLinksDir$relativeIncludeDir\"|" \
|
|
$libDir/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
|
|
|
|
packageEntries docs \
|
|
$docDir/Qt5
|
|
|
|
packageEntries examples \
|
|
$dataDir/Qt5/examples
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$devPackageCommands \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs
|
|
|
|
packageEntries tools \
|
|
$appsDir \
|
|
$toolsPackageCommands \
|
|
${DIR_QT_DEVELOP_DESKBAR}
|
|
}
|