From 0d53248b4c2cfe8c78b0779c12d05d2f30e3e6d2 Mon Sep 17 00:00:00 2001 From: Maverick Date: Sat, 2 Nov 2019 10:21:50 +0100 Subject: [PATCH] Clean up build instructions for Fedora (#1403) * Clean-up build instructions for Fedora - separate development vs. optional dependencies - change use of `yum` to `dnf` - fix typo from `streamer-plugins-good` to `gstreamer-plugins-good` - mention info regarding `gstreamer-plugins-good` being retired in f31 --- BUILDING_ON_LINUX.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/BUILDING_ON_LINUX.md b/BUILDING_ON_LINUX.md index 0c717d8b6..0451e5595 100644 --- a/BUILDING_ON_LINUX.md +++ b/BUILDING_ON_LINUX.md @@ -14,10 +14,16 @@ install [chatterino2-git](https://aur.archlinux.org/packages/chatterino2-git/) f 1. create build folder `mkdir build && cd build` 1. `qmake .. && make` -## Fedora 28 -*most likely works the same for other Red Hat-like distros* -1. `sudo yum install qt-creator qt5-qtmultimedia-devel qt5-qtsvg-devel openssl-devel gstreamer-plugins-ugly gstreamer-plugins-good boost-devel rapidjson-devel` -1. Open `chatterino.pro` with QT Creator and build +## Fedora 28 and above +*most likely works the same for other Red Hat-like distros. Substitue `dnf` with `yum`.* +### Development dependencies +1. `sudo dnf install qt5-qtbase-devel qt5-qtmultimedia-devel qt5-qtsvg-devel libsecret-devel openssl-devel boost-devel` +1. go into project directory +1. create build folder `mkdir build && cd build` +1. `qmake-qt5 .. && make -j$(nproc)` +### Optional dependencies +*`gstreamer-plugins-good` package is retired in Fedora 31, see: [rhbz#1735324](https://bugzilla.redhat.com/show_bug.cgi?id=1735324)* +1. `sudo dnf install gstreamer-plugins-good` *(optional: for audio output)* ## NixOS 18.09+ 1. enter the development environment with all of the dependencies: `nix-shell -p openssl boost qt5.full`