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 \
|
|
|
|
libtool autotools-dev automake checkinstall check libopus-dev libvpx-dev
|
|
|
|
elif which pacman; then
|
2014-11-07 05:11:06 +08:00
|
|
|
sudo pacman -S --needed base-devel qt5 opencv openal opus libvpx
|
2014-09-11 06:36:34 +08:00
|
|
|
elif which yum; then
|
|
|
|
yum groupinstall "Development Tools"
|
|
|
|
yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel
|
|
|
|
else
|
|
|
|
echo "Unknown package manager, attempting to compile anyways"
|
|
|
|
fi
|
|
|
|
|
|
|
|
./bootstrap.sh
|
|
|
|
qmake
|
|
|
|
make
|