update libjpeg-turbo, LLVM and fix bugs

This commit is contained in:
Syping 2020-07-31 20:45:26 +02:00
parent ffee7d00e9
commit 8aa9c2ebe1
3 changed files with 19 additions and 11 deletions

View file

@ -22,11 +22,11 @@ if [ ! "${CUSTOM_VERSION}" == "YES" ]; then
# Third Party
ZLIB_VERSION=1.2.11
LIBPNG_VERSION=1.6.37
LIBJPEGTURBO_VERSION=2.0.4
LIBRESSL_VERSION=3.1.2
LIBJPEGTURBO_VERSION=2.0.5
LIBRESSL_VERSION=3.1.3
OPENSSL_VERSION=1.1.1g
ICU_VERSION=67.1
HB_VERSION=2.6.7 # HarfBuzz
HB_VERSION=2.7.0 # HarfBuzz
# Qt Framework
QT_SERIES=5.15 # (x.x).y
@ -755,6 +755,10 @@ function qt_source {
echo -e "MAKEFILE_GENERATOR=UNIX\nCONFIG+=incremental\nQMAKE_INCREMENTAL_STYLE=sublib\ninclude(../common/linux.conf)\ninclude(../common/gcc-base-unix.conf)\ninclude(../common/g++-unix.conf)\nQMAKE_CC=aarch64-linux-gnu-gcc\nQMAKE_CXX=aarch64-linux-gnu-g++\nQMAKE_LINK=aarch64-linux-gnu-g++\nQMAKE_LINK_SHLIB=aarch64-linux-gnu-g++\nQMAKE_AR=aarch64-linux-gnu-ar cqs\nQMAKE_OBJCOPY=aarch64-linux-gnu-objcopy\nQMAKE_NM=aarch64-linux-gnu-nm -P\nQMAKE_STRIP=aarch64-linux-gnu-strip\nload(qt_config)" > "${ARCHIVE}/qtbase/mkspecs/linux-aarch64-gnu-g++/qmake.conf"
echo -e "#include \"../linux-g++/qplatformdefs.h\"" > "${ARCHIVE}/qtbase/mkspecs/linux-aarch64-gnu-g++/qplatformdefs.h"
fi
# Patch Qt 5.15.0 DirectWrite bug
if [ "$VERSION" == "5.15.0" ]; then
wget -q -O "${ARCHIVE}/qtbase/src/platformsupport/fontdatabases/qwindowsfontenginedirectwrite.cpp" "https://gist.githubusercontent.com/Syping/d6c3cb1a8cfa678f959252a7faae5f9c/raw/qwindowsfontenginedirectwrite.cpp"
fi
QT_VERSION=${VERSION}
SOURCE_DIR_QT="${SOURCE_DIR}/${ARCHIVE}"
}