|
|
|
@ -20,6 +20,7 @@ To get and compile the source you must have:
|
|
|
|
|
- `gcc/g++` or `clang/clang++`: with C11 & C++17 support
|
|
|
|
|
- `git`
|
|
|
|
|
- `make`: version 4.1 or greater
|
|
|
|
|
- `meson`: version 1.2.0 or greater
|
|
|
|
|
- `nasm`
|
|
|
|
|
- `ninja`: optional, but recommended
|
|
|
|
|
- `patch`
|
|
|
|
@ -41,8 +42,8 @@ Install the prerequisites using apk:
|
|
|
|
|
```
|
|
|
|
|
sudo apk add autoconf automake bash cmake coreutils curl diffutils g++ \
|
|
|
|
|
gcc gettext-dev git grep gzip libtool linux-headers lua5.1-busted \
|
|
|
|
|
luarocks5.1 make ninja-build ninja-is-really-ninja patch perl \
|
|
|
|
|
pkgconf procps-ng sdl2 tar unzip wget
|
|
|
|
|
luarocks5.1 make meson ninja-build ninja-is-really-ninja patch \
|
|
|
|
|
perl pkgconf procps-ng sdl2 tar unzip wget
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Arch Linux
|
|
|
|
@ -51,7 +52,7 @@ Install the prerequisites using pacman:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
run0 pacman -S base-devel ca-certificates cmake gcc-libs git \
|
|
|
|
|
lua51-busted luarocks nasm ninja perl sdl2 unzip wget
|
|
|
|
|
lua51-busted luarocks meson nasm ninja perl sdl2 unzip wget
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Debian/Ubuntu
|
|
|
|
@ -61,7 +62,7 @@ Install the prerequisites using APT:
|
|
|
|
|
```
|
|
|
|
|
sudo apt-get install autoconf automake build-essential ca-certificates cmake \
|
|
|
|
|
gcc-multilib gettext git libsdl2-2.0-0 libtool libtool-bin lua-busted \
|
|
|
|
|
lua5.1 luarocks nasm ninja-build patch perl pkg-config unzip wget
|
|
|
|
|
lua5.1 luarocks meson nasm ninja-build patch perl pkg-config unzip wget
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Fedora/Red Hat
|
|
|
|
@ -70,8 +71,8 @@ Install the prerequisites using DNF:
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
sudo dnf install autoconf automake cmake gettext gcc gcc-c++ git libtool \
|
|
|
|
|
lua5.1 luarocks nasm ninja-build patch perl-FindBin procps-ng SDL2 \
|
|
|
|
|
unzip wget
|
|
|
|
|
lua5.1 luarocks meson nasm ninja-build patch perl-FindBin procps-ng \
|
|
|
|
|
SDL2 unzip wget
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
And for busted:
|
|
|
|
@ -85,7 +86,7 @@ Install the prerequisites using [Homebrew](https://brew.sh/):
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
brew install autoconf automake binutils cmake coreutils findutils gnu-getopt \
|
|
|
|
|
libtool make nasm ninja p7zip pkg-config sdl2 util-linux
|
|
|
|
|
libtool make meson nasm ninja p7zip pkg-config sdl2 util-linux
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
You will also have to ensure Homebrew's findutils, gnu-getopt, make & util-linux are in your path, e.g., via
|
|
|
|
|