2017-12-28 21:22:20 +00:00
|
|
|
# This is basically what you need to install to build this yourself,
|
|
|
|
# or the pre-requisites of what you need to do to set up a build
|
|
|
|
# machine as a gitlab ci runner.
|
|
|
|
#
|
|
|
|
# All instructions based on a Debian/Ubuntu OS, but should be
|
|
|
|
# relatively straightforward to modify for something like yum
|
|
|
|
|
2016-02-06 13:32:57 +00:00
|
|
|
|
2019-04-09 11:01:45 +00:00
|
|
|
# Build tools
|
2016-02-06 13:32:57 +00:00
|
|
|
sudo apt-get -y update
|
|
|
|
sudo apt-get -y upgrade
|
2019-04-09 11:01:45 +00:00
|
|
|
sudo apt-get -y install git g++ cmake re2c
|
2016-02-06 13:32:57 +00:00
|
|
|
sudo apt-get -y install libpcap0.8-dev
|
2017-12-28 21:22:20 +00:00
|
|
|
sudo apt-get -y install libfreetype6-dev
|
|
|
|
|
|
|
|
# X11 version
|
2016-02-06 13:32:57 +00:00
|
|
|
sudo apt-get -y install libx11-dev
|
|
|
|
sudo apt-get -y install libxext-dev
|
|
|
|
|
2017-12-28 21:22:20 +00:00
|
|
|
# SDL version
|
2016-10-14 16:41:33 +00:00
|
|
|
sudo apt-get -y install libsdl1.2-dev
|
2017-12-28 21:22:20 +00:00
|
|
|
sudo apt-get -y install libsdl-image1.2-dev
|
|
|
|
|
|
|
|
# SDL2 version
|
2016-10-14 16:41:33 +00:00
|
|
|
sudo apt-get -y install libsdl2-dev
|
2017-12-28 21:22:20 +00:00
|
|
|
sudo apt-get -y install libsdl2-image-dev
|
2016-10-14 16:41:33 +00:00
|
|
|
|
2017-12-28 21:22:20 +00:00
|
|
|
|
2016-02-06 13:32:57 +00:00
|
|
|
|
2019-04-09 11:01:45 +00:00
|
|
|
# Clone & Build.
|
|
|
|
git clone git@github.com:digarok/gsplus.git
|
|
|
|
mkdir build ; cd build
|
|
|
|
cmake ..
|
|
|
|
make
|