2016-10-11 23:52:47 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#new Clang
|
|
|
|
sudo add-apt-repository --yes ppa:h-rayflood/llvm
|
|
|
|
|
|
|
|
#new SDL2
|
|
|
|
sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
|
|
|
|
|
|
|
#new Qt
|
|
|
|
sudo add-apt-repository --yes ppa:beineri/opt-qt57-trusty
|
|
|
|
|
|
|
|
#new CMake
|
|
|
|
sudo add-apt-repository --yes ppa:george-edison55/cmake-3.x
|
|
|
|
|
|
|
|
sudo apt-get update -qq
|
|
|
|
|
|
|
|
sudo apt-get install -qq $SUPPORT
|
|
|
|
sudo apt-get install -qq $PACKAGE
|
2016-11-27 06:59:33 +02:00
|
|
|
sudo apt-get install -qq cmake ninja-build libboost1.54-all-dev zlib1g-dev
|
2016-10-11 23:52:47 +02:00
|
|
|
sudo apt-get install -qq libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
|
|
|
|
sudo apt-get install -qq libavformat-dev libswscale-dev
|
|
|
|
sudo apt-get install -qq qt57declarative
|
|
|
|
|
|
|
|
#setup compiler
|
|
|
|
source /opt/qt57/bin/qt57-env.sh
|
2016-11-27 06:59:33 +02:00
|
|
|
export CC=${REAL_CC} CXX=${REAL_CXX}
|