Add Desmume.

This commit is contained in:
Themaister 2012-10-31 21:05:58 +01:00
parent 09f3f220c0
commit 93ddd06b89
5 changed files with 32 additions and 3 deletions

View File

@ -172,7 +172,20 @@ build_libretro_stella()
fi
}
MEDNAFEN_VER=0925
build_libretro_desmume()
{
if [ -d "libretro-desmume" ]; then
echo "=== Building Desmume ==="
cd libretro-desmume
make platform=win CC=$CC CXX=$CXX -f Makefile.libretro -j4 || die "Failed to build Desmume"
cp retro.dll libretro-git-desmume.dll
cd ../
else
echo "Desmume not fetched, skipping ..."
fi
}
MEDNAFEN_VER=0926
build_libretro_mednafen()
{
@ -198,6 +211,7 @@ build_libretro_fceu
build_libretro_gambatte
build_libretro_meteor
build_libretro_stella
build_libretro_desmume
build_libretro_mednafen psx PSX
build_libretro_mednafen pce PCE
build_libretro_mednafen wswan WSwan

View File

@ -198,6 +198,18 @@ build_libretro_stella()
fi
}
build_libretro_desmume()
{
if [ -d "libretro-desmume" ]; then
echo "=== Building Desmume ==="
cd libretro-desmume
make -f Makefile.libretro -j4 || die "Failed to build Desmume"
cp libretro.so libretro-desmume.so
cd ../
else
echo "Desmume not fetched, skipping ..."
fi
}
build_libretro_mednafen()
{
@ -225,6 +237,7 @@ build_libretro_meteor
build_libretro_nx
build_libretro_prboom
build_libretro_stella
build_libretro_desmume
build_libretro_mednafen psx PSX
build_libretro_mednafen pce PCE
build_libretro_mednafen wswan WSwan

View File

@ -67,5 +67,5 @@ fetch_project "$REPO_BASE/libretro/mednafen-psx-libretro.git" "libretro-mednafen
fetch_project "$REPO_BASE/libretro/mednafen-pce-libretro.git" "libretro-mednafen-pce" "libretro/mednafen-PCE"
fetch_project "$REPO_BASE/libretro/mednafen-wswan-libretro.git" "libretro-mednafen-wswan" "libretro/mednafen-WSwan"
fetch_project "$REPO_BASE/libretro/mednafen-ngp-libretro.git" "libretro-mednafen-ngp" "libretro/mednafen-NGP"
fetch_project "$REPO_BASE/libretro/stella-libretro.git" "libretro-stella" "libretro/Stella"
fetch_project "$REPO_BASE/libretro/desmume-libretro.git" "libretro-desmume" "libretro/Desmume"

View File

@ -12,7 +12,7 @@ if [ ! -d "$LIBRETRO_DIR" ]; then
mkdir -p "$LIBRETRO_DIR"
fi
MEDNAFEN_VER=0925
MEDNAFEN_VER=0926
LIBS=""
LIBS="$LIBS libretro-bsnes/libretro-089-bsnes-performance.dll"
@ -28,6 +28,7 @@ LIBS="$LIBS libretro-bnes/libretro-git-bnes.dll"
LIBS="$LIBS libretro-gambatte/libretro-git-gambatte.dll"
LIBS="$LIBS libretro-meteor/libretro-git-meteor.dll"
LIBS="$LIBS libretro-stella/libretro-git-stella.dll"
LIBS="$LIBS libretro-desmume/libretro-git-desmume.dll"
LIBS="$LIBS libretro-mednafen-psx/libretro-${MEDNAFEN_VER}-mednafen-psx.dll"
LIBS="$LIBS libretro-mednafen-pce/libretro-${MEDNAFEN_VER}-mednafen-pce.dll"
LIBS="$LIBS libretro-mednafen-wswan/libretro-${MEDNAFEN_VER}-mednafen-wswan.dll"

View File

@ -26,6 +26,7 @@ LIBS="$LIBS libretro-meteor/libretro-meteor.so"
LIBS="$LIBS libretro-nx/libretro-nx.so"
LIBS="$LIBS libretro-prboom/libretro-prboom.so"
LIBS="$LIBS libretro-stella/libretro-stella.so"
LIBS="$LIBS libretro-desmume/libretro-desmume.so"
LIBS="$LIBS libretro-mednafen-psx/libretro-mednafen-psx.so"
LIBS="$LIBS libretro-mednafen-pce/libretro-mednafen-pce.so"
LIBS="$LIBS libretro-mednafen-wswan/libretro-mednafen-wswan.so"