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

updated simple_make.sh

This commit is contained in:
Marcel 2015-05-17 00:33:43 +02:00
parent 57e8df7b61
commit 0ba3d09fce

View File

@ -1,15 +1,21 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if which apt-get; then if which apt-get; then
sudo apt-get install build-essential qt5-qmake qt5-default libopenal-dev libopencv-dev \ sudo apt-get install \
libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev \ git build-essential qt5-qmake qt5-default qttools5-dev-tools \
qttools5-dev-tools qtchooser libxss-dev libqt5svg5* libqrencode-dev \ libqt5opengl5-dev libqt5svg5-dev libopenal-dev libopencv-dev \
libqt5opengl5-dev libxss-dev qrencode libqrencode-dev libtool autotools-dev \
automake checkinstall check libopus-dev libvpx-dev libsodium-dev
elif which pacman; then elif which pacman; then
sudo pacman -S --needed base-devel qt5 opencv openal opus libvpx libxss qt5-svg qrencode sudo pacman -S --needed \
elif which yum; then git base-devel qt5 opencv openal libxss qrencode opus libvpx \
sudo yum groupinstall "Development Tools" libsodium
sudo yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel libXScrnSaver-devel qt5-qtsvg qrencode elif which dnf; then
sudo dnf group install \
"Development Tools"
sudo dnf install \
git qt-devel qt-doc qt-creator qt5-qtsvg opencv-devel \
openal-soft-devel libXScrnSaver-devel qrencode-devel
else else
echo "Unknown package manager, attempting to compile anyways" echo "Unknown package manager, attempting to compile anyways"
fi fi