Add libretro-beetle-gba

This commit is contained in:
twinaphex 2014-06-22 23:34:25 +02:00
parent b85c688e60
commit 29d83575da
14 changed files with 68 additions and 17 deletions

View File

@ -62,6 +62,26 @@ build_libretro_mednafen()
fi
}
build_libretro_beetle_gba()
{
cd $BASE_DIR
pwd
if [ -d "libretro-beetle-gba" ]; then
cd libretro-beetle-gba
cd jni
echo "=== Building Beetle GBA ==="
if [ -z "${NOCLEAN}" ]; then
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean Beetle GBA"
fi
ndk-build APP_ABI="armeabi-v7a mips x86" || die "Failed to build Beetle GBA"
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/mednafen_gba_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/mednafen_gba_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/mednafen_gba_libretro${FORMAT}.${FORMAT_EXT}
else
echo "Beetle GBA not fetched, skipping ..."
fi
}
build_libretro_beetle_ngp()
{
cd $BASE_DIR
@ -757,16 +777,15 @@ if [ $1 ]; then
else
#build_libretro_bsnes_cplusplus98
build_libretro_bsnes
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
build_libretro_mednafen_psx
#build_libretro_mednafen_gba
#build_libretro_mednafen_snes
build_libretro_beetle_gba
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
build_libretro_beetle_psx
#build_libretro_beetle_snes
build_libretro_s9x
build_libretro_s9x_next
build_libretro_genplus

View File

@ -36,6 +36,20 @@ build_libretro_beetle_wswan()
fi
}
build_libretro_beetle_gba()
{
cd $BASE_DIR
if [ -d "libretro-beetle-gba" ]; then
echo "=== Building Beetle GBA ==="
cd libretro-beetle-gba
cd msvc
cmd.exe /k $MSVC_NAME.bat
cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/mednafen_gba_libretro$FORMAT.$FORMAT_EXT
else
echo "Beetle GBA not fetched, skipping ..."
fi
}
build_libretro_beetle_ngp()
{
cd $BASE_DIR

View File

@ -206,6 +206,20 @@ build_libretro_beetle_wswan() {
fi
}
build_libretro_beetle_gba() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-gba' ]; then
echo '=== Building Beetle GBA ==='
cd libretro-beetle-gba
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean beetle/gba"
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build beetle/gba"
cp "mednafen_gba_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'Beetle GBA not fetched, skipping ...'
fi
}
build_libretro_beetle_ngp() {
cd "${BASE_DIR}"
if [ -d 'libretro-beetle-ngp' ]; then

View File

@ -29,7 +29,7 @@ if [ $1 ]; then
else
build_libretro_bsnes_cplusplus98
build_libretro_bsnes
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -17,7 +17,7 @@ MAKE=make
if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -16,7 +16,7 @@ MAKE=make
if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -16,6 +16,7 @@ MAKE=make
if [ $1 ]; then
$1
else
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -18,7 +18,7 @@ if [ $1 ]; then
else
build_libretro_bsnes_cplusplus98
#build_libretro_bsnes
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx
build_libretro_beetle_pcfx

View File

@ -18,6 +18,7 @@ if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -21,6 +21,7 @@ if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -79,7 +79,7 @@ source $BASE_DIR/libretro-build-common-xdk.sh
if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -35,7 +35,7 @@ source $BASE_DIR/libretro-build-common-xdk.sh
if [ $1 ]; then
$1
else
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -96,7 +96,7 @@ if [ $1 ]; then
else
build_libretro_bsnes_cplusplus98
build_libretro_bsnes
build_libretro_mednafen
build_libretro_beetle_gba
build_libretro_beetle_ngp
build_libretro_beetle_pce_fast
build_libretro_beetle_supergrafx

View File

@ -95,6 +95,7 @@ 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-gba-libretro.git" "libretro-beetle-gba" "libretro/Beetle GBA"
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"