basic ./installdeps support for Solus Linux

Add basic support for installing deps for a Solus host build and update
README.md .

Support for mingw and 32 bit cross-builds may be added later.
This commit is contained in:
Rafael Kitover 2017-03-19 19:09:33 -07:00
parent 6af5525ac1
commit 0dc175cdb4
2 changed files with 11 additions and 2 deletions

View File

@ -29,8 +29,8 @@ cmake ..
make -j8
```
`./installdeps` is supported on MSys2, Linux (Debian/Ubuntu, Fedora or Arch
Linux) and Mac OS X (homebrew, macports or fink.)
`./installdeps` is supported on MSys2, Linux (Debian/Ubuntu, Fedora, Arch or
Solus) and Mac OS X (homebrew, macports or fink.)
The Ninja cmake generator is also now supported, including on msys2.

View File

@ -145,6 +145,8 @@ linux_installdeps() {
fedora_installdeps
elif [ -f /etc/arch-release ]; then
archlinux_installdeps
elif [ -f /etc/solus-release ]; then
solus_installdeps
else
error "Don't know how to install deps on your version of Linux"
fi
@ -426,6 +428,13 @@ archlinux_installdeps() {
build_instructions
}
solus_installdeps() {
check sudo eopkg -y install -c system.devel
check sudo eopkg -y install git cmake pkg-config nasm zlib-devel mesalib-devel libcairo-devel ffmpeg-devel gettext-devel libpng-devel sdl2-devel SFML-devel openal-soft-devel wxwidgets-devel libgtk-2-devel libgtk-3-devel
build_instructions
}
msys2_installdeps() {
msys2=1