-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.ptitSeb.hydracastlelabyrinth.yml
40 lines (38 loc) · 1.64 KB
/
io.github.ptitSeb.hydracastlelabyrinth.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
app-id: io.github.ptitSeb.hydracastlelabyrinth
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: io.github.ptitSeb.hydracastlelabyrinth.sh
finish-args:
# hardware 3D and game controller support
- --device=all
# X11 access
- --share=ipc
- --socket=x11
# Audio
- --socket=pulseaudio
modules:
- name: hcl
sources:
- type: git
url: https://github.com/ptitSeb/hydracastlelabyrinth.git
commit: 229369c222f8604530f5e06f795b4505ef21d439
x-checker-data:
type: git
tag-pattern: ^v([\\d.]+)$
- type: patch
path: hcl-redirect_user_data.patch
- type: script
dest-filename: io.github.ptitSeb.hydracastlelabyrinth.sh
commands:
- cd /app
- ./hcl "$@"
buildsystem: cmake-ninja
config-opts:
- -DUSE_SDL2=ON
post-install:
- install -Dm755 io.github.ptitSeb.hydracastlelabyrinth.sh /app/bin/io.github.ptitSeb.hydracastlelabyrinth.sh
- desktop-file-edit --set-key=Exec --set-value="io.github.ptitSeb.hydracastlelabyrinth.sh" /app/share/applications/io.github.ptitSeb.hydracastlelabyrinth.desktop
- install -Dm644 io.github.ptitSeb.hydracastlelabyrinth.desktop /app/share/applications/io.github.ptitSeb.hydracastlelabyrinth-fullscreen.desktop
- desktop-file-edit --set-key=Name --set-value="Hydra Castle Labyrinth (Fullscreen)" /app/share/applications/io.github.ptitSeb.hydracastlelabyrinth-fullscreen.desktop
- desktop-file-edit --set-key=Exec --set-value="io.github.ptitSeb.hydracastlelabyrinth.sh -d" /app/share/applications/io.github.ptitSeb.hydracastlelabyrinth-fullscreen.desktop