2021-09-11 12:14:03 +00:00
|
|
|
app-id: org.ppsspp.PPSSPP
|
|
|
|
runtime: org.freedesktop.Platform
|
2023-09-08 20:28:59 +00:00
|
|
|
runtime-version: '23.08'
|
2021-09-11 12:14:03 +00:00
|
|
|
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
|
2022-01-11 10:46:35 +00:00
|
|
|
- --share=ipc
|
2021-09-11 12:14:03 +00:00
|
|
|
- --share=network
|
2022-08-14 17:08:14 +00:00
|
|
|
- --talk-name=org.freedesktop.ScreenSaver
|
2023-01-09 06:30:57 +00:00
|
|
|
- --env=SDL_VIDEO_X11_WMCLASS=org.ppsspp.PPSSPP
|
|
|
|
- --env=SDL_VIDEO_WAYLAND_WMCLASS=org.ppsspp.PPSSPP
|
2024-01-21 02:41:05 +00:00
|
|
|
# required for Gamescope on Steam Deck
|
|
|
|
- --env=PATH=/app/bin:/app/utils/bin:/usr/bin:/usr/lib/extensions/vulkan/gamescope/bin
|
|
|
|
- --env=LD_LIBRARY_PATH=/usr/lib/extensions/vulkan/gamescope/lib
|
|
|
|
- --filesystem=xdg-run/gamescope-0:ro
|
2021-09-11 12:14:03 +00:00
|
|
|
modules:
|
|
|
|
- shared-modules/glu/glu-9.json
|
|
|
|
- shared-modules/glew/glew.json
|
2021-12-14 10:16:14 +00:00
|
|
|
|
2021-09-11 12:14:03 +00:00
|
|
|
- name: ppsspp
|
2021-12-14 10:16:14 +00:00
|
|
|
buildsystem: cmake
|
|
|
|
config-opts:
|
2022-07-26 14:12:20 +00:00
|
|
|
- -DUSE_SYSTEM_FFMPEG=OFF
|
|
|
|
- -DUSE_SYSTEM_LIBZIP=ON
|
|
|
|
- -DUSE_SYSTEM_ZSTD=ON
|
2021-12-14 10:16:14 +00:00
|
|
|
|
2022-07-26 14:12:20 +00:00
|
|
|
- -DUSE_WAYLAND_WSI=ON
|
|
|
|
- -DUSING_QT_UI=OFF
|
2021-12-14 10:16:14 +00:00
|
|
|
|
2022-07-26 14:12:20 +00:00
|
|
|
- -DBUILD_TESTING=OFF
|
|
|
|
- -DOpenGL_GL_PREFERENCE=GLVND
|
2021-09-11 12:14:03 +00:00
|
|
|
build-options:
|
|
|
|
arch:
|
|
|
|
aarch64:
|
2021-12-14 10:16:14 +00:00
|
|
|
config-opts:
|
2022-07-26 14:12:20 +00:00
|
|
|
- -DUSING_EGL=ON
|
|
|
|
- -DUSING_GLES2=ON
|
2021-09-11 12:14:03 +00:00
|
|
|
post-install:
|
2023-01-09 06:30:57 +00:00
|
|
|
- desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
|
2022-09-27 20:22:22 +00:00
|
|
|
- install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ppsspp.svg
|
2022-01-12 18:42:24 +00:00
|
|
|
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
|
2022-09-27 20:22:22 +00:00
|
|
|
cleanup:
|
|
|
|
- /share/ppsspp/assets/lang/README.md
|
2021-09-11 12:14:03 +00:00
|
|
|
sources:
|
|
|
|
- type: git
|
2022-09-27 20:22:22 +00:00
|
|
|
url: &ppsspp-url https://github.com/hrydgard/ppsspp.git
|
2023-10-12 11:30:08 +00:00
|
|
|
tag: v1.16.6
|
|
|
|
commit: ba0ce344937d17e177ec8656ab957f6b82facdda
|
2021-12-14 10:21:21 +00:00
|
|
|
x-checker-data:
|
2023-09-15 17:20:31 +00:00
|
|
|
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
|
2021-09-11 12:14:03 +00:00
|
|
|
|
2021-12-14 10:16:14 +00:00
|
|
|
- type: file
|
2022-01-12 18:42:24 +00:00
|
|
|
path: org.ppsspp.PPSSPP.metainfo.xml
|