Add Linux installation info

Add a repology badge and mention the possibility to install via the package manager.

I believe this is a better approach than explicitly mentioning a repository, because it uses repology's database (and the list will remain updated).
This commit is contained in:
Nicola Smaniotto 2021-12-10 17:27:51 +01:00 committed by GitHub
parent 3400ea4576
commit b841f49a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -57,12 +57,18 @@ Download and unpack devel packages for `SDL2` and `SDL2_mixer`.\
Set paths to them in `CMakeLists.txt`, see suggested placement in `/Libs`.\
Compile with Visual Studio; tested with 2019.
<a href="https://repology.org/project/spacecadetpinball/versions">
<img src="https://repology.org/badge/vertical-allrepos/spacecadetpinball.svg" alt="Packaging status" align="right">
</a>
### On Linux
Install devel packages for `SDL2` and `SDL2_mixer`.\
Compile with CMake; tested with GCC 10, Clang 11.\
To cross-compile for Windows, install a 64-bit version of mingw and its `SDL2` and `SDL2_mixer` distributions, then use the `mingwcc.cmake` toolchain.
Some distributions provide a package in their repository. You can use those for easier dependency management and updates.
### On macOS
* **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages.