Minor additions to README.md, to better assist with compilation (#45)

* Add FindFFmpeg.cmake, to fix Ubuntu FFmpeg errors

* Rename "finders" to "cmake"

* Add Qt minimum version message

* I am an idiot, fix CMakeLists.txt

* Fix unicode, to fix monochrome text-style for sync icons

* Fix text-style for backspace and empty

* Expand compilation instructions

- Add build packages to dependencies list for each OS
- Consolidate two commands into "mkdir build && cd build"
- Add command for installing Vanilla
This commit is contained in:
VoxelTek 2024-10-09 14:17:39 +10:00 committed by GitHub
parent 5b3e3ca953
commit cb31a2745a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,19 +22,19 @@ Vanilla currently requires the following dependencies:
- Debian/Ubuntu
```
# apt install qt6-base-dev qt6-multimedia-dev libavcodec-dev libavutil-dev libavfilter-dev libsdl2-dev libnl-genl-3-dev isc-dhcp-client libssl-dev
# apt install qt6-base-dev qt6-multimedia-dev libavcodec-dev libavutil-dev libavfilter-dev libsdl2-dev libnl-genl-3-dev isc-dhcp-client libssl-dev build-essential cmake
```
- Fedora
```
# dnf install qt6-qtbase-devel qt6-qtmultimedia-devel libavcodec-free-devel libavutil-free-devel libavfilter-free-devel libnl3-devel SDL2-devel openssl-devel
# dnf install qt6-qtbase-devel qt6-qtmultimedia-devel libavcodec-free-devel libavutil-free-devel libavfilter-free-devel libnl3-devel SDL2-devel openssl-devel make automake gcc gcc-c++ kernel-devel cmake
```
- Arch
```
# pacman -S qt6 ffmpeg libnl sdl2 dhclient
# pacman -S qt6 ffmpeg libnl sdl2 dhclient base-devel make cmake
```
- Alpine/postmarketOS
```
# apk add qt6-qtbase-dev qt6-qtmultimedia-dev ffmpeg-dev libnl3-dev sdl2-dev dhclient
# apk add qt6-qtbase-dev qt6-qtmultimedia-dev ffmpeg-dev libnl3-dev sdl2-dev dhclient build-base cmake
```
The build process is otherwise normal for a CMake program:
@ -42,8 +42,13 @@ The build process is otherwise normal for a CMake program:
```
git clone --recursive https://github.com/vanilla-wiiu/vanilla.git
cd vanilla
mkdir build
cd build
mkdir build && cd build
cmake ..
cmake --build .
```
Optionally, to install the program:
```
sudo cmake --install .
```