mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(windows): workaround docker problem when extracting with tar
This commit is contained in:
parent
359a42f78e
commit
af15cd06ac
|
@ -131,6 +131,7 @@ apt-get install -y --no-install-recommends \
|
||||||
autoconf \
|
autoconf \
|
||||||
automake \
|
automake \
|
||||||
build-essential \
|
build-essential \
|
||||||
|
bsdtar \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
cmake \
|
cmake \
|
||||||
git \
|
git \
|
||||||
|
@ -192,7 +193,7 @@ then
|
||||||
echo "sha256 matches the expected one: $OPENSSL_SHA256_HASH"
|
echo "sha256 matches the expected one: $OPENSSL_SHA256_HASH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tar -xf openssl*.tar.gz
|
bsdtar -xf openssl*.tar.gz
|
||||||
rm openssl*.tar.gz
|
rm openssl*.tar.gz
|
||||||
cd openssl*
|
cd openssl*
|
||||||
|
|
||||||
|
@ -234,7 +235,7 @@ then
|
||||||
QT_VERSION=$QT_MAJOR.$QT_MINOR.$QT_PATCH
|
QT_VERSION=$QT_MAJOR.$QT_MINOR.$QT_PATCH
|
||||||
wget $QT_MIRROR/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
|
||||||
|
|
||||||
tar -xf qt*.tar.xz
|
bsdtar -xf qt*.tar.xz
|
||||||
rm qt*.tar.xz
|
rm qt*.tar.xz
|
||||||
cd qt*
|
cd qt*
|
||||||
|
|
||||||
|
@ -353,7 +354,7 @@ then
|
||||||
mkdir -p "$FFMPEG_PREFIX_DIR"
|
mkdir -p "$FFMPEG_PREFIX_DIR"
|
||||||
|
|
||||||
wget https://www.ffmpeg.org/releases/ffmpeg-3.2.6.tar.xz
|
wget https://www.ffmpeg.org/releases/ffmpeg-3.2.6.tar.xz
|
||||||
tar -xf ffmpeg*.tar.xz
|
bsdtar -xf ffmpeg*.tar.xz
|
||||||
cd ffmpeg*
|
cd ffmpeg*
|
||||||
|
|
||||||
if [[ "$ARCH" == "x86_64"* ]]
|
if [[ "$ARCH" == "x86_64"* ]]
|
||||||
|
@ -601,7 +602,7 @@ then
|
||||||
mkdir -p "$QRENCODE_PREFIX_DIR"
|
mkdir -p "$QRENCODE_PREFIX_DIR"
|
||||||
|
|
||||||
wget https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.bz2
|
wget https://fukuchi.org/works/qrencode/qrencode-3.4.4.tar.bz2
|
||||||
tar -xf qrencode*.tar.bz2
|
bsdtar -xf qrencode*.tar.bz2
|
||||||
rm qrencode*.tar.bz2
|
rm qrencode*.tar.bz2
|
||||||
cd qrencode*
|
cd qrencode*
|
||||||
|
|
||||||
|
@ -832,14 +833,12 @@ cp qtox.exe $QTOX_PREFIX_DIR
|
||||||
cp $QT_PREFIX_DIR/bin/Qt5Core.dll \
|
cp $QT_PREFIX_DIR/bin/Qt5Core.dll \
|
||||||
$QT_PREFIX_DIR/bin/Qt5Gui.dll \
|
$QT_PREFIX_DIR/bin/Qt5Gui.dll \
|
||||||
$QT_PREFIX_DIR/bin/Qt5Network.dll \
|
$QT_PREFIX_DIR/bin/Qt5Network.dll \
|
||||||
$QT_PREFIX_DIR/bin/Qt5Sql.dll \
|
|
||||||
$QT_PREFIX_DIR/bin/Qt5Svg.dll \
|
$QT_PREFIX_DIR/bin/Qt5Svg.dll \
|
||||||
$QT_PREFIX_DIR/bin/Qt5Widgets.dll \
|
$QT_PREFIX_DIR/bin/Qt5Widgets.dll \
|
||||||
$QT_PREFIX_DIR/bin/Qt5Xml.dll \
|
$QT_PREFIX_DIR/bin/Qt5Xml.dll \
|
||||||
$QTOX_PREFIX_DIR
|
$QTOX_PREFIX_DIR
|
||||||
cp -r $QT_PREFIX_DIR/plugins/imageformats \
|
cp -r $QT_PREFIX_DIR/plugins/imageformats \
|
||||||
$QT_PREFIX_DIR/plugins/platforms \
|
$QT_PREFIX_DIR/plugins/platforms \
|
||||||
$QT_PREFIX_DIR/plugins/sqldrivers \
|
|
||||||
$QT_PREFIX_DIR/plugins/iconengines \
|
$QT_PREFIX_DIR/plugins/iconengines \
|
||||||
$QTOX_PREFIX_DIR
|
$QTOX_PREFIX_DIR
|
||||||
cp $OPENAL_PREFIX_DIR/bin/OpenAL32.dll $QTOX_PREFIX_DIR
|
cp $OPENAL_PREFIX_DIR/bin/OpenAL32.dll $QTOX_PREFIX_DIR
|
||||||
|
|
Loading…
Reference in New Issue
Block a user