From 6d02714d0e348c1f08b3af18c41351e50016176f Mon Sep 17 00:00:00 2001 From: Tommy He Date: Sun, 10 May 2020 02:45:18 +0800 Subject: [PATCH] More details on build dependencies and vaapi in README and docs. --- README.md | 5 ++--- doc/platform-build.md | 22 ++++++++++++++++++++++ gui/chiaki.desktop | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bf21566..c4a2df8 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,8 @@ You can download them [here](https://github.com/thestr4ng3r/chiaki/releases). ### Building from Source -Dependencies are CMake, Qt 5 with QtMultimedia, QtOpenGL and QtSvg, FFMPEG (libavcodec with H264 is enough), libopus, OpenSSL 1.1, -protoc and the protobuf Python library (only used during compilation for Nanopb). -Then, Chiaki builds just like any other CMake project: +Dependencies are CMake, Qt 5 with QtMultimedia, QtOpenGL and QtSvg, FFMPEG (libavcodec with H264 is enough), libopus, OpenSSL 1.1, SDL 2, +protoc and the protobuf Python library (only used during compilation for Nanopb). Then, Chiaki builds just like any other CMake project: ``` git submodule update --init mkdir build && cd build diff --git a/doc/platform-build.md b/doc/platform-build.md index fe20008..133e3c5 100644 --- a/doc/platform-build.md +++ b/doc/platform-build.md @@ -1,6 +1,28 @@ # Platform-specific build instructions +## Fedora + +On Fedora, build dependencies can be installed via: + +``` +sudo dnf install cmake make qt5-qtmultimedia-devel qt5-qtsvg-devel qt5-qtbase-gui ffmpeg-devel opus-devel openssl-devel python3-protobuf protobuf-c protobuf-devel qt5-rpm-macros SDL2-devel +``` + +Then, Chiaki builds just like any other CMake project: +``` +git submodule update --init +mkdir build && cd build +cmake .. +make +``` + +In order to utilize hardware decoding, necessary VA-API component needs to be installed separately depending on your GPU. For example on Fedora: + +* **Intel**: `libva-intel-driver`(majority laptop and desktop) OR `libva-intel-hybrid-driver`(most netbook with Atom processor) +* **AMD**: Already part of default installation +* **Nvidia**: `libva-vdpau-driver` + ## Windows Windows support is reduced to the absolute minimum for maintainability. diff --git a/gui/chiaki.desktop b/gui/chiaki.desktop index 6ee0326..80ee51b 100644 --- a/gui/chiaki.desktop +++ b/gui/chiaki.desktop @@ -4,4 +4,4 @@ Name=Chiaki Comment=PlayStation 4 Remote Play Client Exec=chiaki Icon=chiaki -Categories=Game; \ No newline at end of file +Categories=Game;