From cf78869a9e6a285506d07c671cbb6be86b643e7e Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 8 Feb 2023 01:55:46 +0100 Subject: [PATCH] add distro deps --- README.md | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ff286b5..f41f3c6 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,41 @@ ## Dependencies -SDL2, SDL-mixer and SDL-image +- [SDL2](https://www.libsdl.org/) +- [SDL2 Mixer](https://github.com/libsdl-org/SDL_image/) +- [SDL2 Image](https://github.com/libsdl-org/SDL_mixer/) +- [SDL2 TTF](https://github.com/libsdl-org/SDL_ttf/) + +### Archlinux + +```sh +sudo pacman -S sdl2 sdl2_mixer sdl2_image sdl2_ttf +``` ### Debian -``` -sudo apt install libsdl2-2.0-0 libsdl2-dev libsdl2-image-2.0-0 libsdl2-image-dev libsdl2-mixer-2.0-0 libsdl2-mixer-dev +```sh +sudo apt install \ + libsdl2-2.0-0 libsdl2-dev \ + libsdl2-image-2.0-0 libsdl2-image-dev \ + libsdl2-mixer-2.0-0 libsdl2-mixer-dev \ + libsdl2-ttf-2.0-0 libsdl2-ttf-dev ``` +### Fedora + +``` +sudo dnf install \ + SDL2 SDL2-devel \ + SDL2_image SDL2_image-devel \ + SDL2_mixer SDL2_mixer-devel \ + SDL2_ttf SDL2_ttf-devel \ +``` + +### OpenSOOS + +``` +sudo zypper in SDL2 SDL2_image SDL2_mixer SDL2_ttf +``` + +