From d8353b228fbd1da2b02bea78c2fbd3ab496f5f84 Mon Sep 17 00:00:00 2001 From: fanta Date: Thu, 6 Oct 2022 10:56:07 +0200 Subject: [PATCH] debian9 --- compileDosBox-x.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compileDosBox-x.sh b/compileDosBox-x.sh index 96f9c7d..fb201e2 100755 --- a/compileDosBox-x.sh +++ b/compileDosBox-x.sh @@ -15,6 +15,13 @@ if [ -f "/etc/arch-release" ]; then bash build-debug-sdl2 ; make install; sleep 2; rm -rf $d fi +# Debian 9 +cat /etc/issue | grep "Debian GNU/Linux 9" 1>/dev/null ; if [ "$?" -ne 1 ]; then + apt update -y ; apt install automake git gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype6-dev libxkbfile-dev libxrandr-dev -y + git clone "https://github.com/joncampbell123/dosbox-x" $d ; cd $d + bash build-debug-sdl2 ; make install ; sleep 2; rm -rf $d +fi + # Debian 10 cat /etc/issue | grep "Debian GNU/Linux 10" 1>/dev/null ; if [ "$?" -ne 1 ]; then apt update -y ; apt install automake git gcc g++ make libncurses-dev nasm libsdl-net1.2-dev libsdl2-net-dev libpcap-dev fluidsynth libfluidsynth-dev libavdevice58 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra58 libswscale-dev libfreetype6-dev libxkbfile-dev libxrandr-dev -y