From fbed296f79c1ea0a66e25f985a3745cf319e69c8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 6 Oct 2022 12:10:08 +0200 Subject: [PATCH] soporte para debian9 --- README.md | 1 + compileScummvm.sh | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 30abe30..2a50f87 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ Bash script to compile the most recent scummvm version on differents GNU+Linux d This script works on these distributions: +* Debian 9 * Debian 10 * Debian 11 * Ubuntu 20.04.4 diff --git a/compileScummvm.sh b/compileScummvm.sh index eaea86e..15cc86e 100755 --- a/compileScummvm.sh +++ b/compileScummvm.sh @@ -23,6 +23,14 @@ cat /etc/issue | grep "Ubuntu 22.04.1 LTS" 1>/dev/null ; if [ "$?" -ne 1 ]; then make clean ; make -j$(nproc); make install fi +# Debian 9 +cat /etc/issue | grep "Debian GNU/Linux 9" 1>/dev/null ; if [ "$?" -ne 1 ]; then + apt update -y ; apt install -y g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev + git clone -b master --depth 1 "https://github.com/scummvm/scummvm.git" $d ; cd $d + ./configure --enable-all-engines --disable-discord --enable-plugins --enable-profiling + make clean ; make -j$(nproc); make install +fi + # Debian 10 cat /etc/issue | grep "Debian GNU/Linux 10" 1>/dev/null ; if [ "$?" -ne 1 ]; then apt update -y ; apt install -y g++ make git nasm libsdl2-dev libsdl2-net-dev liba52-dev libjpeg62-turbo-dev libmpeg2-4-dev libogg-dev libvorbis-dev libflac-dev libmad0-dev libpng-dev libtheora-dev libfaad-dev libfluidsynth-dev libfreetype6-dev zlib1g-dev libfribidi-dev libgif-dev libglew-dev libcurl4-openssl-dev libgtk-3-dev libspeechd-dev libsndio-dev