forked from CleverRaven/Cataclysm-DDA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.cataclysmdda.CataclysmDDA.yml
33 lines (32 loc) · 1.45 KB
/
org.cataclysmdda.CataclysmDDA.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
id: "org.cataclysmdda.CataclysmDDA"
runtime: "org.freedesktop.Platform"
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: cataclysm-tiles
finish-args:
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --device=dri
modules:
- name: cataclysm-tiles
buildsystem: simple
build-options:
env:
MAKE_ARGS: "PREFIX=/app LANGUAGES=all USE_XDG_DIR=1 TILES=1 SOUND=1 RELEASE=1 RUNTESTS=0 ASTYLE=0 LINTJSON=0"
build-commands:
- sed -i "/#WARNINGS = -w/c WARNINGS = -w" Makefile
- make -j $FLATPAK_BUILDER_N_JOBS $MAKE_ARGS
- make $MAKE_ARGS localization
- make $MAKE_ARGS install
- install -Dm644 data/xdg/org.cataclysmdda.CataclysmDDA.svg /app/share/icons/hicolor/scalable/apps/org.cataclysmdda.CataclysmDDA.svg
- install -Dm755 data/xdg/org.cataclysmdda.CataclysmDDA.desktop /app/share/applications/org.cataclysmdda.CataclysmDDA.desktop
- install -Dm644 org.cataclysmdda.CataclysmDDA.appdata.xml /app/share/metainfo/org.cataclysmdda.CataclysmDDA.appdata.xml
sources:
- type: git
url: https://github.com/CleverRaven/Cataclysm-DDA.git
commit: "3a1e04656d51c79af87b5505b1b3c37867378cce"
- type: file
url: https://raw.githubusercontent.com/CleverRaven/Cataclysm-DDA/dedfc2e5310b505a9728098d1b59777cb8b1e861/data/xdg/org.cataclysmdda.CataclysmDDA.appdata.xml
sha256: ca7bf1a3a0598729440aaae73111ffa3992121fa19f0e36d988eee22055db29e