1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Merge pull request #5192

tox-user (1):
      fix: simple_make.sh script
This commit is contained in:
sudden6 2018-06-27 15:43:09 +02:00
commit d977bff858
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
2 changed files with 3 additions and 19 deletions

View File

@ -93,23 +93,7 @@ install_toxcore() {
"${BASE_DIR}/${TOXCORE_DIR}"
pushd ${BASE_DIR}/${TOXCORE_DIR}
./autogen.sh
# configure
if [[ $SYSTEM_WIDE = "false" ]]
then
./configure --prefix=${BASE_DIR}
else
./configure
fi
# ensure A/V support is enabled
if ! grep -Fxq "BUILD_AV_TRUE=''" config.log
then
echo "A/V support of libtoxcore is disabled but required by qTox. Aborting."
echo "Maybe the dev-packages of libopus and libvpx are not installed?"
exit 1
fi
cmake .
# compile
make -j $(nproc)

View File

@ -3,8 +3,8 @@
set -eu -o pipefail
# additional flags for apt-get, used for CI
readonly APT_FLAGS=$1
readonly WITHOUT_SQLCIPHER=$2
readonly APT_FLAGS='$1'
readonly WITHOUT_SQLCIPHER='$2'
apt_install() {
local apt_packages=(