mirror of
https://github.com/digarok/gsplus.git
synced 2024-06-28 10:29:36 +00:00
35 lines
858 B
Plaintext
35 lines
858 B
Plaintext
# 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
|
|
|
|
|
|
# Build tools
|
|
sudo apt-get -y update
|
|
sudo apt-get -y upgrade
|
|
sudo apt-get -y install git g++ cmake re2c
|
|
sudo apt-get -y install libpcap0.8-dev
|
|
sudo apt-get -y install libfreetype6-dev
|
|
|
|
# X11 version
|
|
sudo apt-get -y install libx11-dev
|
|
sudo apt-get -y install libxext-dev
|
|
|
|
# SDL version
|
|
sudo apt-get -y install libsdl1.2-dev
|
|
sudo apt-get -y install libsdl-image1.2-dev
|
|
|
|
# SDL2 version
|
|
sudo apt-get -y install libsdl2-dev
|
|
sudo apt-get -y install libsdl2-image-dev
|
|
|
|
|
|
|
|
# Clone & Build.
|
|
git clone git@github.com:digarok/gsplus.git
|
|
mkdir build ; cd build
|
|
cmake ..
|
|
make
|