Skip to content

Commit d10ed7d

Browse files
authored
Merge pull request #3526 from cmitu/es-build-omx
emulationstation: build omxplayer only on dispmanx platforms
2 parents 750d044 + 7fb4491 commit d10ed7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scriptmodules/supplementary/emulationstation.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ function depends_emulationstation() {
137137

138138
compareVersions "$__os_debian_ver" gt 8 && depends+=(rapidjson-dev)
139139
isPlatform "x11" && depends+=(gnome-terminal)
140-
if isPlatform "rpi" && isPlatform "32bit" && ! isPlatform "osmc"; then
140+
if isPlatform "dispmanx" && ! isPlatform "osmc"; then
141141
depends+=(omxplayer)
142142
fi
143143
getDepends "${depends[@]}"
@@ -170,6 +170,10 @@ function build_emulationstation() {
170170
local gl_ver=$(sudo -u $user glxinfo | grep -oP "OpenGL version string: \K(\d+)")
171171
[[ "$gl_ver" -gt 1 ]] && params+=(-DUSE_OPENGL_21=On)
172172
fi
173+
if isPlatform "dispmanx"; then
174+
params+=(-DOMX=On)
175+
fi
176+
173177
rpSwap on 1000
174178
cmake . "${params[@]}"
175179
make clean

0 commit comments

Comments
 (0)