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

18 lines
709 B
Bash
Raw Normal View History

2014-09-11 06:36:34 +08:00
#! /bin/bash
if which apt-get; then
sudo apt-get install build-essential qt5-qmake qt5-default libopenal-dev libopencv-dev \
2015-02-07 02:14:59 +08:00
libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev qttools5-dev-tools qtchooser libxss-dev libqt5svg5*
2014-09-11 06:36:34 +08:00
elif which pacman; then
2015-02-07 02:39:13 +08:00
sudo pacman -S --needed base-devel qt5 opencv openal opus libvpx libxss qt5-svg
2014-09-11 06:36:34 +08:00
elif which yum; then
2015-02-01 07:29:19 +08:00
sudo yum groupinstall "Development Tools"
2015-02-07 02:45:19 +08:00
sudo yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel libXScrnSaver-devel qt5-qtsvg
2014-09-11 06:36:34 +08:00
else
echo "Unknown package manager, attempting to compile anyways"
fi
./bootstrap.sh
qmake
make