1
0
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:
sudden6 2018-03-11 19:27:32 +01:00
parent 2a0c71d0d4
commit 5f03e44db2
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
5 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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 ]]

View File

@ -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