Add ScummVM to libretro-build.sh

This commit is contained in:
twinaphex 2013-05-06 11:11:17 +02:00
parent 5224cc37e0
commit 743fcd431d

View File

@ -381,6 +381,20 @@ build_libretro_dosbox()
fi
}
build_libretro_scummvm()
{
cd $BASE_DIR
if [ -d "libretro-scummvm" ]; then
echo "=== Building ScummVM ==="
cd libretro-scummvm/backends/platform/libretro/build
make -f Makefile -j$JOBS clean || die "Failed to clean ScummVM"
make -f Makefile -j$JOBS || die "Failed to build ScummVM"
cp scummvm_libretro.so "$RARCH_DIST_DIR"/libretro-scummvm.so
else
echo "ScummVM not fetched, skipping ..."
fi
}
mkdir -p "$RARCH_DIST_DIR"
if [ $1 ]; then
@ -407,4 +421,5 @@ else
build_libretro_pcsx_rearmed
build_libretro_mame078
build_libretro_dosbox
build_libretro_scummvm
fi