mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Install libsodium 1.0.16
This commit is contained in:
parent
05cee07154
commit
2db7717385
1 changed files with 9 additions and 3 deletions
|
@ -27,7 +27,14 @@ if [ $TRAVIS_OS_NAME == linux ]; then
|
||||||
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
|
wget https://cmake.org/files/v3.12/cmake-3.12.2-Linux-x86_64.sh
|
||||||
sudo sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
sudo sh cmake-3.12.2-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
||||||
|
|
||||||
sudo add-apt-repository -y ppa:chris-lea/libsodium
|
mkdir -p build-libsodium
|
||||||
|
pushd build-libsodium
|
||||||
|
curl -L https://download.libsodium.org/libsodium/releases/libsodium-1.0.16.tar.gz -o libsodium-1.0.16.tar.gz
|
||||||
|
tar xfz libsodium-1.0.16.tar.gz
|
||||||
|
cd libsodium-1.0.16/
|
||||||
|
./configure && make && make check && sudo make install
|
||||||
|
popd
|
||||||
|
|
||||||
sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
|
sudo add-apt-repository -y ppa:beineri/opt-qt${QT_VERSION}-trusty
|
||||||
sudo apt-get update -qq
|
sudo apt-get update -qq
|
||||||
sudo apt-get install -qq -y \
|
sudo apt-get install -qq -y \
|
||||||
|
@ -35,6 +42,5 @@ if [ $TRAVIS_OS_NAME == linux ]; then
|
||||||
qt${QT_PKG}tools \
|
qt${QT_PKG}tools \
|
||||||
qt${QT_PKG}svg \
|
qt${QT_PKG}svg \
|
||||||
qt${QT_PKG}multimedia \
|
qt${QT_PKG}multimedia \
|
||||||
liblmdb-dev \
|
liblmdb-dev
|
||||||
libsodium-dev
|
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue