diff --git a/libretro-build-android-mk.sh b/libretro-build-android-mk.sh index 8ca2bb14..df5100b2 100755 --- a/libretro-build-android-mk.sh +++ b/libretro-build-android-mk.sh @@ -385,6 +385,23 @@ build_libretro_instancingviewer() fi } +build_libretro_instancingviewer_camera() +{ + cd $BASE_DIR + if [ -d "libretro-gl-instancingviewer-camera" ]; then + echo "=== Building InstancingViewer Camera (GL) ===" + cd libretro-gl-instancingviewer-camera + 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/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT} + cp ../libs/mips/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/mips/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT} + cp ../libs/x86/libretro.${FORMAT_EXT} $RARCH_DIST_DIR/x86/instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT} + else + echo "InstancingViewer Camera not fetched, skipping ..." + fi +} + build_libretro_scenewalker() { cd $BASE_DIR @@ -541,6 +558,7 @@ else build_libretro_tyrquake build_libretro_modelviewer build_libretro_instancingviewer + build_libretro_instancingviewer_camera build_libretro_scenewalker build_libretro_picodrive build_libretro_bsnes_performance diff --git a/libretro-build-common.sh b/libretro-build-common.sh index a0cba9cc..2502f750 100755 --- a/libretro-build-common.sh +++ b/libretro-build-common.sh @@ -460,6 +460,20 @@ build_libretro_instancingviewer() { fi } +build_libretro_instancingviewer_camera() { + cd "${BASE_DIR}" + if [ -d 'libretro-gl-instancingviewer-camera' ]; then + echo '=== Building Instancing Viewer Camera (GL) ===' + cd libretro-gl-instancingviewer-camera + + "${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" clean || die 'Failed to clean InstancingViewer-Camera' + "${MAKE}" -f Makefile platform="${FORMAT_COMPILER_TARGET}" ${COMPILER} "-j${JOBS}" || die 'Failed to build InstancingViewer-Camera' + cp "instancingviewer_camera_libretro${FORMAT}.${FORMAT_EXT}" "${RARCH_DIST_DIR}" + else + echo 'InstancingViewer Camera not fetched, skipping ...' + fi +} + build_libretro_scummvm() { cd "${BASE_DIR}" if [ -d 'libretro-scummvm' ]; then diff --git a/libretro-build-ios.sh b/libretro-build-ios.sh index 41280c4d..e29d11de 100755 --- a/libretro-build-ios.sh +++ b/libretro-build-ios.sh @@ -42,6 +42,7 @@ else build_libretro_modelviewer build_libretro_scenewalker build_libretro_instancingviewer + build_libretro_instancingviewer_camera build_libretro_picodrive build_libretro_dinothawr fi diff --git a/libretro-build.sh b/libretro-build.sh index 8737e976..54e24be0 100755 --- a/libretro-build.sh +++ b/libretro-build.sh @@ -120,6 +120,7 @@ fi build_libretro_modelviewer build_libretro_scenewalker build_libretro_instancingviewer + build_libretro_instancingviewer_camera build_libretro_mupen64 build_libretro_ffmpeg build_libretro_dinothawr