More details on build dependencies and vaapi in README and docs.

This commit is contained in:
Tommy He 2020-05-10 02:45:18 +08:00 committed by GitHub
commit 6d02714d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 4 deletions

View file

@ -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.