mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore: update to c-toxcore 0.2.1
This commit is contained in:
parent
2a0c71d0d4
commit
5f03e44db2
|
@ -131,7 +131,7 @@ sudo checkinstall --install --pkgname libsodium --pkgversion 1.0.8 --nodoc -y
|
|||
sudo ldconfig
|
||||
cd ..
|
||||
# toxcore
|
||||
git clone --branch v0.1.0 --depth=1 https://github.com/toktok/c-toxcore.git toxcore
|
||||
git clone --branch v0.2.1 --depth=1 https://github.com/toktok/c-toxcore.git toxcore
|
||||
cd toxcore
|
||||
autoreconf -if
|
||||
CC="ccache $CC" CXX="ccache $CXX" ./configure
|
||||
|
|
|
@ -487,7 +487,7 @@ Provided that you have all required dependencies installed, you can simply run:
|
|||
```bash
|
||||
git clone https://github.com/toktok/c-toxcore.git toxcore
|
||||
cd toxcore
|
||||
git checkout v0.1.11
|
||||
git checkout v0.2.1
|
||||
autoreconf -if
|
||||
./configure
|
||||
make -j$(nproc)
|
||||
|
|
|
@ -31,7 +31,7 @@ readonly INSTALL_DIR=libs
|
|||
readonly BASE_DIR="${SCRIPT_DIR}/${INSTALL_DIR}"
|
||||
|
||||
# versions of libs to checkout
|
||||
readonly TOXCORE_VERSION="v0.1.11"
|
||||
readonly TOXCORE_VERSION="v0.2.1"
|
||||
readonly SQLCIPHER_VERSION="v3.4.0"
|
||||
|
||||
# directory names of cloned repositories
|
||||
|
|
|
@ -127,7 +127,7 @@ install() {
|
|||
git pull
|
||||
else
|
||||
fcho "Cloning Toxcore git ... "
|
||||
git clone --branch v0.1.11 --depth=1 https://github.com/toktok/c-toxcore "$TOXCORE_DIR"
|
||||
git clone --branch v0.2.1 --depth=1 https://github.com/toktok/c-toxcore "$TOXCORE_DIR"
|
||||
fi
|
||||
# qTox
|
||||
if [[ $TRAVIS = true ]]
|
||||
|
|
|
@ -883,14 +883,14 @@ fi
|
|||
# Toxcore
|
||||
|
||||
TOXCORE_PREFIX_DIR="$DEP_DIR/libtoxcore"
|
||||
TOXCORE_VERSION=0.1.11
|
||||
TOXCORE_HASH=56a4566a5cdd201ef27d3a884c0f9aa17e99a300f08ace6323306d24928e727f
|
||||
TOXCORE_VERSION=0.2.1
|
||||
TOXCORE_HASH=1496164954941b175493fba02bf3115118c0d29feb46cd1ff458a1a11eab1597
|
||||
if [ ! -f "$TOXCORE_PREFIX_DIR/done" ]
|
||||
then
|
||||
rm -rf "$TOXCORE_PREFIX_DIR"
|
||||
mkdir -p "$TOXCORE_PREFIX_DIR"
|
||||
|
||||
wget https://github.com/TokTok/c-toxcore/releases/download/v$TOXCORE_VERSION/c-toxcore-$TOXCORE_VERSION.tar.gz
|
||||
wget https://github.com/TokTok/c-toxcore/archive/v$TOXCORE_VERSION.tar.gz -O c-toxcore-$TOXCORE_VERSION.tar.gz
|
||||
check_sha256 "$TOXCORE_HASH" "c-toxcore-$TOXCORE_VERSION.tar.gz"
|
||||
bsdtar --no-same-owner --no-same-permissions -xf c-toxcore*.tar.gz
|
||||
rm c-toxcore*.tar.gz
|
||||
|
|
Loading…
Reference in New Issue
Block a user