From 96230d1e6157c9d3b56603ad25eb5b6e08dce942 Mon Sep 17 00:00:00 2001 From: fanta Date: Wed, 26 Apr 2023 09:05:16 +0200 Subject: [PATCH] soporte debian 12 --- README.md | 1 + compileDosBox-x.sh | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index 93c387d..b41ae34 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ This script works on these distributions: * OpenSuse 15.4 Leap * Debian 10 * Debian 11 +* Debian 12 * Arch Linux * Ubuntu 20.04.4 * Ubuntu 22.04.1 diff --git a/compileDosBox-x.sh b/compileDosBox-x.sh index 96f9c7d..5423f11 100755 --- a/compileDosBox-x.sh +++ b/compileDosBox-x.sh @@ -29,6 +29,13 @@ cat /etc/issue | grep "Debian GNU/Linux 11" 1>/dev/null ; if [ "$?" -ne 1 ]; the bash build-debug-sdl2 ; make install ; sleep 2; rm -rf $d fi +# Debian 12 +cat /etc/issue | grep "Debian GNU/Linux 12" 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 libavdevice59 libavformat-dev libavcodec-dev libavcodec-extra libavcodec-extra59 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 + # Ubuntu 20.04.4 LTS cat /etc/issue | grep "Ubuntu 20.04.4 LTS" 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