RetroPIE diff

Format: Shell
 ( View Raw)
Date: Sun, 18 Dec 2022 at 03:53:37

diff --git a/scriptmodules/supplementary/emulationstation.sh b/scriptmodules/supplementary/emulationstation.sh
index 06847f0..ad6faf2 100644
--- a/scriptmodules/supplementary/emulationstation.sh
+++ b/scriptmodules/supplementary/emulationstation.sh
@@ -148,7 +148,7 @@ function _get_branch_emulationstation() {
         if [[ "$__os_debian_ver" -gt 8 ]]; then
             branch="stable"
         else
-            branch="v2.7.6"
+            branch="v2.11.0"
         fi
     fi
     echo "$branch"
diff --git a/scriptmodules/supplementary/sdl2.sh b/scriptmodules/supplementary/sdl2.sh
index dcdb325..556a415 100644
--- a/scriptmodules/supplementary/sdl2.sh
+++ b/scriptmodules/supplementary/sdl2.sh
@@ -82,6 +82,8 @@ function build_sdl2() {
     isPlatform "rpi" && conf_flags+=("--enable-video-rpi")
     isPlatform "kms" || isPlatform "rpi" && conf_flags+=("--enable-video-kmsdrm")
 
+    conf_flags+=("--disable-video-wayland" "--disable-wayland-shared")
+
     # format debian package dependencies into comma-separated list
     conf_depends=( "${conf_depends[@]/%/,}" )
 
diff --git a/scriptmodules/system.sh b/scriptmodules/system.sh
index 64be828..5633815 100644
--- a/scriptmodules/system.sh
+++ b/scriptmodules/system.sh
@@ -430,6 +430,9 @@ function get_platform() {
                         *rockpro64*)
                             __platform="rockpro64"
                             ;;
+                        *rock-5b*)
+                            __platform="rock5b"
+                            ;;
                     esac
                 elif [[ -e "/sys/devices/soc0/family" ]]; then
                     case "$(tr -d '\0' < /sys/devices/soc0/family)" in
@@ -538,6 +541,11 @@ function platform_rockpro64() {
     __platform_flags+=(gles kms)
 }
 
+function platform_rock5b() {
+    cpu_armv8 "cortex-a76.cortex-a55"
+    __platform_flags+=(x11 gles)
+}
+
 function platform_rpi3() {
     cpu_armv8 "cortex-a53"
     __platform_flags+=(rpi gles)