Commit fde9d731 authored by Rafael Kitover's avatar Rafael Kitover
Browse files

installdeps: add ccache to list of deps

Add ccache to list of deps for all platforms.
parent 77a3673d
...@@ -278,7 +278,7 @@ debian_installdeps() { ...@@ -278,7 +278,7 @@ debian_installdeps() {
if [ -z "$target" ]; then if [ -z "$target" ]; then
sudo apt-get -qq update sudo apt-get -qq update
check sudo apt-get -qy install build-essential g++ nasm cmake gettext zlib1g-dev libgl1-mesa-dev libavcodec-dev libavformat-dev libswscale-dev libavutil-dev libgettextpo-dev libpng-dev libsdl2-dev libsdl2-2.0 libglu1-mesa-dev libglu1-mesa libgles2-mesa-dev libsfml-dev libsfml-graphics2 libglew1.10 libsfml-window2 libsfml-network2 libopenal-dev libwxgtk3.0-dev libwxgtk3.0 libgtk2.0-dev libgtk-3-dev check sudo apt-get -qy install build-essential g++ nasm cmake gettext zlib1g-dev libgl1-mesa-dev libavcodec-dev libavformat-dev libswscale-dev libavutil-dev libgettextpo-dev libpng-dev libsdl2-dev libsdl2-2.0 libglu1-mesa-dev libglu1-mesa libgles2-mesa-dev libsfml-dev libsfml-graphics2 libglew1.10 libsfml-window2 libsfml-network2 libopenal-dev libwxgtk3.0-dev libwxgtk3.0 libgtk2.0-dev libgtk-3-dev ccache
else else
case "$target" in case "$target" in
mingw-w64-i686) mingw-w64-i686)
...@@ -368,7 +368,7 @@ fedora_installdeps() { ...@@ -368,7 +368,7 @@ fedora_installdeps() {
fi fi
# non-multiarch packages first # non-multiarch packages first
check sudo dnf -y --nogpgcheck --best --allowerasing install gcc gcc-c++ make cmake git nasm redhat-rpm-config pkgconfig check sudo dnf -y --nogpgcheck --best --allowerasing install gcc gcc-c++ make cmake git nasm redhat-rpm-config pkgconfig ccache
# try to install multiarch libgcc, glibc-devel and pkgconfig if available # try to install multiarch libgcc, glibc-devel and pkgconfig if available
if [ -n "$amd64" ]; then if [ -n "$amd64" ]; then
...@@ -501,7 +501,7 @@ suse_installdeps() { ...@@ -501,7 +501,7 @@ suse_installdeps() {
installing installing
check sudo zypper in -y gcc gcc-c++ binutils make cmake nasm gettext-tools libpng16-devel pkg-config \ check sudo zypper in -y gcc gcc-c++ binutils make cmake nasm gettext-tools libpng16-devel pkg-config \
libSDL2-devel openal-soft-devel sfml2-devel wxWidgets-3_0-devel # ffmpeg2-devel libSDL2-devel openal-soft-devel sfml2-devel wxWidgets-3_0-devel ccache # ffmpeg2-devel
# ffmpeg requires packman repos # ffmpeg requires packman repos
build_instructions build_instructions
...@@ -545,7 +545,7 @@ archlinux_installdeps() { ...@@ -545,7 +545,7 @@ archlinux_installdeps() {
# common needed dev packages # common needed dev packages
# not using the base-devel group because it can break gcc-multilib # not using the base-devel group because it can break gcc-multilib
check $pacman --noconfirm --needed -S binutils file grep gawk gzip libtool make patch sed util-linux nasm cmake pkg-config git check $pacman --noconfirm --needed -S binutils file grep gawk gzip libtool make patch sed util-linux nasm cmake pkg-config git ccache
libs="zlib mesa gettext libpng sdl2 openal wxgtk3 gtk3 sfml ffmpeg" libs="zlib mesa gettext libpng sdl2 openal wxgtk3 gtk3 sfml ffmpeg"
...@@ -660,7 +660,7 @@ solus_installdeps() { ...@@ -660,7 +660,7 @@ solus_installdeps() {
check sudo eopkg -y update-repo check sudo eopkg -y update-repo
check sudo eopkg -y install -c system.devel check sudo eopkg -y install -c system.devel
check sudo eopkg -y install git check sudo eopkg -y install git ccache
set -- sdl2-devel openal-soft-devel wxwidgets-devel libgtk-2-devel libgtk-3-devel set -- sdl2-devel openal-soft-devel wxwidgets-devel libgtk-2-devel libgtk-3-devel
if [ -n "$amd64" -a "$target" = m32 ]; then if [ -n "$amd64" -a "$target" = m32 ]; then
...@@ -738,7 +738,7 @@ windows_installdeps() { ...@@ -738,7 +738,7 @@ windows_installdeps() {
done done
# install # install
check pacman --noconfirm --needed -S git make zip "$@" check pacman --noconfirm --needed -S git make zip ccache "$@"
cmake_flags="$cmake_flags -G 'MSYS Makefiles'" cmake_flags="$cmake_flags -G 'MSYS Makefiles'"
...@@ -787,7 +787,7 @@ brew_installdeps() { ...@@ -787,7 +787,7 @@ brew_installdeps() {
check brew -v update check brew -v update
set -- set --
for f in nasm cmake ffmpeg gettext libpng pkg-config sdl2 sfml wxmac; do for f in nasm cmake ffmpeg gettext libpng pkg-config sdl2 sfml wxmac ccache; do
if brew info "$f" | grep -Eq '^Not installed$'; then if brew info "$f" | grep -Eq '^Not installed$'; then
set -- "$@" "$f" set -- "$@" "$f"
fi fi
...@@ -804,7 +804,7 @@ macports_installdeps() { ...@@ -804,7 +804,7 @@ macports_installdeps() {
installing installing
check sudo port -v selfupdate check sudo port -v selfupdate
check sudo port -v install cmake nasm ffmpeg gettext libpng pkgconfig libsdl2 sfml wxWidgets-3.0 libiconv check sudo port -v install cmake nasm ffmpeg gettext libpng pkgconfig libsdl2 sfml wxWidgets-3.0 libiconv ccache
check sudo port select wxWidgets wxWidgets-3.0 check sudo port select wxWidgets wxWidgets-3.0
build_instructions build_instructions
...@@ -815,7 +815,7 @@ fink_installdeps() { ...@@ -815,7 +815,7 @@ fink_installdeps() {
installing installing
check sudo fink -vy selfupdate check sudo fink -vy selfupdate
check sudo fink -vy install cmake nasm ffmpeg libgettext8-dev gettext-tools libpng16 pkgconfig sdl2 wxwidgets300-osxcocoa libiconv-dev sfml24-dev check sudo fink -vy install cmake nasm ffmpeg libgettext8-dev gettext-tools libpng16 pkgconfig sdl2 wxwidgets300-osxcocoa libiconv-dev sfml24-dev ccache
build_instructions build_instructions
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment