Skip to content
Permalink
Browse files

openmsx - fix building with new versions relying on SDL2

  • Loading branch information...
cmitu committed Jul 9, 2019
1 parent 35555bc commit e588290b15a80f729818039b1dbf645687519e69
Showing with 6 additions and 3 deletions.
  1. +6 −3 scriptmodules/emulators/openmsx.sh
@@ -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() {
@@ -27,7 +30,7 @@ function sources_openmsx() {
}

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

0 comments on commit e588290

Please sign in to comment.
You can’t perform that action at this time.