mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
mkpkg_libretro-ppsspp: don't init all submodules
This commit is contained in:
parent
1a123dcf29
commit
74b0c68e9f
@ -6,7 +6,14 @@
|
|||||||
|
|
||||||
echo "getting sources..."
|
echo "getting sources..."
|
||||||
if [ ! -d libretro-ppsspp.git ]; then
|
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
|
fi
|
||||||
|
|
||||||
cd libretro-ppsspp.git
|
cd libretro-ppsspp.git
|
||||||
@ -20,15 +27,10 @@ echo "copying sources..."
|
|||||||
|
|
||||||
echo "cleaning sources..."
|
echo "cleaning sources..."
|
||||||
rm -rf libretro-ppsspp-$GIT_REV/.git
|
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..."
|
echo "packing sources..."
|
||||||
tar cvJf libretro-ppsspp-$GIT_REV.tar.xz libretro-ppsspp-$GIT_REV
|
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..."
|
echo "remove temporary sourcedir..."
|
||||||
rm -rf libretro-ppsspp-$GIT_REV
|
rm -rf libretro-ppsspp-$GIT_REV
|
||||||
|
Loading…
x
Reference in New Issue
Block a user