2023-02-26 01:04:58 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $GITHUB_WORKSPACE
|
|
|
|
|
|
|
|
echo "Downloading vitasdk..."
|
|
|
|
|
|
|
|
export VITASDK=/usr/local/vitasdk
|
|
|
|
|
2023-03-20 14:51:13 +01:00
|
|
|
VITAGL_SRCREV="c52391378c2bf1a00a0194c4fd88c35492d104b8" # lock vitaGL version to avoid compilation errors
|
|
|
|
|
2023-03-08 19:12:05 +01:00
|
|
|
install_package()
|
|
|
|
{
|
2023-03-08 19:13:50 +01:00
|
|
|
./vdpm $1 || exit 1
|
2023-03-08 19:12:05 +01:00
|
|
|
}
|
|
|
|
|
2023-03-20 14:51:13 +01:00
|
|
|
git clone https://github.com/vitasdk/vdpm.git --depth=1 || exit 1
|
2023-02-26 01:04:58 +01:00
|
|
|
pushd vdpm
|
|
|
|
./bootstrap-vitasdk.sh || exit 1
|
2023-03-08 19:12:05 +01:00
|
|
|
install_package taihen
|
|
|
|
install_package kubridge
|
|
|
|
install_package zlib
|
|
|
|
install_package SceShaccCgExt
|
|
|
|
install_package vitaShaRK
|
|
|
|
install_package libmathneon
|
2023-02-26 01:04:58 +01:00
|
|
|
popd
|
|
|
|
|
|
|
|
echo "Downloading vitaGL..."
|
|
|
|
|
2023-03-21 02:32:37 +01:00
|
|
|
git clone https://github.com/Rinnegatamante/vitaGL.git || exit 1
|
|
|
|
pushd vitaGL
|
|
|
|
git checkout $VITAGL_SRCREV || exit 1
|
|
|
|
popd
|
2023-02-26 01:04:58 +01:00
|
|
|
|
|
|
|
echo "Downloading vitaGL fork of SDL2..."
|
|
|
|
|
2023-03-20 14:51:13 +01:00
|
|
|
git clone https://github.com/Northfear/SDL.git --depth=1 || exit 1
|
2023-02-26 01:04:58 +01:00
|
|
|
|
|
|
|
echo "Downloading vita-rtld..."
|
|
|
|
|
2023-03-20 14:51:13 +01:00
|
|
|
git clone https://github.com/fgsfdsfgs/vita-rtld.git --depth=1 || exit 1
|
2023-02-26 01:04:58 +01:00
|
|
|
|
|
|
|
echo "Downloading HLSDK..."
|
|
|
|
|
|
|
|
rm -rf hlsdk-xash3d hlsdk-portable
|
2023-03-20 14:51:13 +01:00
|
|
|
git clone --recursive https://github.com/FWGS/hlsdk-portable || exit 1
|