mirror of
https://github.com/RetroDECK/org.ppsspp.PPSSPP.git
synced 2024-11-22 13:45:38 +00:00
65 lines
1.6 KiB
YAML
65 lines
1.6 KiB
YAML
app-id: org.ppsspp.PPSSPP
|
|
runtime: org.freedesktop.Platform
|
|
runtime-version: '21.08'
|
|
sdk: org.freedesktop.Sdk
|
|
rename-icon: ppsspp
|
|
rename-desktop-file: PPSSPPSDL.desktop
|
|
command: PPSSPPSDL
|
|
finish-args:
|
|
- --device=all
|
|
- --filesystem=host:ro
|
|
- --socket=pulseaudio
|
|
- --socket=x11
|
|
- --socket=wayland
|
|
- --share=network
|
|
modules:
|
|
- shared-modules/glu/glu-9.json
|
|
- shared-modules/glew/glew.json
|
|
|
|
- name: ppsspp
|
|
buildsystem: cmake
|
|
config-opts:
|
|
- '-DUSE_SYSTEM_FFMPEG=OFF'
|
|
- '-DUSE_SYSTEM_LIBZIP=ON'
|
|
- '-DUSE_SYSTEM_ZSTD=ON'
|
|
#- '-DUSE_SYSTEM_SNAPPY=ON'
|
|
|
|
- '-DUSE_WAYLAND_WSI=ON'
|
|
- '-DUSING_X11_VULKAN=ON'
|
|
- '-DUSING_QT_UI=OFF'
|
|
|
|
- '-DBUILD_TESTING=OFF'
|
|
- '-DOpenGL_GL_PREFERENCE=GLVND'
|
|
build-options:
|
|
arch:
|
|
x86_64:
|
|
config-opts:
|
|
- '-DX86_64=ON'
|
|
aarch64:
|
|
config-opts:
|
|
- '-DUSING_EGL=ON'
|
|
- '-DUSING_GLES2=ON'
|
|
- '-DARM64=ON'
|
|
post-install:
|
|
- desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
|
|
- install -Dm644 ${FLATPAK_ID}.appdata.xml -t ${FLATPAK_DEST}/share/appdata
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/hrydgard/ppsspp.git
|
|
tag: v1.12.3
|
|
commit: ce0a45cf0fcdd5bebf32208b9998f68dfc1107b7
|
|
x-checker-data:
|
|
type: git
|
|
tag-pattern: "^v([\\d.]+)$"
|
|
is-main-source: true
|
|
|
|
- type: shell
|
|
commands:
|
|
# fix ffmpeg link issue on aarch64
|
|
- |
|
|
cd ffmpeg
|
|
git checkout 70bfd4a77487e56ef60b4adfc47f714cfea59794
|
|
|
|
- type: file
|
|
path: org.ppsspp.PPSSPP.appdata.xml
|