org.ppsspp.PPSSPP/org.ppsspp.PPSSPP.yml

60 lines
1.5 KiB
YAML
Raw Normal View History

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
2021-12-14 10:16:14 +00:00
- --socket=wayland
- --share=network
modules:
- shared-modules/glu/glu-9.json
- shared-modules/glew/glew.json
2021-12-14 10:16:14 +00:00
- name: ppsspp
2021-12-14 10:16:14 +00:00
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:
2021-12-14 10:16:14 +00:00
x86_64:
config-opts:
- '-DX86_64=ON'
aarch64:
2021-12-14 10:16:14 +00:00
config-opts:
- '-DUSING_EGL=ON'
- '-DUSING_GLES2=ON'
- '-DARM64=ON'
post-install:
2021-12-14 10:16:14 +00:00
- 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
2021-10-19 10:37:44 +00:00
tag: v1.12.3
2021-12-14 10:16:14 +00:00
- type: shell
commands:
2021-12-14 10:16:14 +00:00
# fix ffmpeg link issue on aarch64
- |
cd ffmpeg
git checkout 70bfd4a77487e56ef60b4adfc47f714cfea59794
2021-12-14 10:16:14 +00:00
- type: file
path: org.ppsspp.PPSSPP.appdata.xml