soporte debian 12

This commit is contained in:
fanta 2023-04-26 09:05:16 +02:00
parent 912d5a1439
commit 96230d1e61
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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