Add Meteor build.
This commit is contained in:
parent
72764ebbd3
commit
91f8b066d7
|
@ -144,6 +144,19 @@ build_libsnes_gambatte()
|
|||
fi
|
||||
}
|
||||
|
||||
build_libsnes_meteor()
|
||||
{
|
||||
if [ -d "libsnes-meteor" ]; then
|
||||
echo "=== Building Meteor ==="
|
||||
cd libsnes-meteor/libsnes
|
||||
make -j4 || die "Failed to build Meteor"
|
||||
cp libsnes.so ../libsnes-meteor.so
|
||||
cd ../
|
||||
else
|
||||
echo "Meteor not fetched, skipping ..."
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
build_libsnes
|
||||
build_libsnes_s9x
|
||||
|
@ -154,4 +167,5 @@ build_libsnes_vba
|
|||
build_libsnes_bnes
|
||||
build_libsnes_fceu
|
||||
build_libsnes_gambatte
|
||||
build_libsnes_meteor
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
REPO_BASE="git://github.com"
|
||||
|
||||
# Keep three copies so we don't have to rebuild stuff all the time.
|
||||
fetch_project_bsnes()
|
||||
|
@ -11,7 +10,7 @@ fetch_project_bsnes()
|
|||
git pull
|
||||
cd ..
|
||||
else
|
||||
git clone "$REPO_BASE/$1" "$2"
|
||||
git clone "$1" "$2"
|
||||
fi
|
||||
|
||||
if [ -d "$2" ]; then
|
||||
|
@ -45,19 +44,21 @@ fetch_project()
|
|||
git pull
|
||||
cd ..
|
||||
else
|
||||
git clone "$REPO_BASE/$1" "$2"
|
||||
git clone "$1" "$2"
|
||||
fi
|
||||
echo "=== Fetched ==="
|
||||
}
|
||||
|
||||
REPO_BASE="git://github.com"
|
||||
|
||||
fetch_project_bsnes "Themaister/libsnes.git" "libsnes" "libsnes/bSNES"
|
||||
fetch_project "Themaister/snes9x-libsnes.git" "libsnes-s9x" "libsnes/SNES9x"
|
||||
fetch_project "twinaphex/snes9x-next.git" "libsnes-s9x-next" "libsnes/SNES9x-Next"
|
||||
fetch_project "twinaphex/genesis-next.git" "libsnes-genplus" "libsnes/Genplus GX"
|
||||
fetch_project "twinaphex/fba-next-slim.git" "libsnes-fba" "libsnes/FBA"
|
||||
fetch_project "twinaphex/vba-next.git" "libsnes-vba" "libsnes/VBA"
|
||||
fetch_project "Themaister/bnes-libsnes.git" "libsnes-bnes" "libsnes/bNES"
|
||||
fetch_project "twinaphex/fceu-next.git" "libsnes-fceu" "libsnes/FCEU"
|
||||
fetch_project "Themaister/gambatte-libsnes.git" "libsnes-gambatte" "libsnes/Gambatte"
|
||||
fetch_project_bsnes "$REPO_BASE/Themaister/libsnes.git" "libsnes" "libsnes/bSNES"
|
||||
fetch_project "$REPO_BASE/Themaister/snes9x-libsnes.git" "libsnes-s9x" "libsnes/SNES9x"
|
||||
fetch_project "$REPO_BASE/twinaphex/snes9x-next.git" "libsnes-s9x-next" "libsnes/SNES9x-Next"
|
||||
fetch_project "$REPO_BASE/twinaphex/genesis-next.git" "libsnes-genplus" "libsnes/Genplus GX"
|
||||
fetch_project "$REPO_BASE/twinaphex/fba-next-slim.git" "libsnes-fba" "libsnes/FBA"
|
||||
fetch_project "$REPO_BASE/twinaphex/vba-next.git" "libsnes-vba" "libsnes/VBA"
|
||||
fetch_project "$REPO_BASE/Themaister/bnes-libsnes.git" "libsnes-bnes" "libsnes/bNES"
|
||||
fetch_project "$REPO_BASE/twinaphex/fceu-next.git" "libsnes-fceu" "libsnes/FCEU"
|
||||
fetch_project "$REPO_BASE/Themaister/gambatte-libsnes.git" "libsnes-gambatte" "libsnes/Gambatte"
|
||||
fetch_project "git://git.code.sf.net/p/meteorgba/code.git" "libsnes-meteor" "libsnes/Meteor"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ LIBS="$LIBS libsnes-vba/libsnes-vba.so"
|
|||
LIBS="$LIBS libsnes-fceu/libsnes-fceu.so"
|
||||
LIBS="$LIBS libsnes-bnes/libsnes-bnes.so"
|
||||
LIBS="$LIBS libsnes-gambatte/libsnes-gambatte.so"
|
||||
LIBS="$LIBS libsnes-meteor/libsnes-meteor.so"
|
||||
|
||||
for lib in $LIBS
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue