mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #4823
Maxim Biro (2): chore(build): bump Qt version to 5.9.3 for Windows chore(build): Qt's website already does mirror load balancing
This commit is contained in:
commit
af11665c2c
|
@ -259,17 +259,15 @@ fi
|
||||||
QT_PREFIX_DIR="$DEP_DIR/libqt5"
|
QT_PREFIX_DIR="$DEP_DIR/libqt5"
|
||||||
QT_MAJOR=5
|
QT_MAJOR=5
|
||||||
QT_MINOR=9
|
QT_MINOR=9
|
||||||
QT_PATCH=2
|
QT_PATCH=3
|
||||||
QT_VERSION=$QT_MAJOR.$QT_MINOR.$QT_PATCH
|
QT_VERSION=$QT_MAJOR.$QT_MINOR.$QT_PATCH
|
||||||
QT_HASH="6c6171a4d1ea3fbd4212d6a04899650218583df3ec583a8a6a4a589fe18620ff"
|
QT_HASH="57acd8f03f830c2d7dc29fbe28aaa96781b2b9bdddce94196e6761a0f88c6046"
|
||||||
if [ ! -f "$QT_PREFIX_DIR/done" ]
|
if [ ! -f "$QT_PREFIX_DIR/done" ]
|
||||||
then
|
then
|
||||||
rm -rf "$QT_PREFIX_DIR"
|
rm -rf "$QT_PREFIX_DIR"
|
||||||
mkdir -p "$QT_PREFIX_DIR"
|
mkdir -p "$QT_PREFIX_DIR"
|
||||||
|
|
||||||
QT_MIRROR=http://qt.mirror.constant.com
|
wget https://download.qt.io/official_releases/qt/$QT_MAJOR.$QT_MINOR/$QT_VERSION/single/qt-everywhere-opensource-src-$QT_VERSION.tar.xz
|
||||||
|
|
||||||
wget $QT_MIRROR/official_releases/qt/$QT_MAJOR.$QT_MINOR/$QT_VERSION/single/qt-everywhere-opensource-src-$QT_VERSION.tar.xz
|
|
||||||
check_sha256 "$QT_HASH" "qt-everywhere-opensource-src-$QT_VERSION.tar.xz"
|
check_sha256 "$QT_HASH" "qt-everywhere-opensource-src-$QT_VERSION.tar.xz"
|
||||||
bsdtar -xf qt*.tar.xz
|
bsdtar -xf qt*.tar.xz
|
||||||
rm qt*.tar.xz
|
rm qt*.tar.xz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user