2011-11-02 15:27:23 +00:00
|
|
|
#!/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
|
2012-04-28 07:22:49 +00:00
|
|
|
git clone $1 "$2"
|
2011-11-02 15:27:23 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "$2" ]; then
|
|
|
|
cd "$2"
|
|
|
|
|
|
|
|
if [ -d "perf" ]; then
|
|
|
|
cd perf
|
|
|
|
git pull ..
|
|
|
|
cd ..
|
|
|
|
else
|
|
|
|
git clone . perf
|
|
|
|
fi
|
|
|
|
|
2013-01-15 11:24:05 +00:00
|
|
|
if [ -d "balanced" ]; then
|
|
|
|
cd balanced
|
2011-11-02 15:27:23 +00:00
|
|
|
git pull ..
|
|
|
|
cd ..
|
|
|
|
else
|
2013-01-15 11:24:05 +00:00
|
|
|
git clone . balanced
|
2011-11-02 15:27:23 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
fetch_project()
|
|
|
|
{
|
|
|
|
echo "=== Fetching $3 ==="
|
|
|
|
if [ -d "$2" ]; then
|
|
|
|
cd "$2"
|
|
|
|
git pull
|
|
|
|
cd ..
|
|
|
|
else
|
2012-01-03 14:15:33 +00:00
|
|
|
git clone "$1" "$2"
|
2011-11-02 15:27:23 +00:00
|
|
|
fi
|
|
|
|
echo "=== Fetched ==="
|
|
|
|
}
|
|
|
|
|
2012-01-03 14:15:33 +00:00
|
|
|
REPO_BASE="git://github.com"
|
2011-11-02 15:27:23 +00:00
|
|
|
|
2012-04-28 07:22:49 +00:00
|
|
|
fetch_project_bsnes "git://gitorious.org/bsnes/bsnes.git --branch libretro" "libretro-bsnes" "libretro/bSNES"
|
2012-04-16 17:33:18 +00:00
|
|
|
fetch_project "$REPO_BASE/snes9xgit/snes9x.git" "libretro-s9x" "libretro/SNES9x"
|
2012-06-03 19:36:01 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/snes9x-next.git" "libretro-s9x-next" "libretro/SNES9x-Next"
|
2012-08-11 18:06:51 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/Genesis-Plus-GX.git" "libretro-genplus" "libretro/Genplus GX"
|
2012-06-03 19:36:01 +00:00
|
|
|
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"
|
2012-11-08 22:55:59 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/stella-libretro.git" "libretro-stella" "libretro/Stella"
|
|
|
|
fetch_project "$REPO_BASE/libretro/desmume-libretro.git" "libretro-desmume" "libretro/Desmume"
|
2013-01-10 13:33:48 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/QuickNES_Core.git" "libretro-quicknes" "libretro/QuickNES"
|
2013-01-16 08:08:42 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/nestopia.git" "libretro-nestopia" "libretro/Nestopia"
|
2013-03-01 16:44:21 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/tyrquake.git" "libretro-tyrquake" "libretro/tyrquake"
|
2013-04-29 20:12:35 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/pcsx_rearmed.git" "libretro-pcsx-rearmed" "libretro/pcsx_rearmed"
|
2013-04-30 02:04:40 +00:00
|
|
|
fetch_project "$REPO_BASE/libretro/mednafen-libretro.git" "libretro-mednafen" "libretro/Mednafen"
|