From d61fc504c8cfc8a98809cd94aaffa07c1b1fa72b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 23 Sep 2013 04:03:55 +0200 Subject: [PATCH] * Add MAME to compilation (libretro_build.sh) * Add Dinothawr to libretro-fetch.sh --- libretro-build-common.sh | 15 +++++++++++++++ libretro-build.sh | 3 ++- libretro-fetch.sh | 3 ++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/libretro-build-common.sh b/libretro-build-common.sh index a6f3818b..6ef160fb 100644 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -282,6 +282,21 @@ build_libretro_mame078() fi } +build_libretro_mame() +{ + cd "$BASE_DIR" + if [ -d "libretro-mame" ]; then + echo "=== Building MAME ===" + cd libretro-mame/0150 + + ${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} $COMPILER -j$JOBS clean || die "Failed to clean MAME" + ${MAKE} -f Makefile.libretro platform=${FORMAT_COMPILER_TARGET} $COMPILER -j$JOBS || die "Failed to build MAME" + cp mame_libretro${FORMAT}.${FORMAT_EXT} "$RARCH_DIST_DIR" + else + echo "MAME not fetched, skipping ..." + fi +} + build_libretro_vbam() { cd "$BASE_DIR" diff --git a/libretro-build.sh b/libretro-build.sh index 4bd24fa7..bcbc1543 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -106,6 +106,7 @@ else build_libretro_nestopia build_libretro_tyrquake build_libretro_mame078 + build_libretro_mame build_libretro_dosbox build_libretro_scummvm build_libretro_picodrive @@ -120,6 +121,6 @@ fi build_libretro_instancingviewer if [ -z $BUILD_EXPERIMENTAL ]; then build_libretro_mupen64 +fi build_libretro_ffmpeg fi -fi diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 31ae27b3..8ad681cf 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -101,7 +101,7 @@ fetch_project "$REPO_BASE/libretro/dosbox-libretro.git" "libretro-dosbox" "libre fetch_project "$REPO_BASE/libretro/virtualjaguar-libretro.git" "libretro-virtualjaguar" "libretro/virtualjaguar" fetch_project "$REPO_BASE/libretro/mame2003-libretro.git" "libretro-mame078" "libretro/mame078" fetch_project "$REPO_BASE/libretro/mame2010-libretro.git" "libretro-mame139" "libretro/mame139" -fetch_project "$REPO_BASE/libretro/mame2013-libretro.git" "libretro-mame149" "libretro/mame149" +fetch_project "$REPO_BASE/libretro/mame2013-libretro.git" "libretro-mame" "libretro/mame" fetch_project "$REPO_BASE/libretro/scenewalker-libretro.git" "libretro-gl-scenewalker" "libretro/SceneWalker" fetch_project "$REPO_BASE/libretro/modelviewer-libretro.git" "libretro-gl-modelviewer" "libretro/ModelViewer" fetch_project "$REPO_BASE/libretro/libretro-ffmpeg.git" "libretro-ffmpeg" "libretro/ffmpeg" @@ -110,3 +110,4 @@ fetch_project_submodule "$REPO_BASE/libretro/picodrive.git" "libretro-picodrive" fetch_project_submodule "$REPO_BASE/libretro/tgbdual-libretro.git" "libretro-tgbdual" "libretro/tgbdual" fetch_project "$REPO_BASE/libretro/mupen64plus-libretro.git" "libretro-mupen64plus" "libretro/mupen64plus" fetch_project "$REPO_BASE/libretro/instancingviewer-libretro-gl.git" "libretro-gl-instancingviewer" "libretro/instancingviewer" +fetch_project "$REPO_BASE/libretro/Dinothawr.git" "libretro-dinothawr" "libretro/Dinothawr"