diff --git a/tools/mkpkg/mkpkg_libretro-ppsspp b/tools/mkpkg/mkpkg_libretro-ppsspp index 4e81cba4e2..c650cb8577 100755 --- a/tools/mkpkg/mkpkg_libretro-ppsspp +++ b/tools/mkpkg/mkpkg_libretro-ppsspp @@ -6,7 +6,14 @@ echo "getting sources..." if [ ! -d libretro-ppsspp.git ]; then - git clone --depth=1 --recursive https://github.com/hrydgard/ppsspp libretro-ppsspp.git + git clone --depth=1 https://github.com/hrydgard/ppsspp libretro-ppsspp.git + cd libretro-ppsspp.git + git submodule init + git submodule deinit -f ffmpeg + git submodule deinit -f dx9sdk + git submodule deinit -f pspautotests + git submodule update + cd .. fi cd libretro-ppsspp.git @@ -20,15 +27,10 @@ echo "copying sources..." echo "cleaning sources..." rm -rf libretro-ppsspp-$GIT_REV/.git - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/android - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/blackberry - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/ios - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/macosx - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/symbian - rm -rf libretro-ppsspp-$GIT_REV/ffmpeg/Windows* echo "packing sources..." tar cvJf libretro-ppsspp-$GIT_REV.tar.xz libretro-ppsspp-$GIT_REV + echo "SHA256: $(sha256sum libretro-ppsspp-$GIT_REV.tar.xz)" echo "remove temporary sourcedir..." rm -rf libretro-ppsspp-$GIT_REV