Merge branch 'master' of github.com:libretro/libretro-super

This commit is contained in:
Radius 2015-03-07 16:08:06 -05:00
commit 0decbb9920
19 changed files with 245 additions and 191 deletions

1
.gitignore vendored
View File

@ -67,3 +67,4 @@
/retroarch/
/build-summary.log
/build-revisions/
/dist/unix/

View File

@ -258,7 +258,7 @@ libretro_build_core() {
echo "$(color 34)=== $(color 1)$core_name$(color)"
eval "core_build_rule=\$libretro_${1}_build_rule"
[ -z "$core_build_rule" ] && core_build_rule=build_makefile
[ -z "$core_build_rule" ] && core_build_rule=generic_makefile
eval "core_dir=\$libretro_${1}_dir"
[ -z "$core_dir" ] && core_dir="libretro-$1"
@ -285,7 +285,7 @@ libretro_build_core() {
fi
case "$core_build_rule" in
build_makefile)
generic_makefile)
eval "core_build_makefile=\$libretro_${1}_build_makefile"
eval "core_build_subdir=\$libretro_${1}_build_subdir"
@ -294,8 +294,11 @@ libretro_build_core() {
core_build_platform="${core_build_platform:-$FORMAT_COMPILER_TARGET}$opengl_type"
echo "Building ${1}..."
$core_build_rule $1
build_makefile $1
;;
none)
echo "Don't have a build rule for $1, skipping..."
;;
*)
echo "libretro_build_core:Unknown build rule for $1: \"$core_build_rule\"."

View File

@ -169,8 +169,8 @@ else
if [ $FORMAT_COMPILER_TARGET != "ios" ]; then
# These don't currently build on iOS
build_libretro_bnes
build_libretro_core ffmpeg
build_libretro_core ppsspp
libretro_build_core ffmpeg
libretro_build_core ppsspp
fi
libretro_build_core o2em
libretro_build_core hatari

View File

@ -9,7 +9,7 @@
####environment configuration:
echo "BUILDBOT JOB: Setting up Environment for $1"
echo
echo
ORIGPATH=$PATH
WORK=$PWD
@ -175,8 +175,10 @@ cd "${BASE_DIR}"
####build commands
buildbot_log() {
HASH=`echo -n "$1" | openssl sha1 -hmac $SIG | cut --fields=2 --delimiter=" "`
curl --data "message=$1&sign=$HASH" $LOGURL
MESSAGE=`echo -e $1`
HASH=`echo -n "$MESSAGE" | openssl sha1 -hmac $SIG | cut --fields=2 --delimiter=" "`
curl --data "message=$MESSAGE&sign=$HASH" $LOGURL
}
@ -193,11 +195,11 @@ build_libretro_generic_makefile() {
cd $DIR
cd $SUBDIR
OLDJ=$JOBS
if [ "${NAME}" == "mame078" ];
then
OLDJ=$JOBS
JOBS=1
JOBS=1
fi
@ -232,8 +234,13 @@ build_libretro_generic_makefile() {
fi
if [ $? -eq 0 ];
then
then
MESSAGE="$1 build successful ($jobid)"
if [ "${MAKEPORTABLE}" == "YES" ];
then
echo "$1 running retrolink ($jobid)"
$WORK/retrolink.sh ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT}
fi
cp -v ${NAME}_libretro${FORMAT}${SUFFIX}.${FORMAT_EXT} $RARCH_DIST_DIR/${NAME}_libretro${FORMAT}.${FORMAT_EXT}
else
MESSAGE="$1 build failed ($jobid)"
@ -339,13 +346,13 @@ build_libretro_generic_jni() {
buildbot_log "$MESSAGE"
cp -v ../libs/${a}/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/${a}/${1}_libretro${FORMAT}.${FORMAT_EXT}
else
MESSAGE="$1-$a build failure ($jobid)"
MESSAGE="$1-$a build U+0002failureU+0002 ($jobid)"
echo BUILDBOT JOB: $MESSAGE
buildbot_log "$MESSAGE"
fi
done
}
@ -688,6 +695,7 @@ while read line; do
git submodule update --init
BUILD="YES"
fi
cd ..
fi
if [ "${BUILD}" == "YES" -o "${FORCE}" == "YES" ];
@ -841,6 +849,11 @@ then
echo "BUILDBOT JOB: $jobid Processing Assets"
echo
mkdir -p android/phoenix/assets/
rm -Rfv android/phoenix/assets/assets
cp -Rfv media/assets android/phoenix/assets/
rm -Rfv android/phoenix/assets/libretrodb
cp -Rfv media/libretrodb android/phoenix//assets/libretrodb/
rm -Rfv android/phoenix/assets/overlays
cp -Rfv media/overlays android/phoenix/assets/
rm -Rfv android/phoenix/assets/shaders_glsl

0
libretro-buildbot-task.sh Normal file → Executable file
View File

View File

@ -59,7 +59,7 @@ case "$platform" in
X86=true
;;
armv*)
ARM=true
B ARM=true
export FORMAT_COMPILER_TARGET=armv
export RARCHCFLAGS="$RARCHCFLAGS -marm"
case "${ARCH}" in
@ -105,6 +105,11 @@ case "$platform" in
FORMAT_COMPILER_TARGET="psp1"
DIST_DIR="psp1"
;;
*wii*)
FORMAT_EXT="a"
FORMAT_COMPILER_TARGET="wii"
DIST_DIR="wii"
;;
*ios|theos_ios*)
FORMAT_EXT="dylib"
FORMAT_COMPILER_TARGET="theos_ios"

View File

@ -17,6 +17,7 @@ fi
. "$BASE_DIR/libretro-config.sh"
. "$BASE_DIR/script-modules/util.sh"
. "$BASE_DIR/script-modules/fetch-rules.sh"
. "$BASE_DIR/script-modules/modules.sh"
# Rules for fetching things are in these files:
. "$BASE_DIR/rules.d/core-rules.sh"
@ -68,7 +69,7 @@ libretro_fetch() {
local git_submodules
local i
eval "num_git_urls=\$libretro_${1}_mgit_urls"
eval "num_git_urls=\${libretro_${1}_mgit_urls:-0}"
if [ "$num_git_urls" -lt 1 ]; then
echo "Cannot fetch \"$num_git_urls\" multiple git URLs"
return 1
@ -119,68 +120,7 @@ else
libretro_fetch retroarch
libretro_fetch devkit
libretro_fetch bsnes
libretro_fetch snes9x
libretro_fetch snes9x_next
libretro_fetch genesis_plus_gx
libretro_fetch fb_alpha
libretro_fetch vba_next
libretro_fetch vbam
libretro_fetch handy
libretro_fetch bnes
libretro_fetch fceumm
libretro_fetch gambatte
libretro_fetch meteor
libretro_fetch nxengine
libretro_fetch prboom
libretro_fetch stella
libretro_fetch desmume
libretro_fetch quicknes
libretro_fetch nestopia
libretro_fetch tyrquake
libretro_fetch pcsx_rearmed
libretro_fetch mednafen_gba
libretro_fetch mednafen_lynx
libretro_fetch mednafen_ngp
libretro_fetch mednafen_pce_fast
libretro_fetch mednafen_supergrafx
libretro_fetch mednafen_psx
libretro_fetch mednafen_pcfx
libretro_fetch mednafen_snes
libretro_fetch mednafen_vb
libretro_fetch mednafen_wswan
libretro_fetch scummvm
libretro_fetch yabause
libretro_fetch dosbox
libretro_fetch virtualjaguar
libretro_fetch mame078
libretro_fetch mame139
libretro_fetch mame
libretro_fetch ffmpeg
libretro_fetch bsnes_cplusplus98
libretro_fetch bsnes_mercury
libretro_fetch picodrive
libretro_fetch tgbdual
libretro_fetch mupen64plus
libretro_fetch dinothawr
libretro_fetch uae
libretro_fetch 3dengine
libretro_fetch remotejoy
libretro_fetch bluemsx
libretro_fetch fmsx
libretro_fetch 2048
libretro_fetch vecx
libretro_fetch ppsspp
libretro_fetch prosystem
libretro_fetch o2em
libretro_fetch 4do
libretro_fetch catsfc
libretro_fetch stonesoup
libretro_fetch hatari
libretro_fetch tempgba
libretro_fetch gpsp
libretro_fetch emux
libretro_fetch fuse
libretro_fetch gw
libretro_fetch lutro
for a in $libretro_cores; do
libretro_fetch "${a%%:*}"
done
fi

View File

@ -0,0 +1,51 @@
2048 libretro-2048 https://github.com/libretro/libretro-2048.git PROJECT YES GENERIC Makefile.libretro .
4do libretro-4do https://github.com/libretro/4do-libretro.git PROJECT YES GENERIC Makefile .
beetle_psx libretro-beetle_psx https://github.com/libretro/beetle-psx-libretro.git PROJECT NO GENERIC Makefile .
bluemsx libretro-bluemsx https://github.com/libretro/blueMSX-libretro.git PROJECT YES GENERIC Makefile.libretro .
bsnes_cplusplus98 libretro-bsnes_cplusplus98 https://github.com/libretro/bsnes-libretro-cplusplus98.git PROJECT YES BSNES Makefile . cpp98
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC Makefile .
desmume libretro-desmume https://github.com/libretro/desmume.git PROJECT YES GENERIC Makefile.libretro desmume
dinothawr libretro-dinothawr https://github.com/libretro/Dinothawr.git PROJECT YES GENERIC Makefile .
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT YES GENERIC Makefile.libretro .
fmsx libretro-fmsx https://github.com/libretro/fmsx-libretro.git PROJECT YES GENERIC Makefile .
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT YES GENERIC Makefile.libretro libgambatte
genesis_plus_gx libretro-genesis_plus_gx https://github.com/libretro/Genesis-Plus-GX.git PROJECT YES GENERIC Makefile.libretro .
gpsp libretro-gpsp https://github.com/libretro/gpsp.git PROJECT YES GENERIC Makefile .
handy libretro-handy https://github.com/libretro/libretro-handy.git PROJECT YES GENERIC Makefile .
hatari libretro-hatari https://github.com/libretro/libretro-hatari.git PROJECT YES GENERIC Makefile.libretro .
mednafen_gba libretro-mednafen_gba https://github.com/libretro/beetle-gba-libretro.git PROJECT YES GENERIC Makefile .
mednafen_lynx libretro-mednafen_lynx https://github.com/libretro/beetle-lynx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_ngp libretro-mednafen_ngp https://github.com/libretro/beetle-ngp-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pce_fast libretro-mednafen_pce_fast https://github.com/libretro/beetle-pce-fast-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pcfx libretro-mednafen_pcfx https://github.com/libretro/beetle-pcfx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_psx libretro-mednafen_psx https://github.com/libretro/mednafen-psx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_snes libretro-mednafen_snes https://github.com/libretro/beetle-bsnes-libretro.git PROJECT YES GENERIC Makefile .
mednafen_supergrafx libretro-mednafen_supergrafx https://github.com/libretro/beetle-supergrafx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_vb libretro-mednafen_vb https://github.com/libretro/beetle-vb-libretro.git PROJECT YES GENERIC Makefile .
mednafen_wswan libretro-mednafen_wswan https://github.com/libretro/beetle-wswan-libretro.git PROJECT YES GENERIC Makefile .
meteor libretro-meteor https://github.com/libretro/meteor-libretro.git PROJECT YES GENERIC Makefile libretro
nestopia libretro-nestopia https://github.com/libretro/nestopia.git PROJECT YES GENERIC Makefile libretro
nxengine libretro-nxengine https://github.com/libretro/nxengine-libretro.git PROJECT YES GENERIC Makefile .
o2em libretro-o2em https://github.com/libretro/libretro-o2em.git PROJECT YES GENERIC Makefile .
pcsx_rearmed libretro-pcsx_rearmed https://github.com/libretro/pcsx_rearmed.git PROJECT YES GENERIC Makefile.libretro . USE_DYNAREC=0
picodrive libretro-picodrive https://github.com/libretro/picodrive.git SUBMODULE YES GENERIC Makefile.libretro .
prosystem libretro-prosystem https://github.com/libretro/prosystem-libretro.git PROJECT YES GENERIC Makefile .
puae libretro-uae https://github.com/libretro/libretro-uae.git PROJECT YES GENERIC Makefile build
quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git PROJECT YES GENERIC Makefile libretro
remotejoy libretro-remotejoy https://github.com/libretro/libretro-remotejoy.git PROJECT YES GENERIC Makefile .
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT YES GENERIC Makefile backends/platform/libretro/build
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERIC Makefile libretro
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC Makefile.libretro .
virtualjaguar libretro-virtualjaguar https://github.com/libretro/virtualjaguar-libretro.git PROJECT YES GENERIC Makefile .
yabause libretro-yabause https://github.com/libretro/yabause.git PROJECT YES GENERIC Makefile libretro

View File

@ -0,0 +1,2 @@
platform unix
MAKEPORTABLE YES

View File

@ -35,7 +35,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERI
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC_JNI Makefile jni
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC_JNI Makefile libretro/jni
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC_JNI Makefile libretro/jni
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_JNI Makefile src/libretro/jni
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni

View File

@ -2,3 +2,6 @@ retroarch retroarch https://github.com/libretro/Retroarch.git PROJECT YES .
overlays overlays https://github.com/libretro/common-overlays.git ASSETS YES retroarch/media
shaders shaders_cg https://github.com/libretro/common-shaders.git ASSETS YES retroarch/media
autoconfig autoconfig https://github.com/libretro/retroarch-joypad-autoconfig.git ASSETS YES retroarch/media
assets assets https://github.com/libretro/retroarch-assets.git ASSETS YES retroarch/media
libretrodb libretrodb https://github.com/libretro/libretro-database.git ASSETS YES retroarch/media

View File

@ -1,73 +1,9 @@
RECIPE FORMAT:
CORENAME COREDIR URL REPOTYPE ENABLED COMMAND MAKEFILE SUBDIR ARGS
{CORENAME} {COREDIR} {URL} {REPOTYPE} {ENABLED} {COMMAND} {MAKEFILE} {SUBDIR} {ARGS} TRAILINGSPACE
The following are know to work for Windows x64 with the toolchain provided by MSYS2 by default (SEH exception model):
Ex:
2048 libretro-2048 https://github.com/libretro/libretro-2048.git PROJECT YES GENERIC Makefile.libretro .
2048 libretro-2048 https://github.com/libretro/libretro-2048.git PROJECT YES GENERIC Makefile.libretro .
3dengine libretro-3dengine https://github.com/libretro/libretro-3dengine.git PROJECT YES GENERIC_GL Makefile .
4do libretro-4do https://github.com/libretro/4do-libretro.git PROJECT YES GENERIC Makefile .
bluemsx libretro-bluemsx https://github.com/libretro/blueMSX-libretro.git PROJECT YES GENERIC Makefile.libretro .
bnes libretro-bnes https://github.com/libretro/bnes-libretro.git PROJECT YES BSNES Makefile . bnes
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . accuracy
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . balanced
bsnes libretro-bsnes https://github.com/libretro/bsnes-libretro.git PROJECT YES BSNES Makefile . performance
bsnes_cplusplus98 libretro-bsnes_cplusplus98 https://github.com/libretro/bsnes-libretro-cplusplus98.git PROJECT YES BSNES Makefile . cpp98
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . accuracy
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . balanced
bsnes_mercury libretro-bsnes_mercury https://github.com/libretro/bsnes-mercury.git PROJECT YES BSNES Makefile . performance
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC Makefile .
desmume libretro-desmume https://github.com/libretro/desmume.git PROJECT YES GENERIC Makefile.libretro desmume
dinothawr libretro-dinothawr https://github.com/libretro/Dinothawr.git PROJECT YES GENERIC_ALT Makefile .
dosbox libretro-dosbox https://github.com/libretro/dosbox-libretro.git PROJECT YES GENERIC Makefile.libretro .
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk
fba_cores_cps1 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps1
fba_cores_cps2 libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/cps2
fba_cores_neo libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC makefile.libretro svn-current/trunk/fbacores/neogeo
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT YES GENERIC Makefile.libretro .
ffmpeg libretro-ffmpeg https://github.com/libretro/FFmpeg.git PROJECT YES GENERIC_GL Makefile libretro
fmsx libretro-fmsx https://github.com/libretro/fmsx-libretro.git PROJECT YES GENERIC Makefile .
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT YES GENERIC_ALT Makefile.libretro libgambatte
genesis_plus_gx libretro-genesis_plus_gx https://github.com/libretro/Genesis-Plus-GX.git PROJECT YES GENERIC Makefile.libretro .
handy libretro-handy https://github.com/libretro/libretro-handy.git PROJECT YES GENERIC Makefile .
mednafen_gba libretro-mednafen_gba https://github.com/libretro/beetle-gba-libretro.git PROJECT YES GENERIC Makefile .
mednafen_lynx libretro-mednafen_lynx https://github.com/libretro/beetle-lynx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_ngp libretro-mednafen_ngp https://github.com/libretro/beetle-ngp-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pce_fast libretro-mednafen_pce_fast https://github.com/libretro/beetle-pce-fast-libretro.git PROJECT YES GENERIC Makefile .
mednafen_pcfx libretro-mednafen_pcfx https://github.com/libretro/beetle-pcfx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_psx libretro-mednafen_psx https://github.com/libretro/beetle-psx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_snes libretro-mednafen_snes https://github.com/libretro/beetle-bsnes-libretro.git PROJECT YES GENERIC Makefile .
mednafen_supergrafx libretro-mednafen_supergrafx https://github.com/libretro/beetle-supergrafx-libretro.git PROJECT YES GENERIC Makefile .
mednafen_vb libretro-mednafen_vb https://github.com/libretro/beetle-vb-libretro.git PROJECT YES GENERIC Makefile .
mednafen_wswan libretro-mednafen_wswan https://github.com/libretro/beetle-wswan-libretro.git PROJECT YES GENERIC Makefile .
meteor libretro-meteor https://github.com/libretro/meteor-libretro.git PROJECT YES GENERIC Makefile libretro
mupen64plus libretro-mupen64plus https://github.com/libretro/mupen64plus-libretro.git PROJECT YES GENERIC_GL Makefile . WITH_DYNAREC=x86_64
nestopia libretro-nestopia https://github.com/libretro/nestopia.git PROJECT YES GENERIC Makefile libretro
nxengine libretro-nxengine https://github.com/libretro/nxengine-libretro.git PROJECT YES GENERIC Makefile .
o2em libretro-o2em https://github.com/libretro/libretro-o2em.git PROJECT YES GENERIC Makefile .
pcsx_rearmed libretro-pcsx_rearmed https://github.com/libretro/pcsx_rearmed.git PROJECT YES GENERIC Makefile.libretro . USE_DYNAREC=0
picodrive libretro-picodrive https://github.com/libretro/picodrive.git SUBMODULE YES GENERIC Makefile.libretro .
prboom libretro-prboom https://github.com/libretro/libretro-prboom.git PROJECT YES GENERIC_ALT Makefile .
prosystem libretro-prosystem https://github.com/libretro/prosystem-libretro.git PROJECT YES GENERIC Makefile .
quicknes libretro-quicknes https://github.com/libretro/QuickNES_Core.git PROJECT YES GENERIC Makefile libretro
remotejoy libretro-remotejoy https://github.com/libretro/libretro-remotejoy.git PROJECT YES GENERIC Makefile .
scummvm libretro-scummvm https://github.com/libretro/scummvm.git PROJECT YES GENERIC Makefile backends/platform/libretro/build
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERIC Makefile libretro
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile.libretro .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_ALT Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC Makefile.libretro .
virtualjaguar libretro-virtualjaguar https://github.com/libretro/virtualjaguar-libretro.git PROJECT YES GENERIC Makefile .
yabause libretro-yabause https://github.com/libretro/yabause.git PROJECT YES GENERIC Makefile libretro
The trailing space is really important for now, if no args are specified there needs to be a trailing space after SUBDIR
Command should usually be GENERIC and REPOTYPE should usually be project. Notable exceptions are PPSSPP and PICODRIVE. Those are submodule repos.
The following are know to work for Windows x64 with MINGW-W64 (SJLJ exception model)
mame libretro-mame https://github.com/libretro/mame.git PROJECT YES GENERIC Makefile.libretro . TARGET=mame PTR64=1
mame libretro-mame https://github.com/libretro/mame.git PROJECT YES GENERIC Makefile.libretro . TARGET=mess PTR64=1
mame libretro-mame https://github.com/libretro/mame.git PROJECT YES GENERIC Makefile.libretro . TARGET=ume PTR64=1
The following are not working for Windows x64 at the moment
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC Makefile . ===>BROKEN

View File

@ -1,9 +1,10 @@
PATH /c/Toolchains/devkitPro/devkitPPC/bin/
PATH /opt/devkitPro/devkitPPC/bin
platform wii
PLATFORM wii
CC powerpc-eabi-gcc
CXX powerpc-eabi-g++
AR powerpc--eabi-ar
MAKE /mingw64/bin/mingw32-make.exe
SUFFIX _wii
DEVKITPRO /opt/devkitPro
DEVKITPPC /opt/devkitPro/devkitPPC
RA YES

View File

@ -52,7 +52,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERI
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile.libretro .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_ALT Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC Makefile.libretro .

View File

@ -41,7 +41,7 @@ snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERI
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC Makefile .
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC Makefile .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile.libretro .
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC Makefile .
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_ALT Makefile.libretro .
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_ALT Makefile src/libretro
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC Makefile.libretro .

10
retrolink.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
#RetroLink - Allows a library or executable to link to any symbols, without version restrictions
#Usage: ./retrolink foobar_libretro.so
#http://www.lightofdawn.org/wiki/wiki.cgi/NewAppsOnOldGlibc
start=$(readelf -V $1 | grep -A1 .gnu.version_r | tail -n1 | cut -d' ' -f6)
pos=$(readelf -V $1 | grep 'Flags: none' | cut -d' ' -f3 | sed 's/://')
for pos in $pos; do
printf '\x02' | dd if=/dev/stdin of=$1 seek=$(($start+$pos+4)) count=1 bs=1 conv=notrunc 2> /dev/null
done

View File

@ -1,275 +1,344 @@
# vim: set ts=3 sw=3 noet ft=sh : bash
register_module core "bsnes"
libretro_bsnes_name="bsnes/higan"
libretro_bsnes_git_url="https://github.com/libretro/bsnes-libretro.git"
# NEED CUSTOM RULE: bsnes
libretro_bsnes_build_rule=none # NEED CUSTOM RULE
register_core "snes9x"
libretro_snes9x_name="SNES9x"
libretro_snes9x_git_url="https://github.com/libretro/snes9x.git"
libretro_snes9x_build_subdir="libretro"
register_core "snes9x_next"
libretro_snes9x_next_name="SNES9x Next"
libretro_snes9x_next_git_url="https://github.com/libretro/snes9x-next.git"
libretro_snes9x_next_build_makefile="Makefile.libretro"
libretro_snes9x_next_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "genesis_plus_gx"
libretro_genesis_plus_gx_name="Genesis Plus GX"
libretro_genesis_plus_gx_git_url="https://github.com/libretro/Genesis-Plus-GX.git"
libretro_genesis_plus_gx_build_makefile="Makefile.libretro"
register_core "fb_alpha"
libretro_fb_alpha_name="Final Burn Alpha"
libretro_fb_alpha_git_url="https://github.com/libretro/fba-libretro.git"
libretro_fb_alpha_build_subdir="svn-current/trunk"
libretro_fb_alpha_build_makefile="makefile.libretro"
register_core "vba_next"
libretro_vba_next_name="VBA Next"
libretro_vba_next_git_url="https://github.com/libretro/vba-next.git"
libretro_vba_next_build_makefile="Makefile.libretro"
libretro_vba_next_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "vbam"
libretro_vbam_name="VBA-M"
libretro_vbam_git_url="https://github.com/libretro/vbam-libretro.git"
libretro_vbam_build_subdir="src/libretro"
libretro_vbam_build_makefile="Makefile"
libretro_vbam_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "handy"
libretro_handy_name="Handy"
libretro_handy_git_url="https://github.com/libretro/libretro-handy.git"
# IMPLICIT
register_core "cap32"
libretro_cap32_name="Caprice32"
libretro_cap32_git_url="https://github.com/libretro/libretro-cap32.git"
libretro_cap32_build_makefile="Makefile"
register_core "bnes"
libretro_bnes_name="bnes/higan"
libretro_bnes_git_url="https://github.com/libretro/bnes-libretro.git"
# NEED CUSTOM RULE: bnes
libretro_bnes_build_rule=none # NEED CUSTOM RULE
register_core "fceumm"
libretro_fceumm_name="FCEUmm"
libretro_fceumm_git_url="https://github.com/libretro/libretro-fceumm.git"
libretro_fceumm_build_makefile="Makefile.libretro"
register_core "gambatte"
libretro_gambatte_name="Gambatte"
libretro_gambatte_git_url="https://github.com/libretro/gambatte-libretro.git"
libretro_gambatte_build_subdir="libgambatte"
libretro_gambatte_build_makefile="Makefile.libretro"
libretro_gambatte_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "meteor"
libretro_meteor_name="Meteor"
libretro_meteor_git_url="https://github.com/libretro/meteor-libretro.git"
libretro_meteor_build_subdir="libretro"
register_core "nxengine"
libretro_nxengine_name="NXEngine"
libretro_nxengine_git_url="https://github.com/libretro/nxengine-libretro.git"
# IMPLICIT
register_core "prboom"
libretro_prboom_name="PrBoom"
libretro_prboom_git_url="https://github.com/libretro/libretro-prboom.git"
libretro_prboom_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "stella"
libretro_stella_name="Stella"
libretro_stella_git_url="https://github.com/libretro/stella-libretro.git"
# IMPLICIT
register_core "desmume"
libretro_desmume_name="DeSmuME"
libretro_desmume_git_url="https://github.com/libretro/desmume.git"
libretro_desmume_build_subdir="desmume"
libretro_desmume_build_makefile="Makefile.libretro"
register_core "quicknes"
libretro_quicknes_name="QuickNES"
libretro_quicknes_git_url="https://github.com/libretro/QuickNES_Core.git"
libretro_quicknes_build_subdir="libretro"
register_core "nestopia"
libretro_nestopia_name="Nestopia"
libretro_nestopia_git_url="https://github.com/libretro/nestopia.git"
libretro_nestopia_build_subdir="libretro"
register_core "tyrquake"
libretro_tyrquake_name="TyrQuake"
libretro_tyrquake_git_url="https://github.com/libretro/tyrquake.git"
libretro_tyrquake_build_makefile="Makefile.libretro"
libretro_tyrquake_build_makefile="Makefile"
register_core "pcsx_rearmed"
libretro_pcsx_rearmed_name="PCSX ReARMed"
libretro_pcsx_rearmed_git_url="https://github.com/libretro/pcsx_rearmed.git"
libretro_pcsx_rearmed_build_makefile="Makefile.libretro"
register_core "mednafen_gba"
libretro_mednafen_gba_name="Mednafen/Beetle GBA"
libretro_mednafen_gba_git_url="https://github.com/libretro/beetle-gba-libretro.git"
# IMPLICIT
register_core "mednafen_lynx"
libretro_mednafen_lynx_name="Mednafen/Beetle Lynx"
libretro_mednafen_lynx_git_url="https://github.com/libretro/beetle-lynx-libretro.git"
# IMPLICIT
register_core "mednafen_ngp"
libretro_mednafen_ngp_name="Mednafen/Beetle NeoPop"
libretro_mednafen_ngp_git_url="https://github.com/libretro/beetle-ngp-libretro.git"
# IMPLICIT
register_core "mednafen_pce_fast"
libretro_mednafen_pce_fast_name="Mednafen/Beetle PCE FAST"
libretro_mednafen_pce_fast_git_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
# IMPLICIT
register_core "mednafen_supergrafx"
libretro_mednafen_supergrafx_name="Mednafen/Beetle SuperGrafx"
libretro_mednafen_supergrafx_git_url="https://github.com/libretro/beetle-supergrafx-libretro.git"
# IMPLICIT
register_core "mednafen_psx"
libretro_mednafen_psx_name="Mednafen PSX"
libretro_mednafen_psx_git_url="https://github.com/libretro/mednafen-psx-libretro.git"
# IMPLICIT
register_core "mednafen_pcfx"
libretro_mednafen_pcfx_name="Mednafen/Beetle PC-FX"
libretro_mednafen_pcfx_git_url="https://github.com/libretro/beetle-pcfx-libretro.git"
# IMPLICIT
register_core "mednafen_snes"
libretro_mednafen_snes_name="Mednafen/Beetle bsnes"
libretro_mednafen_snes_git_url="https://github.com/libretro/beetle-bsnes-libretro.git"
# IMPLICIT
register_core "mednafen_vb"
libretro_mednafen_vb_name="Mednafen/Beetle VB"
libretro_mednafen_vb_git_url="https://github.com/libretro/beetle-vb-libretro.git"
# IMPLICIT
register_core "mednafen_wswan"
libretro_mednafen_wswan_name="Mednafen/Beetle WonderSwan"
libretro_mednafen_wswan_git_url="https://github.com/libretro/beetle-wswan-libretro.git"
# IMPLICIT
register_core "scummvm"
libretro_scummvm_name="ScummVM"
libretro_scummvm_git_url="https://github.com/libretro/scummvm.git"
libretro_scummvm_build_subdir="backends/platform/libretro/build"
register_core "yabause"
libretro_yabause_name="Yabause"
libretro_yabause_git_url="https://github.com/libretro/yabause.git"
libretro_yabause_build_subdir="libretro"
register_core "dosbox"
libretro_dosbox_name="DOSBox"
libretro_dosbox_git_url="https://github.com/libretro/dosbox-libretro.git"
libretro_dosbox_makefile="Makefile.libretro"
register_core "virtualjaguar"
libretro_virtualjaguar_name="Virtual Jaguar"
libretro_virtualjaguar_git_url="https://github.com/libretro/virtualjaguar-libretro.git"
# IMPLICIT
libretro_virtualjaguar_makefile="Makefile"
register_core "mame078"
libretro_mame078_name="MAME 2003 (0.78)"
libretro_mame078_git_url="https://github.com/libretro/mame2003-libretro.git"
# IMPLICIT
libretro_mame078_makefile="Makefile"
register_core "mame139"
libretro_mame139_name="MAME 2010 (0.139)"
libretro_mame139_git_url="https://github.com/libretro/mame2010-libretro.git"
# NEED A BUILD RULE: mame139
libretro_mame139_build_rule=none # NEED A BUILD RULE
register_core "mame"
libretro_mame_name="MAME (git)"
libretro_mame_git_url="https://github.com/libretro/mame.git"
# NEED CUSTOM RULE: mame
libretro_mame_build_rule=none # NEED CUSTOM RULE
register_core "ffmpeg"
libretro_ffmpeg_name="FFmpeg"
libretro_ffmpeg_git_url="https://github.com/libretro/FFmpeg.git"
libretro_ffmpeg_build_subdir="libretro"
libretro_ffmpeg_build_opengl="optional"
register_core "bsnes_cplusplus98"
libretro_bsnes_cplusplus98_name="bsnes C++98 (v0.85)"
libretro_bsnes_cplusplus98_git_url="https://github.com/libretro/bsnes-libretro-cplusplus98.git"
# NEED CUSTOM RULE: bsnes_cplusplus98
libretro_bsnes_cplusplus98_build_rule=none # NEED CUSTOM RULE
register_core "bsnes_mercury"
libretro_bsnes_mercury_name="bsnes-mercury"
libretro_bsnes_mercury_git_url="https://github.com/libretro/bsnes-mercury.git"
# NEED CUSTOM RULE: bsnes_mercury
libretro_bsnes_mercury_build_rule=none # NEED CUSTOM RULE
register_core "picodrive"
libretro_picodrive_name="Picodrive"
libretro_picodrive_git_url="https://github.com/libretro/picodrive.git"
libretro_picodrive_git_submodules="yes"
libretro_picodrive_build_makefile="Makefile.libretro"
register_core "tgbdual"
libretro_tgbdual_name="TGB Dual"
libretro_tgbdual_git_url="https://github.com/libretro/tgbdual-libretro.git"
# IMPLICIT
register_core "mupen64plus"
libretro_mupen64plus_name="Mupen64Plus"
libretro_mupen64plus_git_url="https://github.com/libretro/mupen64plus-libretro.git"
# NEED CUSTOM RULE: mupen64plus
libretro_mupen64plus_build_rule=none # NEED CUSTOM RULE
register_core "dinothawr"
libretro_dinothawr_name="Dinothawr"
libretro_dinothawr_git_url="https://github.com/libretro/Dinothawr.git"
libretro_dinothawr_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "uae"
libretro_uae_name="UAE"
libretro_uae_git_url="https://github.com/libretro/libretro-uae.git"
# NEED A BUILD RULE: uae
libretro_uae_build_rule=none # NEED A BUILD RULE
register_core "3dengine"
libretro_3dengine_name="3DEngine"
libretro_3dengine_git_url="https://github.com/libretro/libretro-3dengine.git"
libretro_3dengine_build_opengl=yes
register_core "remotejoy"
libretro_remotejoy_name="RemoteJoy"
libretro_remotejoy_git_url="https://github.com/libretro/libretro-remotejoy.git"
# NEED A BUILD RULE: remotejoy
libretro_remotejoy_build_makefile="Makefile"
register_core "bluemsx"
libretro_bluemsx_name="blueMSX"
libretro_bluemsx_git_url="https://github.com/libretro/blueMSX-libretro.git"
libretro_bluemsx_build_makefile="Makefile.libretro"
register_core "fmsx"
libretro_fmsx_name="fMSX"
libretro_fmsx_git_url="https://github.com/libretro/fmsx-libretro.git"
# IMPLICIT
register_module core "2048"
libretro_2048_git_url="https://github.com/libretro/libretro-2048.git"
libretro_2048_build_makefile="Makefile.libretro"
register_module core "vecx"
libretro_vecx_git_url="https://github.com/libretro/libretro-vecx.git"
libretro_vecx_build_makefile="Makefile.libretro"
register_core "ppsspp"
libretro_ppsspp_name="PPSSPP"
libretro_ppsspp_git_url="https://github.com/libretro/ppsspp.git"
libretro_ppsspp_git_submodules="yes"
libretro_ppsspp_build_subdir="libretro"
libretro_ppsspp_build_opengl="yes"
register_core "prosystem"
libretro_prosystem_name="ProSystem"
libretro_prosystem_git_url="https://github.com/libretro/prosystem-libretro.git"
# IMPLICIT
register_core "o2em"
libretro_o2em_name="O2EM"
libretro_o2em_git_url="https://github.com/libretro/libretro-o2em.git"
# IMPLICIT
register_core "4do"
libretro_4do_name="4DO"
libretro_4do_git_url="https://github.com/libretro/4do-libretro.git"
# IMPLICIT
register_core "catsfc"
libretro_catsfc_name="CATSFC"
libretro_catsfc_git_url="https://github.com/libretro/CATSFC-libretro.git"
# IMPLICIT
register_core "stonesoup"
libretro_stonesoup_name="Dungeon Crawl Stone Soup"
libretro_stonesoup_git_url="https://github.com/libretro/crawl-ref.git"
libretro_stonesoup_git_submodules="clone"
libretro_stonesoup_build_subdir="crawl-ref"
libretro_stonesoup_build_makefile="Makefile.libretro"
register_core "hatari"
libretro_hatari_name="Hatari"
libretro_hatari_git_url="https://github.com/libretro/hatari.git"
libretro_hatari_build_makefile="Makefile.libretro"
register_core "tempgba"
libretro_tempgba_name="TempGBA"
libretro_tempgba_git_url="https://github.com/libretro/TempGBA-libretro.git"
# NEED A BUILD RULE: tempgba
libretro_tempgba_build_rule=none # NEED A BUILD RULE
register_core "gpsp"
libretro_gpsp_name="gpSP"
libretro_gpsp_git_url="https://github.com/libretro/gpsp.git"
# IMPLICIT
register_core "emux"
libretro_emux_name="Emux"
libretro_emux_git_url="https://github.com/libretro/emux.git"
# NEED CUSTOM RULE: emux
libretro_emux_build_rule=none # NEED CUSTOM RULE
register_core "fuse"
libretro_fuse_name="Fuse"
libretro_fuse_git_url="https://github.com/libretro/fuse-libretro.git"
libretro_fuse_build_makefile="Makefile.libretro"
libretro_fuse_build_platform="$FORMAT_COMPILER_TARGET_ALT"
register_core "gw"
libretro_gw_name="Game & Watch"
libretro_gw_git_url="https://github.com/libretro/gw-libretro.git"
libretro_gw_git_submodules="yes"
libretro_gw_build_makefile="Makefile.libretro"
register_core "lutro"
libretro_lutro_name="Lutro"
libretro_lutro_git_url="https://github.com/libretro/libretro-lutro.git"
libretro_lutro_build_makefile="Makefile"
register_core "lutro_platformer"
libretro_lutro_platformer_name="Lutro-Platformer"
libretro_lutro_platformer_git_url="https://github.com/libretro/lutro-platformer.git"
register_core "lutro_tetris"
libretro_lutro_tetris_name="Lutro-tetris"
libretro_lutro_tetris_git_url="https://github.com/libretro/lutro-tetris.git"
register_core "lutro_snake"
libretro_lutro_snake_name="Lutro-snake"
libretro_lutro_snake_git_url="https://github.com/libretro/lutro-snake.git"
register_core "lutro_iyfct"
libretro_lutro_iyfct_name="Lutro-iyfct"
libretro_lutro_iyfct_git_url="https://github.com/libretro/lutro-iyfct.git"
register_core "lutro_game_of_life"
libretro_lutro_game_of_life_name="Lutro-Game-of-Life"
libretro_lutro_game_of_life_git_url="https://github.com/libretro/lutro-game-of-life.git"
# CORE RULE VARIABLES
#
# All variables follow the format of libretro_<core>_<setting> where <core> is

View File

@ -2,7 +2,7 @@
libretro_devkit_name="libretro Developer's Kit"
libretro_devkit_fetch_rule=multi_git
libretro_devkit_mgit_urls=5
libretro_devkit_mgit_urls=4
libretro_devkit_mgit_dir_0="libretro-manifest"
libretro_devkit_mgit_url_0="https://github.com/libretro/libretro-manifest.git"
libretro_devkit_mgit_dir_1="libretrodb"
@ -11,5 +11,3 @@ libretro_devkit_mgit_dir_2="libretro-dat-pull"
libretro_devkit_mgit_url_2="https://github.com/libretro/libretro-dat-pull.git"
libretro_devkit_mgit_dir_3="libretro-common"
libretro_devkit_mgit_url_3="https://github.com/libretro/libretro-common.git"
libretro_devkit_mgit_dir_4="libretro-musl"
libretro_devkit_mgit_url_4="https://github.com/libretro/musl-libretro.git"

22
script-modules/modules.sh Normal file
View File

@ -0,0 +1,22 @@
# vim: set ts=3 sw=3 noet ft=sh : bash
register_module() {
case "$1" in
core|devkit|player)
if [ -n "$2" ]; then
eval "libretro_${1}s=\"\$libretro_${1}s $2::\""
else
echo "register_module:Trying to register a $1 without a name"
exit 1
fi
;;
*)
echo "register_module:Unknown module type \"$1\""
exit 1
;;
esac
}
register_core() {
register_module core $@
}