-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcom.realm667.Wolfenstein_Blade_of_Agony.yaml
96 lines (93 loc) · 3.16 KB
/
com.realm667.Wolfenstein_Blade_of_Agony.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
app-id: com.realm667.Wolfenstein_Blade_of_Agony
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '23.08'
command: gzdoom
finish-args:
- --device=all # includes dri
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --socket=pulseaudio
- --env=DOOMWADDIR=/app/share/games/doom
- --persist=.config/gzdoom
cleanup:
- /include
- /lib/cmake
- /share/doc
modules:
- name: p7zip # required to assemble wolf_boa.ipk3
no-autogen: true
make-args:
- 7z
cleanup:
- '*'
sources:
- type: archive
url: https://github.com/jinfeihan57/p7zip/archive/refs/tags/v17.04.tar.gz
sha256: ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef
x-checker-data:
type: anitya
project-id: 2583
url-template: https://github.com/jinfeihan57/p7zip/archive/refs/tags/v$version.tar.gz
- type: shell
commands:
- sed -i 's|/usr/local|/app|g' makefile.common
- name: wolfenstein
buildsystem: simple
sources:
- type: git
url: https://github.com/Realm667/WolfenDoom.git
tag: v3.1
x-checker-data:
type: anitya
project-id: 155422
tag-template: v$version
# generated with 'convert boa.ico[0] -background none -flatten -resize 128 boa.png' from
# https://github.com/Realm667/WolfenDoom/blob/master/boa.ico
commit: fd2e51cd97360d10ceb73a172bdf7a6ce0c1aac8
- type: file
path: boa-64.png
- type: file
path: boa-128.png
- type: file
path: boa-256.png
build-commands:
- sed -i 's|$zipname|wolf_boa.ipk3|g' ./build.sh
- sed -i 's|then mv|then true|g' ./build.sh
- ./build.sh --release --no-update
- install -Dm 644 wolf_boa.ipk3 -t /app/share/games/doom/
- sed -i 's|/usr|/app|g' dist/com.realm667.Wolfenstein_Blade_of_Agony.desktop
- install -Dm 644 dist/com.realm667.Wolfenstein_Blade_of_Agony.desktop -t /app/share/applications/
- install -Dm 644 dist/com.realm667.Wolfenstein_Blade_of_Agony.metainfo.xml
-t /app/share/metainfo/
- |
for size in 64 128 256; do
install -Dm 644 boa-${size}.png /app/share/icons/hicolor/${size}x${size}/apps/com.realm667.Wolfenstein_Blade_of_Agony.png
done
- name: zmusic # build dependency of gzdoom
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: archive
url: https://github.com/coelckers/ZMusic/archive/refs/tags/1.1.12.tar.gz
sha256: da818594b395aa9174561a36362332b0ab8e7906d2e556ec47669326e67613d4
x-checker-data:
type: anitya
project-id: 153600
url-template: https://github.com/coelckers/ZMusic/archive/refs/tags/$version.tar.gz
- name: gzdoom
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
sources:
- type: git
url: https://github.com/coelckers/gzdoom.git
tag: g4.11.3
x-checker-data:
type: anitya
stable-only: true
project-id: 17531
tag-template: g$version
commit: 6ce809efe2902e43ceaa7031b875225d3a0367de