From 80db03774578cd780d50f1c9b555f23d1631a9d6 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 26 Mar 2020 07:22:11 -0500 Subject: [PATCH] update for 5.14.1, use threads for xz --- clean_qtwebengine.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clean_qtwebengine.sh b/clean_qtwebengine.sh index e134704..bc462b8 100755 --- a/clean_qtwebengine.sh +++ b/clean_qtwebengine.sh @@ -21,7 +21,7 @@ if [ -z "$1" ] ; then echo "usage: ./clean_qtwebengine.sh VERSION" - echo "e.g.: ./clean_qtwebengine.sh 5.11.1" + echo "e.g.: ./clean_qtwebengine.sh 5.14.1" exit 1 fi @@ -32,7 +32,7 @@ rm -rf "$DIRNAME" || exit $? if [ -f "$DIRNAME.tar.xz" ] ; then echo "unpacking $DIRNAME.tar.xz" - tar xJf "$DIRNAME.tar.xz" || exit $? + XZ_OPT="-T 4" tar xJf "$DIRNAME.tar.xz" || exit $? elif [ -f "$DIRNAME.tar.bz2" ] ; then echo "unpacking $DIRNAME.tar.bz2" tar xjf "$DIRNAME.tar.bz2" || exit $? @@ -61,7 +61,7 @@ echo "ripping out openh264 sources" rm -rf "$DIRNAME/src/3rdparty/chromium/third_party/openh264/src" || exit $? echo "repacking as $DIRNAME-clean.tar.xz" -XZ_OPT="-9 -f" tar cJf "$DIRNAME-clean.tar.xz" "$DIRNAME" || exit $? +XZ_OPT="-9 -T 4" tar cJf "$DIRNAME-clean.tar.xz" "$DIRNAME" || exit $? echo "removing $DIRNAME" rm -rf "$DIRNAME" || exit $?