Improve dependencies in README
Document server and client dependencies separately, to avoid unneeded packages installation when building using the prebuilt server. Also remove "zip", since it's only used for building a portable version (which is not documented in README).
This commit is contained in:
parent
14b15ceb06
commit
e87cd175cc
1 changed files with 9 additions and 7 deletions
16
README.md
16
README.md
|
@ -43,10 +43,13 @@ Install the required packages from your package manager (here, for Debian):
|
||||||
# runtime dependencies
|
# runtime dependencies
|
||||||
sudo apt install ffmpeg libsdl2-2.0.0
|
sudo apt install ffmpeg libsdl2-2.0.0
|
||||||
|
|
||||||
# build dependencies
|
# client build dependencies
|
||||||
sudo apt install make gcc openjdk-8-jdk pkg-config meson zip \
|
sudo apt install make gcc pkg-config meson \
|
||||||
libavcodec-dev libavformat-dev libavutil-dev \
|
libavcodec-dev libavformat-dev libavutil-dev \
|
||||||
libsdl2-dev
|
libsdl2-dev
|
||||||
|
|
||||||
|
# server build dependencies
|
||||||
|
sudo apt install openjdk-8-jdk
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Windows
|
#### Windows
|
||||||
|
@ -71,12 +74,11 @@ project. From an MSYS2 terminal, install the required packages:
|
||||||
pacman -S mingw-w64-x86_64-SDL2 \
|
pacman -S mingw-w64-x86_64-SDL2 \
|
||||||
mingw-w64-x86_64-ffmpeg
|
mingw-w64-x86_64-ffmpeg
|
||||||
|
|
||||||
# build dependencies
|
# client build dependencies
|
||||||
pacman -S mingw-w64-x86_64-make \
|
pacman -S mingw-w64-x86_64-make \
|
||||||
mingw-w64-x86_64-gcc \
|
mingw-w64-x86_64-gcc \
|
||||||
mingw-w64-x86_64-pkg-config \
|
mingw-w64-x86_64-pkg-config \
|
||||||
mingw-w64-x86_64-meson \
|
mingw-w64-x86_64-meson
|
||||||
zip
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Java (>= 7) is not available in MSYS2, so if you plan to build the server,
|
Java (>= 7) is not available in MSYS2, so if you plan to build the server,
|
||||||
|
@ -96,8 +98,8 @@ Use [Homebrew] to install the packages:
|
||||||
# runtime dependencies
|
# runtime dependencies
|
||||||
brew install sdl2 ffmpeg
|
brew install sdl2 ffmpeg
|
||||||
|
|
||||||
# build dependencies
|
# client build dependencies
|
||||||
brew install gcc pkg-config meson zip
|
brew install gcc pkg-config meson
|
||||||
```
|
```
|
||||||
|
|
||||||
Java (>= 7) is not available in Homebrew, so if you plan to build the server,
|
Java (>= 7) is not available in Homebrew, so if you plan to build the server,
|
||||||
|
|
Loading…
Reference in a new issue