Skip to content

Commit d0828d2

Browse files
authored
Merge pull request #3481 from RetroPie/revert-3390-sdl_2.0.16
Revert "sdl2 - updated to retropie-2.0.20 branch"
2 parents 4d59604 + 0d45d6b commit d0828d2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scriptmodules/supplementary/sdl2.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ rp_module_section="depends"
1616
rp_module_flags=""
1717

1818
function get_ver_sdl2() {
19-
echo "2.0.20"
19+
echo "2.0.10"
2020
}
2121

2222
function get_pkg_ver_sdl2() {
23-
local ver="$(get_ver_sdl2)+1"
23+
local ver="$(get_ver_sdl2)+5"
2424
isPlatform "rpi" && ver+="rpi"
2525
isPlatform "mali" && ver+="mali"
2626
echo "$ver"
@@ -33,7 +33,7 @@ function get_arch_sdl2() {
3333
function _list_depends_sdl2() {
3434
# Dependencies from the debian package control + additional dependencies for the pi (some are excluded like dpkg-dev as they are
3535
# already covered by the build-essential package retropie relies on.
36-
local depends=(libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev fcitx-libs-dev libsndio-dev libsamplerate0-dev)
36+
local depends=(libasound2-dev libudev-dev libibus-1.0-dev libdbus-1-dev fcitx-libs-dev libsndio-dev)
3737
# these were removed by a PR for vero4k support (cannot test). Needed though at least for for RPI and X11
3838
! 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)
3939
isPlatform "gles" || isPlatform "gl" && depends+=(libegl1-mesa-dev libgles2-mesa-dev)
@@ -91,7 +91,6 @@ function build_sdl2() {
9191
if isPlatform "rpi" && [[ -d "/opt/vc/include" ]]; then
9292
# move proprietary videocore headers
9393
sed -i -e 's/\"EGL/\"brcmEGL/g' -e 's/\"GLES/\"brcmGLES/g' ./src/video/raspberry/SDL_rpivideo.h
94-
sed -i -e 's#<EGL/eglplatform#<brcmEGL/eglplatform#g' configure
9594
mv /opt/vc/include/EGL /opt/vc/include/brcmEGL
9695
mv /opt/vc/include/GLES /opt/vc/include/brcmGLES
9796
mv /opt/vc/include/GLES2 /opt/vc/include/brcmGLES2

0 commit comments

Comments
 (0)