Skip to content

Commit

Permalink
Merge pull request RetroPie#2772 from cmitu/openmsx-build-fix
Browse files Browse the repository at this point in the history
openmsx - fix building with new versions requiring SDL2
  • Loading branch information
joolswills authored Jul 12, 2019
2 parents 135efb0 + e588290 commit 23c4fae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scriptmodules/emulators/openmsx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ rp_module_desc="MSX emulator OpenMSX"
rp_module_help="ROM Extensions: .rom .mx1 .mx2 .col .dsk .zip\n\nCopy your MSX/MSX2 games to $romdir/msx"
rp_module_licence="GPL2 https://raw.githubusercontent.com/openMSX/openMSX/master/doc/GPL.txt"
rp_module_section="opt"
rp_module_flags="!mali !kms"
rp_module_flags="!mali"

function depends_openmsx() {
getDepends libsdl1.2-dev libsdl-ttf2.0-dev libglew-dev libao-dev libogg-dev libtheora-dev libxml2-dev libvorbis-dev tcl-dev
local depends=(libsdl2-dev libsdl2-ttf-dev libao-dev libogg-dev libtheora-dev libxml2-dev libvorbis-dev tcl-dev)
isPlatform "x11" && depends+=(libglew-dev)

getDepends "${depends[@]}"
}

function sources_openmsx() {
Expand All @@ -27,7 +30,7 @@ function sources_openmsx() {
}

function build_openmsx() {
rpSwap on 512
rpSwap on 1024
./configure
make clean
make
Expand Down

0 comments on commit 23c4fae

Please sign in to comment.