2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 19:30:08 +01:00
xash3d-fwgs/scripts/gha/deps_psvita.sh

46 lines
1.0 KiB
Bash
Raw Normal View History

2023-02-26 01:04:58 +01:00
#!/bin/bash
cd $GITHUB_WORKSPACE
echo "Downloading vitasdk..."
export VITASDK=/usr/local/vitasdk
2023-06-25 16:41:26 +02:00
VITAGL_SRCREV="064db9efb15833e18777a3e768b8b1fb2abee78f" # lock vitaGL version to avoid compilation errors
install_package()
{
./vdpm $1 || exit 1
}
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
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..."
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..."
git clone https://github.com/Northfear/SDL.git --depth=1 || exit 1
2023-02-26 01:04:58 +01:00
echo "Downloading vita-rtld..."
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
git clone --recursive https://github.com/FWGS/hlsdk-portable || exit 1