| 1 | #! /bin/bash |
| 2 | set -e |
| 3 | apt-get update && apt-get install -y build-essential cmake pkg-config libfreetype6-dev libvorbis-dev libgl1-mesa-dev libpulse-dev libpng12-dev zip gettext |
| 4 | |
| 5 | apt-get update && apt-get install -y python-software-properties |
| 6 | add-apt-repository ppa:ubuntu-toolchain-r/test |
| 7 | apt-get update |
| 8 | apt-get install -y gcc-4.8 g++-4.8 |
| 9 | update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 |
| 10 | update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 |