mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
494 lines
21 KiB
Bash
494 lines
21 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-2017 The Qt Company Ltd."
|
|
LICENSE="GNU LGPL v2.1
|
|
GNU LGPL v3"
|
|
REVISION="2"
|
|
SOURCE_URI="http://download.qt.io/official_releases/qt/5.9/${portVersion/\~/-}/single/qt-everywhere-opensource-src-${portVersion/\~/-}.tar.xz"
|
|
CHECKSUM_SHA256="57acd8f03f830c2d7dc29fbe28aaa96781b2b9bdddce94196e6761a0f88c6046"
|
|
SOURCE_DIR="qt-everywhere-opensource-src-${portVersion/\~/-}"
|
|
PATCHES="qt5-$portVersion.patchset"
|
|
|
|
ADDITIONAL_FILES="
|
|
assistant.rdef.in
|
|
designer.rdef.in
|
|
linguist.rdef.in
|
|
qdbusviewer.rdef.in
|
|
qhelpconverter.rdef.in
|
|
"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
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:libQt5Quick$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickControls2$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5QuickParticles$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
|
|
# qtmultimedia
|
|
lib:libQt5Multimedia$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5MultimediaQuick_p$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libQt5MultimediaWidgets$secondaryArchSuffix = $portVersion compat >= 5
|
|
lib:libqgsttools_p$secondaryArchSuffix = 1.0.0 compat >= 1
|
|
# 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 = $portVersion compat >= 5
|
|
lib:libQt5ScriptTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtscxml
|
|
lib:libQt5Scxml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsensors
|
|
lib:libQt5Sensors$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialport
|
|
lib:libQt5SerialBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
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
|
|
# qtwebchannel
|
|
lib:libQt5WebChannel$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebsockets
|
|
lib:libQt5WebSockets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtxmlpatterns
|
|
lib:libQt5XmlPatterns$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$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:libgstbadbase_1.0$secondaryArchSuffix
|
|
lib:libgstbadvideo_1.0$secondaryArchSuffix
|
|
lib:libgstreamer_1.0$secondaryArchSuffix
|
|
lib:libgstvideo_1.0$secondaryArchSuffix
|
|
lib:libicudata$secondaryArchSuffix
|
|
lib:libicui18n$secondaryArchSuffix
|
|
lib:libicuuc$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libjpeg$secondaryArchSuffix
|
|
lib:libpcre2_16$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libsqlite3$secondaryArchSuffix
|
|
lib:libtiff$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
cmd:qsystray
|
|
"
|
|
|
|
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: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:libQt5Quick$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickControls2$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5QuickParticles$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
|
|
# qtmultimedia
|
|
devel:libQt5Multimedia$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5MultimediaQuick_p$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 = $portVersion compat >= 5
|
|
devel:libQt5ScriptTools$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtscxml
|
|
devel:libQt5Scxml$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtsensors
|
|
devel:libQt5Sensors$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtserialport
|
|
devel:libQt5SerialBus$secondaryArchSuffix = $portVersion compat >= 5
|
|
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
|
|
# qtwebchannel
|
|
devel:libQt5WebChannel$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtwebsockets
|
|
devel:libQt5WebSockets$secondaryArchSuffix = $portVersion compat >= 5
|
|
# qtxmlpatterns
|
|
devel:libQt5XmlPatterns$secondaryArchSuffix = $portVersion compat >= 5
|
|
|
|
devel:libQt5AccessibilitySupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5DeviceDiscoverySupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EventDispatcherSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5FbSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5FontDatabaseSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5PlatformCompositorSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5ServiceSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5ThemeSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EGLSupport$secondaryArchSuffix = $portVersion compat >= 5
|
|
devel:libQt5EglFSDeviceIntegration$secondaryArchSuffix = $portVersion compat >= 5
|
|
|
|
cmd:assistant$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:canbusutil$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:designer$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:fixqt4headers.pl$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lconvert$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:linguist$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lrelease$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:lupdate$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:moc$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:qdoc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qgltf$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qhelpconverter$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qhelpgenerator$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: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:qmlscene$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qmltestrunner$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:qscxmlc$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
|
|
cmd:rcc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:repc$secondaryArchSuffix = $portVersion compat >= 5
|
|
cmd:syncqt.pl$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:libz$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libcrypto$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_docs="
|
|
qt5${secondaryArchSuffix}_docs = $portVersion
|
|
"
|
|
|
|
REQUIRES_docs="
|
|
qt5${secondaryArchSuffix}_devel == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcrypto$secondaryArchSuffix >= 1.0.0
|
|
devel:libdouble_conversion$secondaryArchSuffix
|
|
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:libgstbadbase_1.0$secondaryArchSuffix
|
|
devel:libgstbadvideo_1.0$secondaryArchSuffix
|
|
devel:libgstreamer_1.0$secondaryArchSuffix
|
|
devel:libgstvideo_1.0$secondaryArchSuffix
|
|
devel:libicuuc$secondaryArchSuffix
|
|
devel:libjpeg$secondaryArchSuffix
|
|
devel:libpcre2_16$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
devel:libsqlite3$secondaryArchSuffix
|
|
devel:libssl$secondaryArchSuffix >= 1.0.0
|
|
devel:libtiff$secondaryArchSuffix
|
|
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:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:python
|
|
cmd:ruby
|
|
cmd:sed
|
|
cmd:xargs
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
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 -release -opensource \
|
|
-confirm-license -no-iconv \
|
|
-no-rpath -system-sqlite \
|
|
-gstreamer 1.0 \
|
|
-strip
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
# build and install docs
|
|
PATH=$PATH:$binDir
|
|
LIBRARY_PATH=$LIBRARY_PATH:$libDir
|
|
make $jobArgs docs
|
|
make install_docs
|
|
|
|
rm $libDir/*.la
|
|
|
|
fixPkgconfig
|
|
|
|
prepareInstalledDevelLibs \
|
|
libQt5Concurrent libQt5Core libQt5DBus libQt5Gui \
|
|
libQt5Network libQt5NetworkAuth libQt5PrintSupport libQt5OpenGL \
|
|
libQt5Sql libQt5Test libQt5Widgets libQt5Xml \
|
|
libQt5XmlPatterns libQt5WebSockets \
|
|
libQt5WebChannel libQt5Svg libQt5SerialBus \
|
|
libQt5SerialPort libQt5Sensors libQt5ScriptTools libQt5Script \
|
|
libQt5QuickWidgets libQt5QuickTest libQt5QuickParticles \
|
|
libQt5Quick libQt5QuickControls2 libQt5QuickTemplates2 \
|
|
libQt5Qml libQt5Positioning libQt5Nfc libQt5Gamepad \
|
|
libQt5MultimediaWidgets libQt5MultimediaQuick_p libQt5Multimedia \
|
|
libQt5Location libQt5Help libQt5Designer libQt5DesignerComponents \
|
|
libQt5Bluetooth libQt5TextToSpeech \
|
|
libQt5Charts libQt5DataVisualization libQt53DQuickInput \
|
|
libQt53DQuickExtras libQt53DExtras \
|
|
libQt53DQuick libQt53DLogic libQt53DInput libQt53DCore \
|
|
libQt53DQuickRender libQt53DRender libQt53DQuickScene2D libQt5PacketProtocol \
|
|
libQt5QmlDebug libQt5Scxml libQt5Purchasing libQt5AccessibilitySupport \
|
|
libQt5DeviceDiscoverySupport libQt5EventDispatcherSupport \
|
|
libQt5FbSupport libQt5FontDatabaseSupport \
|
|
libQt5PlatformCompositorSupport libQt5ServiceSupport\
|
|
libQt5ThemeSupport libQt53DAnimation libQt53DQuickAnimation \
|
|
libQt5RemoteObjects libQt5EglFSDeviceIntegration libQt5EglSupport
|
|
|
|
cd $libDir
|
|
for i in lib*.so.5.*;do
|
|
ln -fs $i $(echo $i | cut -f1,2 -d.)
|
|
done
|
|
|
|
rm -rf $libDir/fonts/ $prefix/tests
|
|
rm -rf $dataDir/Qt5/demos $dataDir/Qt5/examples
|
|
|
|
mv -f $libDir/libQt5UiTools* $developLibDir/
|
|
mv -f $libDir/libQt5QmlDevTools* $developLibDir/
|
|
mv -f $libDir/libQt5Bootstrap* $developLibDir/
|
|
mv -f $libDir/libQt5OpenGLExtensions* $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="assistant canbusutil designer fixqt4headers.pl linguist
|
|
lconvert lrelease lupdate pixeltool qcollectiongenerator qdbusviewer
|
|
qdbus qgltf qhelpconverter qhelpgenerator qml qmlcachegen qmleasing
|
|
qmlimportscanner qmllint qmlmin qmlplugindump qmlprofiler qmlscene
|
|
qmltestrunner qtattributionsscanner qtdiag qtpaths qtplugininfo
|
|
xmlpatterns xmlpatternsvalidator
|
|
moc qdbuscpp2xml qdbusxml2cpp qdoc qlalr qmake qscxmlc rcc syncqt.pl
|
|
uic repc"
|
|
|
|
for i in $devCommands; do
|
|
devPackageCommands="$devPackageCommands $binDir/$i"
|
|
done
|
|
|
|
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
|
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
|
local MINOR="0"
|
|
local VARIETY="B_APPV_DEVELOPMENT"
|
|
|
|
iconFiles="assistant designer linguist qdbusviewer qhelpconverter"
|
|
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 "$binDir/$j"
|
|
mimeset -f "$binDir/$j"
|
|
done
|
|
|
|
DIR_QT_DEVELOP_DESKBAR="${dataDir}/deskbar/menu/Applications/Qt"
|
|
mkdir -p ${DIR_QT_DEVELOP_DESKBAR}
|
|
addAppDeskbarSymlink $binDir/assistant "Qt/Assistant"
|
|
addAppDeskbarSymlink $binDir/designer "Qt/Designer"
|
|
addAppDeskbarSymlink $binDir/linguist "Qt/Linguist"
|
|
addAppDeskbarSymlink $binDir/qdbusviewer "Qt/Qt D-Bus Viewer"
|
|
addAppDeskbarSymlink $binDir/qhelpconverter "Qt/Qt Help Converter"
|
|
|
|
packageEntries docs \
|
|
$docDir/Qt5
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$devPackageCommands \
|
|
${DIR_QT_DEVELOP_DESKBAR} \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs
|
|
}
|