@@ -16,11 +16,11 @@ rp_module_section="depends"
16
16
rp_module_flags=" "
17
17
18
18
function get_ver_sdl2() {
19
- echo " 2.0.20 "
19
+ echo " 2.0.10 "
20
20
}
21
21
22
22
function get_pkg_ver_sdl2() {
23
- local ver=" $( get_ver_sdl2) +1 "
23
+ local ver=" $( get_ver_sdl2) +5 "
24
24
isPlatform " rpi" && ver+=" rpi"
25
25
isPlatform " mali" && ver+=" mali"
26
26
echo " $ver "
@@ -33,7 +33,7 @@ function get_arch_sdl2() {
33
33
function _list_depends_sdl2() {
34
34
# Dependencies from the debian package control + additional dependencies for the pi (some are excluded like dpkg-dev as they are
35
35
# 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)
37
37
# these were removed by a PR for vero4k support (cannot test). Needed though at least for for RPI and X11
38
38
! 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)
39
39
isPlatform " gles" || isPlatform " gl" && depends+=(libegl1-mesa-dev libgles2-mesa-dev)
@@ -91,7 +91,6 @@ function build_sdl2() {
91
91
if isPlatform " rpi" && [[ -d " /opt/vc/include" ]]; then
92
92
# move proprietary videocore headers
93
93
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
95
94
mv /opt/vc/include/EGL /opt/vc/include/brcmEGL
96
95
mv /opt/vc/include/GLES /opt/vc/include/brcmGLES
97
96
mv /opt/vc/include/GLES2 /opt/vc/include/brcmGLES2
0 commit comments