forked from flathub/org.ppsspp.PPSSPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.ppsspp.PPSSPP.yml
62 lines (58 loc) · 1.83 KB
/
org.ppsspp.PPSSPP.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
app-id: org.ppsspp.PPSSPP
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
- --socket=wayland
- --share=ipc
- --share=network
- --talk-name=org.freedesktop.ScreenSaver
- --env=SDL_VIDEO_X11_WMCLASS=org.ppsspp.PPSSPP
- --env=SDL_VIDEO_WAYLAND_WMCLASS=org.ppsspp.PPSSPP
# required for Gamescope on Steam Deck
- --filesystem=xdg-run/gamescope-0:ro
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_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:
- 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
tag: v1.17.1
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
- type: file
path: org.ppsspp.PPSSPP.metainfo.xml