From cf23b51103a805a798752979ec59ce05b12d3186 Mon Sep 17 00:00:00 2001 From: Themaister Date: Tue, 28 Aug 2012 09:49:17 +0200 Subject: [PATCH] Add mednafen/psx. --- libretro-build.sh | 14 ++++++++++++++ libretro-fetch.sh | 1 + libretro-install.sh | 1 + 3 files changed, 16 insertions(+) diff --git a/libretro-build.sh b/libretro-build.sh index 832e6c4e..e4decba4 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -185,6 +185,19 @@ build_libretro_prboom() fi } +build_libretro_mednafen_psx() +{ + if [ -d "libretro-mednafen-psx" ]; then + echo "=== Building Mednafen/PSX ===" + cd libretro-mednafen-psx + make -j4 || die "Failed to build Mednafen/PSX" + cp libretro.so libretro-mednafen-psx.so + cd ../ + else + echo "Mednafen/PSX not fetched, skipping ..." + fi +} + build_libretro_bsnes build_libretro_s9x build_libretro_s9x_next @@ -197,4 +210,5 @@ build_libretro_gambatte build_libretro_meteor build_libretro_nx build_libretro_prboom +build_libretro_mednafen_psx diff --git a/libretro-fetch.sh b/libretro-fetch.sh index 6e156cba..3c9e5fa1 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -63,4 +63,5 @@ fetch_project "$REPO_BASE/libretro/gambatte-libretro.git" "libretro-gambatte" "l fetch_project "$REPO_BASE/libretro/meteor-libretro.git" "libretro-meteor" "libretro/Meteor" fetch_project "$REPO_BASE/libretro/nxengine-libretro.git" "libretro-nx" "libretro/NX" fetch_project "$REPO_BASE/libretro/libretro-prboom.git" "libretro-prboom" "libretro/PRBoom" +fetch_project "$REPO_BASE/libretro/mednafen-psx-libretro.git" "libretro-mednafen-psx" "libretro/mednafen-PSX" diff --git a/libretro-install.sh b/libretro-install.sh index 048660df..1f3844c1 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -25,6 +25,7 @@ LIBS="$LIBS libretro-gambatte/libretro-gambatte.so" LIBS="$LIBS libretro-meteor/libretro-meteor.so" LIBS="$LIBS libretro-nx/libretro-nx.so" LIBS="$LIBS libretro-prboom/libretro-prboom.so" +LIBS="$LIBS libretro-mednafen-psx/libretro-mednafen-psx.so" for lib in $LIBS do