Add modelviewer-location repo

This commit is contained in:
twinaphex 2013-12-20 16:20:05 +01:00
parent d1111ab3d7
commit 2ba63b6937
4 changed files with 33 additions and 0 deletions

View File

@ -369,6 +369,23 @@ build_libretro_modelviewer()
fi
}
build_libretro_modelviewer_location()
{
cd $BASE_DIR
if [ -d "libretro-gl-modelviewer-location" ]; then
echo "=== Building Modelviewer Location (GL) ==="
cd libretro-gl-modelviewer-location
cd jni
ndk-build clean APP_ABI="armeabi-v7a mips x86"
ndk-build -j$JOBS APP_ABI="armeabi-v7a mips x86"
cp ../libs/armeabi-v7a/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/armeabi-v7a/modelviewer_location_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/modelviewer_location_libretro${FORMAT}.${FORMAT_EXT}
cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/modelviewer_location_libretro${FORMAT}.${FORMAT_EXT}
else
echo "ModelViewer Location not fetched, skipping ..."
fi
}
build_libretro_instancingviewer()
{
cd $BASE_DIR

View File

@ -460,6 +460,20 @@ build_libretro_modelviewer() {
fi
}
build_libretro_modelviewer_location() {
cd "${BASE_DIR}"
if [ -d 'libretro-gl-modelviewer-location' ]; then
echo '=== Building Modelviewer Location (GL) ==='
cd libretro-gl-modelviewer-location
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean Modelviewer Location'
"${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build Modelviewer Location'
cp "modelviewer_location_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}"
else
echo 'ModelViewer Location not fetched, skipping ...'
fi
}
build_libretro_scenewalker() {
cd "${BASE_DIR}"
if [ -d 'libretro-gl-scenewalker' ]; then

View File

@ -123,6 +123,7 @@ if [ $FORMAT_COMPILER_TARGET != "win" ]; then
fi
check_opengl
build_libretro_modelviewer
build_libretro_modelviewer_location
build_libretro_scenewalker
build_libretro_instancingviewer
build_libretro_instancingviewer_camera

View File

@ -104,6 +104,7 @@ fetch_project "$REPO_BASE/libretro/mame2010-libretro.git" "libretro-mame139" "li
fetch_project "$REPO_BASE/libretro/mame2013-libretro.git" "libretro-mame" "libretro/mame"
fetch_project "$REPO_BASE/libretro/scenewalker-libretro.git" "libretro-gl-scenewalker" "libretro/SceneWalker"
fetch_project "$REPO_BASE/libretro/modelviewer-libretro.git" "libretro-gl-modelviewer" "libretro/ModelViewer"
fetch_project "$REPO_BASE/libretro/modelviewer-location-libretro.git" "libretro-gl-modelviewer-location" "libretro/ModelViewer-Location"
fetch_project "$REPO_BASE/libretro/libretro-ffmpeg.git" "libretro-ffmpeg" "libretro/ffmpeg"
fetch_project "$REPO_BASE/libretro/bsnes-libretro-cplusplus98.git" "libretro-bsnes-cplusplus98" "libretro/bsnes-cplusplus98"
fetch_project_submodule "$REPO_BASE/libretro/picodrive.git" "libretro-picodrive" "libretro/picodrive"