2021-06-28 19:37:43 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -x
|
2021-09-03 19:07:40 +00:00
|
|
|
VERSION=5.15.6
|
2021-06-28 19:37:43 +00:00
|
|
|
CHROMIUMHASH=`wget https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/3rdparty?h=$VERSION -q --content-on-error -O - | grep "Bad object name: " | sed 's/^.*Bad object name: \([0-9a-f]\{40\}\).*$/\1/g'`
|
|
|
|
rm -rf qtwebengine-$VERSION qtwebengine-$VERSION.tar.gz qtwebengine-chromium-$CHROMIUMHASH qtwebengine-chromium-$CHROMIUMHASH.tar.gz qtwebengine-everywhere-src-$VERSION
|
|
|
|
wget https://github.com/qt/qtwebengine/archive/$VERSION.tar.gz -O qtwebengine-$VERSION.tar.gz || exit $?
|
|
|
|
tar xzf qtwebengine-$VERSION.tar.gz || exit $?
|
|
|
|
wget https://github.com/qt/qtwebengine-chromium/archive/$CHROMIUMHASH.tar.gz -O qtwebengine-chromium-$CHROMIUMHASH.tar.gz || exit $?
|
|
|
|
tar xzf qtwebengine-chromium-$CHROMIUMHASH.tar.gz || exit $?
|
|
|
|
mv qtwebengine-$VERSION qtwebengine-everywhere-src-$VERSION || exit $?
|
2021-09-03 19:07:40 +00:00
|
|
|
(cd qtwebengine-everywhere-src-$VERSION ; syncqt.pl -version $VERSION ) || exit $?
|
2021-06-28 19:37:43 +00:00
|
|
|
rmdir qtwebengine-everywhere-src-$VERSION/src/3rdparty || exit $?
|
|
|
|
mv qtwebengine-chromium-$CHROMIUMHASH qtwebengine-everywhere-src-$VERSION/src/3rdparty || exit $?
|
2021-09-03 19:07:40 +00:00
|
|
|
XZ_OPT="-9 -T2" tar cJf qtwebengine-everywhere-src-$VERSION.tar.xz qtwebengine-everywhere-src-$VERSION || exit $?
|
2021-06-28 19:37:43 +00:00
|
|
|
rm -rf qtwebengine-$VERSION qtwebengine-$VERSION.tar.gz qtwebengine-chromium-$CHROMIUMHASH qtwebengine-chromium-$CHROMIUMHASH.tar.gz qtwebengine-everywhere-src-$VERSION
|