From 70599998ebd72f1765eed9120693fac4e48471b9 Mon Sep 17 00:00:00 2001 From: Michael Gangolf Date: Sun, 11 Mar 2018 17:20:58 +0100 Subject: [PATCH 1/2] Document how to install on Fedora --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index ff94405c..fb7f0aec 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,14 @@ sudo apt install make gcc pkg-config meson \ sudo apt install openjdk-8-jdk ``` +For Fedora you need to install the following packages: + +```bash +# enable RPM fusion free +sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm +sudo dnf install SDL2-devel ffms2-devel meson gcc make +``` + #### Windows For Windows, for simplicity, a prebuilt archive with all the dependencies From ed65cd72fd2c0f895022118007dd694217f8056a Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Sun, 11 Mar 2018 22:01:59 +0100 Subject: [PATCH 2/2] Use one subsection by distribution in README Now that instructions are given for both Debian/Ubuntu and Fedora, use subsections. --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fb7f0aec..6b6bf52f 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,9 @@ The client requires _FFmpeg_ and _LibSDL2_. #### Linux -Install the required packages from your package manager (here, for Debian): +Install the required packages from your package manager. + +##### Debian/Ubuntu ```bash # runtime dependencies @@ -52,12 +54,17 @@ sudo apt install make gcc pkg-config meson \ sudo apt install openjdk-8-jdk ``` -For Fedora you need to install the following packages: +##### Fedora ```bash # enable RPM fusion free sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm + +# client build dependencies sudo dnf install SDL2-devel ffms2-devel meson gcc make + +# server build dependencies +sudo dnf install java ``` #### Windows