From e87cd175cc47a40a82698f9ff8221159e5ff95f2 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 11 Mar 2018 21:54:19 +0100 Subject: [PATCH] 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). --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e6079ff4..ff94405c 100644 --- a/README.md +++ b/README.md @@ -43,10 +43,13 @@ Install the required packages from your package manager (here, for Debian): # runtime dependencies sudo apt install ffmpeg libsdl2-2.0.0 -# build dependencies -sudo apt install make gcc openjdk-8-jdk pkg-config meson zip \ +# client build dependencies +sudo apt install make gcc pkg-config meson \ libavcodec-dev libavformat-dev libavutil-dev \ libsdl2-dev + +# server build dependencies +sudo apt install openjdk-8-jdk ``` #### Windows @@ -71,12 +74,11 @@ project. From an MSYS2 terminal, install the required packages: pacman -S mingw-w64-x86_64-SDL2 \ mingw-w64-x86_64-ffmpeg -# build dependencies +# client build dependencies pacman -S mingw-w64-x86_64-make \ mingw-w64-x86_64-gcc \ mingw-w64-x86_64-pkg-config \ - mingw-w64-x86_64-meson \ - zip + mingw-w64-x86_64-meson ``` 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 brew install sdl2 ffmpeg -# build dependencies -brew install gcc pkg-config meson zip +# client build dependencies +brew install gcc pkg-config meson ``` Java (>= 7) is not available in Homebrew, so if you plan to build the server,