Add beetle Supergrafx

This commit is contained in:
twinaphex 2014-06-22 05:13:43 +02:00
parent 8ba4ce1228
commit 2754f92112
14 changed files with 66 additions and 6 deletions

View File

@ -180,6 +180,26 @@ build_libretro_beetle_pce_fast()
fi
}
build_libretro_beetle_supergrafx()
{
cd $BASE_DIR
pwd
if [ -d "libretro-beetle-supergrafx" ]; then
cd libretro-beetle-supergrafx
cd jni
echo "=== Building Beetle SuperGrafx ==="
if [ -z "${NOCLEAN}" ]; then
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean Beetle SuperGrafx"
fi
ndk-build APP_ABI="armeabi-v7a mips x86" || die "Failed to build Beetle SuperGrafx"
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/mednafen_supergrafx_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/mednafen_supergrafx_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/mednafen_supergrafx_libretro${FORMAT}.${FORMAT_EXT}
else
echo "Beetle SuperGrafx not fetched, skipping ..."
fi
}
build_libretro_s9x()
{
cd $BASE_DIR
@ -740,6 +760,7 @@ else
build_libretro_mednafen
build_libretro_mednafen_ngp
build_libretro_mednafen_pce_fast
build_libretro_mednafen_supergrafx
build_libretro_mednafen_pcfx
build_libretro_mednafen_vb
build_libretro_mednafen_wswan

View File

@ -64,6 +64,20 @@ build_libretro_beetle_pce_fast()
fi
}
build_libretro_beetle_supergrafx()
{
cd $BASE_DIR
if [ -d "libretro-beetle-supergrafx" ]; then
echo "=== Building Beetle SuperGrafx ==="
cd libretro-beetle-supergrafx
cd msvc
cmd.exe /k $MSVC_NAME.bat
cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/mednafen_supergrafx_libretro$FORMAT.$FORMAT_EXT
else
echo "Beetle SuperGrafx not fetched, skipping ..."
fi
}
build_libretro_beetle_pcfx()
{
cd $BASE_DIR

View File

@ -234,6 +234,20 @@ build_libretro_beetle_pce_fast() {
fi
}
build_libretro_beetle_supergrafx() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-supergrafx' ]; then
echo '=== Building Beetle SuperGrafx ==='
cd libretro-beetle-supergrafx
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean beetle/supergrafx"
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build beetle/supergrafx"
cp "mednafen_supergrafx_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'Beetle SuperGrafx not fetched, skipping ...'
fi
}
build_libretro_beetle_vb() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-vb' ]; then

View File

@ -32,6 +32,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -20,6 +20,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -19,6 +19,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -18,6 +18,7 @@ if [ $1 ]; then
else
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -20,6 +20,7 @@ else
#build_libretro_bsnes
build_libretro_mednafen
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -20,6 +20,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_psx
build_libretro_beetle_vb

View File

@ -23,6 +23,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -82,6 +82,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -38,6 +38,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -99,6 +99,7 @@ else
build_libretro_mednafen
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx
build_libretro_beetle_vb
build_libretro_beetle_wswan

View File

@ -95,12 +95,13 @@ fetch_project "$REPO_BASE/libretro/nestopia.git" "libretro-nestopia" "libretro/N
fetch_project "$REPO_BASE/libretro/tyrquake.git" "libretro-tyrquake" "libretro/tyrquake"
fetch_project "$REPO_BASE/libretro/pcsx_rearmed.git" "libretro-pcsx-rearmed" "libretro/pcsx_rearmed"
fetch_project "$REPO_BASE/libretro/mednafen-libretro.git" "libretro-mednafen" "libretro/Mednafen"
fetch_project "$REPO_BASE/libretro/beetle-ngp-libretro.git" "libretro-beetle-ngp" "libretro/Mednafen NGP"
fetch_project "$REPO_BASE/libretro/beetle-pce-fast-libretro.git" "libretro-beetle-pce-fast" "libretro/Mednafen PCE Fast"
fetch_project "$REPO_BASE/libretro/beetle-psx-libretro.git" "libretro-beetle-psx" "libretro/Mednafen PSX"
fetch_project "$REPO_BASE/libretro/beetle-pcfx-libretro.git" "libretro-beetle-pcfx" "libretro/Mednafen PCFX"
fetch_project "$REPO_BASE/libretro/beetle-vb-libretro.git" "libretro-beetle-vb" "libretro/Mednafen VB"
fetch_project "$REPO_BASE/libretro/beetle-wswan-libretro.git" "libretro-beetle-wswan" "libretro/Mednafen WSwan"
fetch_project "$REPO_BASE/libretro/beetle-ngp-libretro.git" "libretro-beetle-ngp" "libretro/Beetle NGP"
fetch_project "$REPO_BASE/libretro/beetle-pce-fast-libretro.git" "libretro-beetle-pce-fast" "libretro/Beetle PCE Fast"
fetch_project "$REPO_BASE/libretro/beetle-supergrafx-libretro.git" "libretro-beetle-supergrafx" "libretro/Beetle SuperGrafx"
fetch_project "$REPO_BASE/libretro/beetle-psx-libretro.git" "libretro-beetle-psx" "libretro/Beetle PSX"
fetch_project "$REPO_BASE/libretro/beetle-pcfx-libretro.git" "libretro-beetle-pcfx" "libretro/Beetle PCFX"
fetch_project "$REPO_BASE/libretro/beetle-vb-libretro.git" "libretro-beetle-vb" "libretro/Beetle VB"
fetch_project "$REPO_BASE/libretro/beetle-wswan-libretro.git" "libretro-beetle-wswan" "libretro/Beetle WSwan"
fetch_project "$REPO_BASE/libretro/scummvm.git" "libretro-scummvm" "libretro/scummvm"
fetch_project "$REPO_BASE/libretro/yabause.git" "libretro-yabause" "libretro/yabause"
fetch_project "$REPO_BASE/libretro/dosbox-libretro.git" "libretro-dosbox" "libretro/dosbox"