Add Beetle PCFX

This commit is contained in:
twinaphex 2014-06-22 03:14:12 +02:00
parent f138123618
commit 8ba4ce1228
14 changed files with 61 additions and 2 deletions

View File

@ -46,7 +46,7 @@ build_libretro_mednafen()
echo "=== Building Mednafen cores ==="
cd libretro-mednafen
cd jni
for core in pce_fast pcfx lynx wswan; do
for core in lynx; do
echo "=== Building Mednafen ${core} ==="
if [ -z "${NOCLEAN}" ]; then
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean mednafen_${core}"
@ -121,6 +121,25 @@ build_libretro_beetle_psx()
fi
}
build_libretro_beetle_pcfx()
{ cd $BASE_DIR
pwd
if [ -d "libretro-beetle-pcfx" ]; then
cd libretro-beetle-pcfx
cd jni
echo "=== Building Beetle PCFX ==="
if [ -z "${NOCLEAN}" ]; then
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean Beetle PCFX"
fi
ndk-build APP_ABI="armeabi-v7a mips x86" || die "Failed to build Beetle PCFX"
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/mednafen_pcfx_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/mednafen_pcfx_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/mednafen_pcfx_libretro${FORMAT}.${FORMAT_EXT}
else
echo "Beetle PCFX not fetched, skipping ..."
fi
}
build_libretro_beetle_vb()
{
cd $BASE_DIR
@ -721,6 +740,7 @@ else
build_libretro_mednafen
build_libretro_mednafen_ngp
build_libretro_mednafen_pce_fast
build_libretro_mednafen_pcfx
build_libretro_mednafen_vb
build_libretro_mednafen_wswan
build_libretro_mednafen_psx

View File

@ -8,7 +8,7 @@ die()
build_libretro_mednafen()
{
for core in pcfx gba; do
for core in gba; do
cd $BASE_DIR
if [ -d "libretro-mednafen" ]; then
echo "=== Building Mednafen ${core} ==="
@ -64,6 +64,20 @@ build_libretro_beetle_pce_fast()
fi
}
build_libretro_beetle_pcfx()
{
cd $BASE_DIR
if [ -d "libretro-beetle-pcfx" ]; then
echo "=== Building Beetle PCFX ==="
cd libretro-beetle-pcfx
cd msvc
cmd.exe /k $MSVC_NAME.bat
cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/mednafen_pcfx_libretro$FORMAT.$FORMAT_EXT
else
echo "Beetle PCFX Fast not fetched, skipping ..."
fi
}
build_libretro_beetle_vb()
{
cd $BASE_DIR

View File

@ -248,6 +248,20 @@ build_libretro_beetle_vb() {
fi
}
build_libretro_beetle_pcfx() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-pcfx' ]; then
echo '=== Building Beetle PCFX ==='
cd libretro-beetle-pcfx
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean Beetle/pcfx"
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build Beetle/pcfx"
cp "mednafen_pcfx_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'Beetle PCFX not fetched, skipping ...'
fi
}
build_libretro_beetle_psx() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-psx' ]; then

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -98,6 +98,7 @@ fetch_project "$REPO_BASE/libretro/mednafen-libretro.git" "libretro-mednafen" "l
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/scummvm.git" "libretro-scummvm" "libretro/scummvm"