-
Notifications
You must be signed in to change notification settings - Fork 6
/
com.github.Anuken.Mindustry.yml
60 lines (51 loc) · 2.09 KB
/
com.github.Anuken.Mindustry.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
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
app-id: com.github.Anuken.Mindustry
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk17
command: mindustry.sh
finish-args:
- --socket=fallback-x11
- --socket=pulseaudio
- --device=dri
- --env=PATH=/usr/bin:/app/bin:/app/jre/bin
- --env=JAVA_HOME=/app/jre
- --share=network
- --filesystem=xdg-run/app/com.discordapp.Discord:create
- --filesystem=xdg-run/app/com.discordapp.DiscordCanary:create
build-options:
env:
JAVA_HOME: /usr/lib/sdk/openjdk17/
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk17/install.sh
# We don't have a gradle generator just yet, so we don't build from source
- name: mindustry-binary
buildsystem: simple
build-commands:
- install -D Mindustry.jar /app/bin/Mindustry.jar
- install -D mindustry.sh /app/bin/mindustry.sh
- install -D com.github.Anuken.Mindustry.desktop /app/share/applications/com.github.Anuken.Mindustry.desktop
- install -D com.github.Anuken.Mindustry.metainfo.xml /app/share/metainfo/com.github.Anuken.Mindustry.metainfo.xml
- install -D com.github.Anuken.Mindustry.png /app/share/icons/hicolor/512x512/apps/com.github.Anuken.Mindustry.png
sources:
- type: file
url: https://f-droid.org/repo/io.anuke.mindustry/en-US/icon_Eno3XvqCZUcHRm3eMjiUleAxgzLopPe6-hkI7BHx1lU=.png
dest-filename: com.github.Anuken.Mindustry.png
sha256: 127a375efa82654707466dde32389495e0318332e8a4f7bafa1908ec11f1d655
- type: file
path: com.github.Anuken.Mindustry.metainfo.xml
- type: file
path: com.github.Anuken.Mindustry.desktop
- type: file
path: mindustry.sh
- type: file
url: https://github.com/Anuken/Mindustry/releases/download/v146/Mindustry.jar
sha256: 3ab0e46c3cbdc863529ba05e804847ef00e3dbdb4567b5c27c5e6dce071b93f9
x-checker-data:
type: anitya
project-id: 147357
url-template: https://github.com/Anuken/Mindustry/releases/download/v$version/Mindustry.jar