mirror of
https://github.com/libretro/libretro-super
synced 2024-12-01 04:03:00 +00:00
72 lines
2.3 KiB
Bash
Executable File
72 lines
2.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
# Keep three copies so we don't have to rebuild stuff all the time.
|
|
fetch_project_bsnes()
|
|
{
|
|
echo "=== Fetching $3 ==="
|
|
if [ -d "$2" ]; then
|
|
cd "$2"
|
|
git pull
|
|
cd ..
|
|
else
|
|
git clone $1 "$2"
|
|
fi
|
|
|
|
if [ -d "$2" ]; then
|
|
cd "$2"
|
|
|
|
if [ -d "perf" ]; then
|
|
cd perf
|
|
git pull ..
|
|
cd ..
|
|
else
|
|
git clone . perf
|
|
fi
|
|
|
|
if [ -d "compat" ]; then
|
|
cd compat
|
|
git pull ..
|
|
cd ..
|
|
else
|
|
git clone . compat
|
|
fi
|
|
|
|
cd ..
|
|
fi
|
|
}
|
|
|
|
fetch_project()
|
|
{
|
|
echo "=== Fetching $3 ==="
|
|
if [ -d "$2" ]; then
|
|
cd "$2"
|
|
git pull
|
|
cd ..
|
|
else
|
|
git clone "$1" "$2"
|
|
fi
|
|
echo "=== Fetched ==="
|
|
}
|
|
|
|
REPO_BASE="git://github.com"
|
|
|
|
fetch_project_bsnes "git://gitorious.org/bsnes/bsnes.git --branch libretro" "libretro-bsnes" "libretro/bSNES"
|
|
fetch_project "$REPO_BASE/snes9xgit/snes9x.git" "libretro-s9x" "libretro/SNES9x"
|
|
fetch_project "$REPO_BASE/libretro/snes9x-next.git" "libretro-s9x-next" "libretro/SNES9x-Next"
|
|
fetch_project "$REPO_BASE/libretro/Genesis-Plus-GX.git" "libretro-genplus" "libretro/Genplus GX"
|
|
fetch_project "$REPO_BASE/libretro/fba-libretro.git" "libretro-fba" "libretro/FBA"
|
|
fetch_project "$REPO_BASE/libretro/vba-next.git" "libretro-vba" "libretro/VBA"
|
|
fetch_project "$REPO_BASE/libretro/bnes-libretro.git" "libretro-bnes" "libretro/bNES"
|
|
fetch_project "$REPO_BASE/libretro/fceu-next.git" "libretro-fceu" "libretro/FCEU"
|
|
fetch_project "$REPO_BASE/libretro/gambatte-libretro.git" "libretro-gambatte" "libretro/Gambatte"
|
|
fetch_project "$REPO_BASE/libretro/meteor-libretro.git" "libretro-meteor" "libretro/Meteor"
|
|
fetch_project "$REPO_BASE/libretro/nxengine-libretro.git" "libretro-nx" "libretro/NX"
|
|
fetch_project "$REPO_BASE/libretro/libretro-prboom.git" "libretro-prboom" "libretro/PRBoom"
|
|
fetch_project "$REPO_BASE/libretro/mednafen-psx-libretro.git" "libretro-mednafen-psx" "libretro/mednafen-PSX"
|
|
fetch_project "$REPO_BASE/libretro/mednafen-pce-libretro.git" "libretro-mednafen-pce" "libretro/mednafen-PCE"
|
|
fetch_project "$REPO_BASE/libretro/mednafen-wswan-libretro.git" "libretro-mednafen-wswan" "libretro/mednafen-WSwan"
|
|
fetch_project "$REPO_BASE/libretro/mednafen-ngp-libretro.git" "libretro-mednafen-ngp" "libretro/mednafen-NGP"
|
|
fetch_project "$REPO_BASE/libretro/stella-libretro.git" "libretro-stella" "libretro/Stella"
|
|
|