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
|
|
|
|
|
|
|
# system prep
|
|
|
|
sudo apt-get -y update
|
|
|
|
sudo apt-get -y upgrade
|
|
|
|
sudo apt-get -y install git
|
|
|
|
sudo apt-get -y install g++
|
|
|
|
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
|
|
|
|
|
|
|
# Example build to test out our system
|
2016-02-06 13:32:57 +00:00
|
|
|
cd gsplus/src
|
2017-12-28 21:22:20 +00:00
|
|
|
ln -s vars_x86linux_sdl2 vars
|
2016-02-06 13:32:57 +00:00
|
|
|
make clean ; make
|
|
|
|
|