mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Make buildPackages.sh install dependencies
This commit is contained in:
parent
f6176e4a3c
commit
702daa987b
|
@ -62,6 +62,16 @@ if [[ $OPT_APT = "true" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Get the requried dependencies if needed
|
||||
if [[ $OPT_APT = "true" ]]; then
|
||||
echo "Installing missing dependencies (if any)..."
|
||||
if [[ $EUID -ne 0 && $OPT_SUDO = "true" ]]; then
|
||||
sudo apt-get install qt5-qmake libopenal-dev libopencv-dev libopus-dev -y
|
||||
else
|
||||
apt-get install qt5-qmake libopenal-dev libopencv-dev libopus-dev -y
|
||||
fi
|
||||
fi
|
||||
|
||||
mkdir -p .packages
|
||||
cd .packages
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user