Qt5: switch to llvm 9

This commit is contained in:
Gerasim Troeglazov
2019-09-23 22:40:14 +10:00
parent 576f8fa666
commit 95eb14ca23

View File

@@ -7,7 +7,7 @@ HOMEPAGE="https://qt.io/"
COPYRIGHT="2015-2019 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3"
REVISION="2"
REVISION="3"
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/single/qt-everywhere-src-$portVersion.tar.xz"
CHECKSUM_SHA256="adf00266dc38352a166a9739f1a24a1e36f1be9c04bf72e16e142a256436974e"
SOURCE_DIR="qt-everywhere-src-$portVersion"
@@ -357,14 +357,14 @@ REQUIRES_tools="
qt5$secondaryArchSuffix == $portVersion base
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libLLVM_8$secondaryArchSuffix
lib:libLLVM_9$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libclang$secondaryArchSuffix >= 8
devel:libclanganalysis$secondaryArchSuffix >= 8
devel:libLLVM_8$secondaryArchSuffix
devel:libclang$secondaryArchSuffix >= 9
devel:libclanganalysis$secondaryArchSuffix >= 9
devel:libLLVM_9$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix >= 1.0.0
devel:libdouble_conversion$secondaryArchSuffix
devel:libegl$secondaryArchSuffix
@@ -456,7 +456,7 @@ INSTALL()
# build and install docs
PATH=$PATH:$binDir
LIBRARY_PATH=$LIBRARY_PATH:$libDir
LIBRARY_PATH=$LIBRARY_PATH:$LLVM_INSTALL_DIR/$relativeDevelopLibDir:$libDir
make docs
make install_docs
@@ -527,7 +527,7 @@ INSTALL()
ln -s $appsDir/Qt5/Linguist $binDir/linguist
mv $binDir/qdoc $appsDir/Qt5/qdoc
ln -s $appsDir/Qt5/qdoc $binDir/qdoc
cp -f /system/$relativeLibDir/libclang.so.8 $appsDir/Qt5/lib
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