-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathio.github.yairm210.unciv.yaml
44 lines (43 loc) · 1.58 KB
/
io.github.yairm210.unciv.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
app-id: io.github.yairm210.unciv
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
sdk-extensions: [org.freedesktop.Sdk.Extension.openjdk21]
command: unciv
finish-args:
- --socket=x11
- --device=dri
- --socket=pulseaudio
- --share=network
- --share=ipc # Required due to x11
- --env=PATH=/app/bin:/app/jre/bin:/usr/bin
- --env=JAVA_HOME=/app/jre
modules:
- name: openjdk
buildsystem: simple
build-commands: [/usr/lib/sdk/openjdk21/install.sh]
- name: unciv
buildsystem: simple
build-commands:
- install -D unciv-wrapper.sh /app/bin/unciv
- install -D Unciv.jar /app/data/Unciv.jar
- install -Dm644 -t /app/share/metainfo io.github.yairm210.unciv.appdata.xml
- install -Dm644 -t /app/share/applications io.github.yairm210.unciv.desktop
- install -Dm644 -t /app/share/icons/hicolor/512x512/apps io.github.yairm210.unciv.png
sources:
- type: file
path: unciv-wrapper.sh
- type: file
path: io.github.yairm210.unciv.desktop
- type: file
path: io.github.yairm210.unciv.png
- type: file
path: io.github.yairm210.unciv.appdata.xml
- type: file
url: https://github.com/yairm210/Unciv/releases/download/4.15.3/Unciv.jar
sha256: bcea7a4e69032269547110133b5bd6a564b61a93474c7aba114f7047960d4e18
x-checker-data:
type: json
url: https://api.github.com/repos/yairm210/Unciv/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name=="Unciv.jar") | .browser_download_url