mirror of
https://github.com/libretro/libretro-super
synced 2025-03-30 04:21:01 +00:00
Add standalone Mednafen NGP repo
This commit is contained in:
parent
f50e4ae160
commit
5765d4e6c3
@ -46,7 +46,7 @@ build_libretro_mednafen()
|
||||
echo "=== Building Mednafen cores ==="
|
||||
cd libretro-mednafen
|
||||
cd jni
|
||||
for core in pce_fast pcfx lynx wswan ngp; do
|
||||
for core in pce_fast pcfx lynx wswan; do
|
||||
echo "=== Building Mednafen ${core} ==="
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean mednafen_${core}"
|
||||
@ -62,6 +62,26 @@ build_libretro_mednafen()
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_ngp()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
pwd
|
||||
if [ -d "libretro-mednafen-ngp" ]; then
|
||||
cd libretro-mednafen-ngp
|
||||
cd jni
|
||||
echo "=== Building Mednafen NGP ==="
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
ndk-build clean APP_ABI="armeabi-v7a mips x86" || die "Failed to clean Mednafen NGP"
|
||||
fi
|
||||
ndk-build APP_ABI="armeabi-v7a mips x86" || die "Failed to build Mednafen NGP"
|
||||
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/mednafen_ngp_libretro${FORMAT}.${FORMAT_EXT}
|
||||
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/mednafen_ngp_libretro${FORMAT}.${FORMAT_EXT}
|
||||
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/mednafen_ngp_libretro${FORMAT}.${FORMAT_EXT}
|
||||
else
|
||||
echo "Mednafen NGP not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_psx()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
@ -680,6 +700,7 @@ else
|
||||
#build_libretro_bsnes_cplusplus98
|
||||
build_libretro_bsnes
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_mednafen_psx
|
||||
|
@ -8,7 +8,7 @@ die()
|
||||
|
||||
build_libretro_mednafen()
|
||||
{
|
||||
for core in pcfx wswan ngp gba; do
|
||||
for core in pcfx wswan gba; do
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-mednafen" ]; then
|
||||
echo "=== Building Mednafen ${core} ==="
|
||||
@ -22,6 +22,20 @@ build_libretro_mednafen()
|
||||
done
|
||||
}
|
||||
|
||||
build_libretro_mednafen_ngp()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
if [ -d "libretro-mednafen-ngp" ]; then
|
||||
echo "=== Building Mednafen NGP ==="
|
||||
cd libretro-mednafen-ngp
|
||||
cd msvc
|
||||
cmd.exe /k $MSVC_NAME.bat
|
||||
cp $MSVC_NAME/$RELEASE_LTCG/${MSVC_NAME}.${FORMAT_EXT} "$RARCH_DIST_DIR"/mednafen_ngp_libretro$FORMAT.$FORMAT_EXT
|
||||
else
|
||||
echo "Mednafen NGP not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_pce_fast()
|
||||
{
|
||||
cd $BASE_DIR
|
||||
|
@ -180,7 +180,7 @@ build_libretro_mednafen() {
|
||||
echo '=== Building Mednafen ==='
|
||||
cd libretro-mednafen
|
||||
|
||||
for core in pcfx lynx wswan ngp gba; do
|
||||
for core in pcfx lynx wswan gba; do
|
||||
if [ -z "${NOCLEAN}" ]; then
|
||||
"${MAKE}" core="${core}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean mednafen/${core}"
|
||||
fi
|
||||
@ -192,6 +192,20 @@ build_libretro_mednafen() {
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_ngp() {
|
||||
cd "${BASE_DIR}"
|
||||
if [ -d 'libretro-mednafen-ngp' ]; then
|
||||
echo '=== Building Mednafen NGP ==='
|
||||
cd libretro-mednafen-ngp
|
||||
|
||||
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die "Failed to clean mednafen/ngp"
|
||||
"${MAKE}" platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die "Failed to build mednafen/ngp"
|
||||
cp "mednafen_ngp_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
|
||||
else
|
||||
echo 'Mednafen NGP not fetched, skipping ...'
|
||||
fi
|
||||
}
|
||||
|
||||
build_libretro_mednafen_pce_fast() {
|
||||
cd "${BASE_DIR}"
|
||||
if [ -d 'libretro-mednafen-pce-fast' ]; then
|
||||
|
@ -30,6 +30,7 @@ else
|
||||
build_libretro_bsnes_cplusplus98
|
||||
build_libretro_bsnes
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_mednafen_psx
|
||||
|
@ -18,6 +18,7 @@ if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_s9x_next
|
||||
|
@ -17,6 +17,7 @@ if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_mednafen_psx
|
||||
|
@ -16,6 +16,7 @@ MAKE=make
|
||||
if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_mednafen
|
||||
|
@ -18,6 +18,8 @@ if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_psx
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_s9x_next
|
||||
|
@ -80,6 +80,7 @@ if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_s9x_next
|
||||
|
@ -36,6 +36,7 @@ if [ $1 ]; then
|
||||
$1
|
||||
else
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_s9x_next
|
||||
|
@ -97,6 +97,7 @@ else
|
||||
build_libretro_bsnes_cplusplus98
|
||||
build_libretro_bsnes
|
||||
build_libretro_mednafen
|
||||
build_libretro_mednafen_ngp
|
||||
build_libretro_mednafen_pce_fast
|
||||
build_libretro_mednafen_vb
|
||||
build_libretro_mednafen_psx
|
||||
|
@ -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/mednafen-ngp-libretro.git" "libretro-mednafen-ngp" "libretro/Mednafen NGP"
|
||||
fetch_project "$REPO_BASE/libretro/mednafen-pce-fast-libretro.git" "libretro-mednafen-pce-fast" "libretro/Mednafen PCE Fast"
|
||||
fetch_project "$REPO_BASE/libretro/mednafen-psx-libretro.git" "libretro-mednafen-psx" "libretro/Mednafen PSX"
|
||||
fetch_project "$REPO_BASE/libretro/mednafen-vb-libretro.git" "libretro-mednafen-vb" "libretro/Mednafen VB"
|
||||
|
Loading…
x
Reference in New Issue
Block a user