org.zdoom.GZDoom/org.zdoom.GZDoom.yaml

70 lines
1.9 KiB
YAML
Raw Normal View History

2019-09-09 22:05:07 +00:00
app-id: org.zdoom.GZDoom
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
2020-09-01 15:57:10 +00:00
runtime-version: "20.08"
2019-09-09 22:05:07 +00:00
command: gzdoom.sh
finish-args:
- --device=dri
- --socket=wayland
- --socket=fallback-x11
- --socket=x11
- --share=ipc
- --share=network
2019-09-09 22:05:07 +00:00
- --socket=pulseaudio
2019-09-09 22:52:23 +00:00
# Based on GZDoom
# We redirect the original ~/.config/gzdoom
2019-09-09 22:05:07 +00:00
- --env=DOOMWADDIR=/app/share/games/doom
- --persist=.config/gzdoom
2019-09-09 22:05:07 +00:00
# Simpler way of preventing KDE related errors
- --env=KDE_FULL_SESSION=false
2019-09-09 22:05:07 +00:00
cleanup:
- /app/include
- /app/lib/*.a
- /app/lib/*.la
- /app/lib/pkgconfig
modules:
- shared-modules/linux-audio/libinstpatch.json
2020-10-30 20:48:10 +00:00
- shared-modules/linux-audio/fluidsynth2.json
2019-09-09 22:05:07 +00:00
2021-05-22 13:14:23 +00:00
- name: game-music-emu
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: archive
url: https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-0.6.3.tar.gz
sha256: 626e8a104e0dadd10ef6519a67aca880c7b40f81471659f1935b61754e12fc7b
2021-06-03 14:35:45 +00:00
- shared-modules/gzdoom/gzdoom.json
2019-09-09 22:05:07 +00:00
- name: launcher
buildsystem: simple
sources:
- type: script
commands:
2019-09-10 16:28:48 +00:00
- gzdoom +fluid_patchset /app/share/sounds/sf2/gzdoom.sf2 -file lights.pk3 brightmaps.pk3 "$@"
2019-09-09 22:05:07 +00:00
dest-filename: gzdoom.sh
- type: file
path: org.zdoom.GZDoom.desktop
- type: file
path: org.zdoom.GZDoom.appdata.xml
- type: file
2019-09-23 10:58:55 +00:00
path: org.zdoom.GZDoom.48.png
- type: file
path: org.zdoom.GZDoom.64.png
- type: file
path: org.zdoom.GZDoom.128.png
2019-09-09 22:05:07 +00:00
build-commands:
- install -D gzdoom.sh /app/bin/gzdoom.sh
- install -Dm 644 org.zdoom.GZDoom.desktop -t /app/share/applications
2019-09-10 16:05:53 +00:00
- install -Dm 644 org.zdoom.GZDoom.appdata.xml -t /app/share/metainfo
2019-09-23 10:58:55 +00:00
- 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