Add Linux installation info (#103)

* 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).

* use tiny badge

The big badge is too big and could overflow in the following section. The tiny one will keep the same size as new packages are added.
This commit is contained in:
Nicola Smaniotto 2021-12-14 10:40:44 +01:00 committed by GitHub
parent 3400ea4576
commit b25cf3f0d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,6 +63,10 @@ Install devel packages for `SDL2` and `SDL2_mixer`.\
Compile with CMake; tested with GCC 10, Clang 11.\ 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. 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.
[![Packaging status](https://repology.org/badge/tiny-repos/spacecadetpinball.svg)](https://repology.org/project/spacecadetpinball/versions)
Some distributions provide a package in their repository. You can use those for easier dependency management and updates.
### On macOS ### On macOS
* **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages. * **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages.