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

63 lines
1.8 KiB
YAML
Raw Permalink Normal View History

app-id: org.ppsspp.PPSSPP
2024-07-23 14:26:39 +00:00
runtime: org.kde.Platform
runtime-version: "6.7"
sdk: org.kde.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
- --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
- --filesystem=xdg-run/gamescope-0:ro
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:
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
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
post-install:
2023-01-09 06:30:57 +00:00
- desktop-file-edit --set-name=PPSSPP ${FLATPAK_DEST}/share/applications/PPSSPPSDL.desktop
- install -Dm644 icons/icon-512.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/ppsspp.svg
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
cleanup:
- /share/ppsspp/assets/lang/README.md
sources:
- type: git
url: &ppsspp-url https://github.com/hrydgard/ppsspp.git
2024-02-04 13:54:27 +00:00
tag: v1.17.1
commit: d479b74ed9c3e321bc3735da29bc125a2ac3b9b2
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-12-14 10:16:14 +00:00
- type: file
path: org.ppsspp.PPSSPP.metainfo.xml