2019-09-09 22:05:07 +00:00
|
|
|
app-id: org.zdoom.GZDoom
|
2019-09-11 06:37:04 +00:00
|
|
|
runtime: org.freedesktop.Platform
|
|
|
|
sdk: org.freedesktop.Sdk
|
2023-09-26 06:37:11 +00:00
|
|
|
runtime-version: "23.08"
|
2019-09-09 22:05:07 +00:00
|
|
|
command: gzdoom.sh
|
|
|
|
|
|
|
|
finish-args:
|
2022-08-21 07:50:19 +00:00
|
|
|
- --device=dri
|
2022-09-02 15:11:44 +00:00
|
|
|
- --socket=wayland
|
|
|
|
- --socket=fallback-x11
|
2022-08-21 07:50:19 +00:00
|
|
|
- --share=ipc
|
|
|
|
- --share=network
|
|
|
|
- --socket=pulseaudio
|
2019-09-09 22:05:07 +00:00
|
|
|
|
2022-08-21 07:50:19 +00:00
|
|
|
# Based on GZDoom
|
|
|
|
# We redirect the original ~/.config/gzdoom
|
|
|
|
- --env=DOOMWADDIR=/app/share/games/doom
|
|
|
|
- --persist=.config/gzdoom
|
2023-06-14 15:23:39 +00:00
|
|
|
|
|
|
|
# Controller support on SteamDeck and such
|
|
|
|
- --device=all
|
2019-09-09 22:05:07 +00:00
|
|
|
|
2022-08-21 07:50:19 +00:00
|
|
|
# Simpler way of preventing KDE related errors
|
|
|
|
- --env=KDE_FULL_SESSION=false
|
2020-06-07 18:26:28 +00:00
|
|
|
|
2019-09-09 22:05:07 +00:00
|
|
|
cleanup:
|
2022-08-21 07:50:19 +00:00
|
|
|
- /app/include
|
|
|
|
- /app/lib/*.a
|
|
|
|
- /app/lib/*.la
|
|
|
|
- /app/lib/pkgconfig
|
2019-09-09 22:05:07 +00:00
|
|
|
|
|
|
|
modules:
|
|
|
|
|
2022-08-21 07:50:19 +00:00
|
|
|
- shared-modules/gzdoom/gzdoom.json
|
2019-09-09 22:05:07 +00:00
|
|
|
|
2022-08-21 07:50:19 +00:00
|
|
|
- name: launcher
|
|
|
|
buildsystem: simple
|
|
|
|
sources:
|
|
|
|
- type: script
|
|
|
|
commands:
|
2024-01-31 19:21:44 +00:00
|
|
|
- gzdoom +fluid_patchset /app/share/games/doom/soundfonts/gzdoom.sf2 "$@"
|
2022-08-21 07:50:19 +00:00
|
|
|
dest-filename: gzdoom.sh
|
|
|
|
- type: file
|
|
|
|
path: org.zdoom.GZDoom.desktop
|
|
|
|
- type: file
|
|
|
|
path: org.zdoom.GZDoom.appdata.xml
|
|
|
|
- type: file
|
|
|
|
path: org.zdoom.GZDoom.48.png
|
|
|
|
- type: file
|
|
|
|
path: org.zdoom.GZDoom.64.png
|
|
|
|
- type: file
|
|
|
|
path: org.zdoom.GZDoom.128.png
|
|
|
|
build-commands:
|
|
|
|
- install -D gzdoom.sh /app/bin/gzdoom.sh
|
|
|
|
- install -Dm 644 org.zdoom.GZDoom.desktop -t /app/share/applications
|
|
|
|
- install -Dm 644 org.zdoom.GZDoom.appdata.xml -t /app/share/metainfo
|
|
|
|
- install -Dm 644 org.zdoom.GZDoom.48.png /app/share/icons/hicolor/48x48/apps/org.zdoom.GZDoom.png
|
|
|
|
- install -Dm 644 org.zdoom.GZDoom.64.png /app/share/icons/hicolor/64x64/apps/org.zdoom.GZDoom.png
|
|
|
|
- install -Dm 644 org.zdoom.GZDoom.128.png /app/share/icons/hicolor/128x128/apps/org.zdoom.GZDoom.png
|