mkpkg_libretro-ppsspp: don't init all submodules

This commit is contained in:
CvH 2018-10-27 19:19:56 +02:00
parent 1a123dcf29
commit 74b0c68e9f

View File

@ -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