From 8b398769823ebe0064a15e2545b07d9cf61db54f Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 16 Jan 2013 09:08:42 +0100 Subject: [PATCH] Update Nestopia repo. --- libretro-build-win32.sh | 13 +++++++++++++ libretro-build.sh | 13 +++++++++++++ libretro-fetch.sh | 1 + libretro-install-win32.sh | 1 + libretro-install.sh | 1 + 5 files changed, 29 insertions(+) diff --git a/libretro-build-win32.sh b/libretro-build-win32.sh index c8a32c3f..7a085ed6 100755 --- a/libretro-build-win32.sh +++ b/libretro-build-win32.sh @@ -225,6 +225,18 @@ build_libretro_quicknes() fi } +build_libretro_nestopia() +{ + if [ -d "libretro-nestopia" ]; then + echo "=== Building Nestopia ===" + cd libretro-nestopia/libretro + make platform=win CC=$CC CXX=$CXX -j4 || die "Failed to build Nestopia" + cp retro.dll ../libretro-143-nestopia.dll + cd ../.. + else + echo "QuickNES not fetched, skipping ..." + fi +} build_libretro_bsnes build_libretro_mednafen @@ -240,4 +252,5 @@ build_libretro_meteor build_libretro_stella build_libretro_desmume build_libretro_quicknes +build_libretro_nestopia diff --git a/libretro-build.sh b/libretro-build.sh index 52a5b8e9..e243ffee 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -245,6 +245,18 @@ build_libretro_quicknes() fi } +build_libretro_nestopia() +{ + if [ -d "libretro-nestopia" ]; then + echo "=== Building Nestopia ===" + cd libretro-nestopia/libretro + make -j4 || die "Failed to build Nestopia" + cp libretro.so ../libretro-nestopia.so + cd ../.. + else + echo "Nestopia not fetched, skipping ..." + fi +} build_libretro_bsnes build_libretro_mednafen @@ -262,4 +274,5 @@ build_libretro_prboom build_libretro_stella build_libretro_desmume build_libretro_quicknes +build_libretro_nestopia diff --git a/libretro-fetch.sh b/libretro-fetch.sh index f33e2470..e63411cf 100755 --- a/libretro-fetch.sh +++ b/libretro-fetch.sh @@ -93,5 +93,6 @@ fetch_project "$REPO_BASE/libretro/libretro-prboom.git" "libretro-prboom" "libre fetch_project "$REPO_BASE/libretro/stella-libretro.git" "libretro-stella" "libretro/Stella" fetch_project "$REPO_BASE/libretro/desmume-libretro.git" "libretro-desmume" "libretro/Desmume" fetch_project "$REPO_BASE/libretro/QuickNES_Core.git" "libretro-quicknes" "libretro/QuickNES" +fetch_project "$REPO_BASE/libretro/nestopia.git" "libretro-nestopia" "libretro/Nestopia" fetch_project_mednafen "$REPO_BASE/libretro/mednafen-libretro.git" "libretro-mednafen" "libretro/Mednafen" diff --git a/libretro-install-win32.sh b/libretro-install-win32.sh index ded722f5..0d964fc9 100755 --- a/libretro-install-win32.sh +++ b/libretro-install-win32.sh @@ -31,6 +31,7 @@ LIBS="$LIBS libretro-mednafen/libretro-0926-mednafen-psx.dll" LIBS="$LIBS libretro-mednafen/libretro-0924-mednafen-pce-fast.dll" LIBS="$LIBS libretro-mednafen/libretro-0922-mednafen-wswan.dll" LIBS="$LIBS libretro-quicknes/libretro-git-quicknes.dll" +LIBS="$LIBS libretro-nestopia/libretro-143-nestopia.dll" for lib in $LIBS do diff --git a/libretro-install.sh b/libretro-install.sh index fb13d6ae..cd150613 100755 --- a/libretro-install.sh +++ b/libretro-install.sh @@ -31,6 +31,7 @@ LIBS="$LIBS libretro-mednafen/libretro-mednafen-psx.so" LIBS="$LIBS libretro-mednafen/libretro-mednafen-pce-fast.so" LIBS="$LIBS libretro-mednafen/libretro-mednafen-wswan.so" LIBS="$LIBS libretro-quicknes/libretro-quicknes.so" +LIBS="$LIBS libretro-nestopia/libretro-nestopia.so" for lib in $LIBS do