Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions scriptmodules/supplementary/sdl2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ rp_module_flags=""

function get_ver_sdl2() {
if [[ "$__os_debian_ver" -ge 11 ]]; then
echo "2.32.10"
echo "2.32.11"
else
echo "2.0.10"
fi
Expand All @@ -42,13 +42,14 @@ function get_arch_sdl2() {
function _list_depends_sdl2() {
# Dependencies from the debian package control + additional dependencies for the pi (some are excluded like dpkg-dev as they are
# already covered by the build-essential package retropie relies on.
local depends=(libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev fcitx-libs-dev libsndio-dev libsamplerate0-dev)
local depends=(libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev libsndio-dev libsamplerate0-dev)
# these were removed by a PR for vero4k support (cannot test). Needed though at least for for RPI and X11
! isPlatform "vero4k" && depends+=(libx11-dev libxcursor-dev libxext-dev libxi-dev libxinerama-dev libxkbcommon-dev libxrandr-dev libxss-dev libxt-dev libxv-dev libxxf86vm-dev libgl1-mesa-dev)
isPlatform "gles" || isPlatform "gl" && depends+=(libegl1-mesa-dev libgles2-mesa-dev)
isPlatform "gl" || isPlatform "rpi" && depends+=(libgl1-mesa-dev libglu1-mesa-dev)
isPlatform "kms" || isPlatform "rpi" && depends+=(libdrm-dev libgbm-dev)
isPlatform "x11" && depends+=(libpulse-dev libwayland-dev)
[[ "$__os_debian_ver" -lt 11 ]] && depends+=(fcitx-libs-dev)

echo "${depends[@]}"
}
Expand Down