mirror of
https://github.com/RetroDECK/org.zdoom.GZDoom.git
synced 2024-11-27 16:15:39 +00:00
60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
app-id: org.zdoom.GZDoom
|
|
runtime: org.freedesktop.Platform
|
|
sdk: org.freedesktop.Sdk
|
|
runtime-version: "23.08"
|
|
command: gzdoom.sh
|
|
|
|
finish-args:
|
|
- --device=dri
|
|
- --socket=wayland
|
|
- --socket=fallback-x11
|
|
- --share=ipc
|
|
- --share=network
|
|
- --socket=pulseaudio
|
|
|
|
# Based on GZDoom
|
|
# We redirect the original ~/.config/gzdoom
|
|
- --env=DOOMWADDIR=/app/share/games/doom
|
|
- --persist=.config/gzdoom
|
|
|
|
# Controller support on SteamDeck and such
|
|
- --device=all
|
|
|
|
# Simpler way of preventing KDE related errors
|
|
- --env=KDE_FULL_SESSION=false
|
|
|
|
cleanup:
|
|
- /app/include
|
|
- /app/lib/*.a
|
|
- /app/lib/*.la
|
|
- /app/lib/pkgconfig
|
|
|
|
modules:
|
|
|
|
- shared-modules/gzdoom/gzdoom.json
|
|
|
|
- name: launcher
|
|
buildsystem: simple
|
|
sources:
|
|
- type: script
|
|
commands:
|
|
- exec gzdoom +fluid_patchset /app/share/games/doom/soundfonts/gzdoom.sf2 "$@"
|
|
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
|