Add PSP host.

This commit is contained in:
2024-06-24 08:45:12 -05:00
parent 3bc2f0d372
commit 04be82f034
49 changed files with 514 additions and 295 deletions

View File

@ -1,5 +0,0 @@
#!/bin/bash
mkdir tools
cd tools
cmake .. -DDAWN_BUILD_TARGET=target-tools
make

View File

@ -1,2 +0,0 @@
#!/bin/bash
git submodule update --init --recursive

View File

@ -1,2 +0,0 @@
#!/bin/bash
sudo apt install build-essential

View File

@ -1,38 +0,0 @@
#!/bin/bash
sudo apt-get install cmake libarchive-tools
git clone https://github.com/vitasdk/vdpm ~/vdpm
cd ~/vdpm
./bootstrap-vitasdk.sh
export PATH=$VITASDK/bin:$PATH
git clone https://github.com/vitasdk/packages.git ~/vitapackages
cd ~/vitapackages
dir_array=(
zlib
bzip2
henkaku
taihen
kubridge
openal-soft
openssl
curl
curlpp
expat
opus
opusfile
glm
kuio
vitaShaRK
libmathneon
vitaGL
SceShaccCgExt
)
curdir=$(pwd)
for d in "${dir_array[@]}";do
echo "${curdir}${d}"
cd "${curdir}/${d}"
vita-makepkg
vdpm *-arm.tar.xz
done

3
ci/psp/Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM pspdev/pspdev
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN psp-pacman -Sy pspgl glm

14
ci/psp/docker-compose.yml Normal file
View File

@ -0,0 +1,14 @@
services:
dawn-psp:
build: .
volumes:
- ./../../:/Dawn
working_dir: /Dawn
command:
- /bin/bash
- -c
- |
mkdir -p ./build/psp
cd ./build/psp
psp-cmake ../.. -DDAWN_BUILD_SYSTEM=psp -DCMAKE_BUILD_TYPE=Debug
make

View File

@ -1,10 +0,0 @@
#!/bin/bash
mkdir -p vita/build
cd vita/build
if [ ! -d "src" ]
then
cmake ../.. -DDAWN_BUILD_TARGET=target-helloworld-vita -DCMAKE_BUILD_TYPE=Debug
fi
make
cp ./src/dawnvita/*.vpk ../
cd ../..

View File

@ -0,0 +1,15 @@
services:
dawn-vita:
image: gnuton/vitasdk-docker
volumes:
- ./../../:/Dawn
working_dir: /Dawn
command:
- /bin/bash
- -c
- |
rm -rf ./build/vita
mkdir -p ./build/vita
cd ./build/vita
cmake ../.. -DDAWN_BUILD_SYSTEM=vita -DCMAKE_BUILD_TYPE=Debug
make