Skip to content

Commit 0a3b315

Browse files
committed
CI ARM: remove buster compat
1 parent 2f1de5b commit 0a3b315

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

.github/scripts/Linux/arm/bootstrap.sh

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,16 @@ http://archive.raspberrypi.org/debian $debver main
2121
EOF
2222
apt -y update
2323

24-
if [ "$debver" = buster ]; then
25-
raspbian_build_sdl2() { (
26-
sed -i '/^deb /p;s/deb /deb-src /' /etc/apt/sources.list
27-
apt -y update
28-
apt-get -y build-dep libsdl2-dev
29-
apt -y install libgbm-dev
30-
readonly sdl_ver=2.0.22
31-
curl -k -LO https://www.libsdl.org/release/SDL2-$sdl_ver.tar.gz
32-
tar xaf SDL2-$sdl_ver.tar.gz
33-
cd SDL2-$sdl_ver
34-
./configure --enable-video-kmsdrm
35-
make -j "$(nproc)" install
36-
); }
37-
# 3.16 in the added repository is broken with chrooted qemu-user-static
38-
apt -y install cmake=3.13.4-1 cmake-data=3.13.4-1
39-
raspbian_build_sdl2
40-
else
41-
apt -y install cmake libsdl2-dev
42-
fi
43-
4424
apt -y install autoconf automake build-essential git pkg-config libtool sudo
4525
apt -y install libcurl4-openssl-dev libsoxr-dev libspeexdsp-dev libssl-dev
4626
apt -y install libasound2-dev portaudio19-dev libjack-dev
4727
apt -y install libglew-dev libglfw3-dev libglm-dev
4828
apt -y install libcaca-dev libmagickwand-dev libnatpmp-dev libopencv-core-dev libopencv-imgproc-dev libv4l-dev
4929
apt -y install libavcodec-dev libavformat-dev libswscale-dev libraspberrypi-dev
50-
apt -y install libdrm-dev\
51-
libsdl2-mixer-dev libsdl2-ttf-dev\
30+
apt -y install \
31+
cmake \
32+
libdrm-dev\
33+
libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev\
5234
libva-dev\
5335

5436
/.github/scripts/install-common-deps.sh

0 commit comments

Comments
 (0)