PPSSPP: outsourced

This commit is contained in:
XargonWan 2024-07-20 22:24:03 +09:00
parent 2ff8722ee1
commit 7437854655
2 changed files with 13 additions and 40 deletions

View file

@ -15,4 +15,6 @@ outside_file^VERSIONPLACEHOLDER^${GITHUB_WORKSPACE}/buildid
branch^THISBRANCH branch^THISBRANCH
url^RETRODECKESDEURLPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz" url^RETRODECKESDEURLPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"
hash^RETRODECKESDEPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz" hash^RETRODECKESDEPLACEHOLDER^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/ES-DE/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"
hash^RASHAPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch.7z hash^RASHAPLACEHOLDER^https://buildbot.libretro.com/nightly/linux/x86_64/RetroArch.7z
url^RDPPSSPPURL^"https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"
hash^RDPPSSPPHASH^https://github.com/RetroDECK/ES-DE/releases/download/$(curl -s https://api.github.com/repos/RetroDECK/org.ppsspp.PPSSPP/releases/latest | grep -oP '"tag_name": "\K(.*?)(?=")')/RetroDECK-ES-DE-Artifact.tar.gz"

View file

@ -444,47 +444,18 @@ modules:
strip-components: 0 strip-components: 0
# PPSSPP - START # PPSSPP - START
# why from source: AppImage not provided, only Flatpak # why from our artifacts: AppImage not provided, only Flatpak, requested here: https://github.com/hrydgard/ppsspp/issues/16511
# https://github.com/flathub/org.ppsspp.PPSSPP # https://github.com/RetroDECK/org.ppsspp.PPSSPP
# not part of the original manifest but needed as PPSSPP got a different framework with different SDL, earlier RetroArch manifest was providing it but now it's from AppImage - name: retrodeck-ppsspp
- rd-submodules/shared-modules/SDL/SDL-1.2.15.json buildsystem: simple
- rd-submodules/shared-modules/SDL/SDL_image-1.2.12.json build-commands:
- rd-submodules/shared-modules/SDL/SDL_mixer-1.2.12.json - cp -r files/** "${FLATPAK_DEST}"
- rd-submodules/shared-modules/SDL/SDL_net-1.2.8.json - chmod +x "${FLATPAK_DEST}/bin/"*
- rd-submodules/shared-modules/SDL/SDL_ttf-2.0.11.json
- name: ppsspp
buildsystem: cmake-ninja
config-opts:
- -DUSE_SYSTEM_FFMPEG=OFF
- -DUSE_SYSTEM_LIBZIP=ON
- -DUSE_SYSTEM_ZSTD=ON
- -DUSE_WAYLAND_WSI=ON
- -DUSING_QT_UI=OFF
- -DBUILD_TESTING=OFF
- -DOpenGL_GL_PREFERENCE=GLVND
build-options:
arch:
aarch64:
config-opts:
- -DUSING_EGL=ON
- -DUSING_GLES2=ON
post-install:
- install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ppsspp.svg
cleanup:
- /share/ppsspp/assets/lang/README.md
sources: sources:
- type: git - type: archive
url: &ppsspp-url https://github.com/hrydgard/ppsspp.git url: RDPPSSPPURL
tag: v1.17.1 sha256: RDPPSSPPHASH
commit: d479b74ed9c3e321bc3735da29bc125a2ac3b9b2
x-checker-data:
type: json
url: https://api.github.com/repos/hrydgard/ppsspp/releases/latest
version-query: .tag_name | sub("^v"; "")
tag-query: .tag_name
timestamp-query: .published_at
# PPSSPP - END # PPSSPP - END