installdeps: support gentoo
Add a check for gentoo and the appropriate emerge commands to get the library and toolchain dependencies.
This commit is contained in:
parent
f78d45c038
commit
7a054b4583
12
installdeps
12
installdeps
|
@ -159,6 +159,8 @@ linux_installdeps() {
|
||||||
archlinux_installdeps
|
archlinux_installdeps
|
||||||
elif [ -f /etc/solus-release ]; then
|
elif [ -f /etc/solus-release ]; then
|
||||||
solus_installdeps
|
solus_installdeps
|
||||||
|
elif [ -f /etc/gentoo-release ]; then
|
||||||
|
gentoo_installdeps
|
||||||
elif [ -f /etc/os-release ]; then
|
elif [ -f /etc/os-release ]; then
|
||||||
case "$(. /etc/os-release; echo "$ID_LIKE")" in
|
case "$(. /etc/os-release; echo "$ID_LIKE")" in
|
||||||
*suse*)
|
*suse*)
|
||||||
|
@ -728,6 +730,16 @@ solus_installdeps() {
|
||||||
build_instructions
|
build_instructions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gentoo_installdeps() {
|
||||||
|
installing
|
||||||
|
|
||||||
|
check sudo emerge-webrsync
|
||||||
|
check sudo emerge -vuDUa gcc make cmake binutils libsdl2 libsfml wxGTK zlib dev-util/pkgconfig nasm
|
||||||
|
check sudo eselect wxwidgets set 1
|
||||||
|
|
||||||
|
build_instructions
|
||||||
|
}
|
||||||
|
|
||||||
windows_installdeps() {
|
windows_installdeps() {
|
||||||
msys2=1
|
msys2=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue