-
Notifications
You must be signed in to change notification settings - Fork 13
/
com.github.hneemann.digital.yaml
49 lines (49 loc) · 1.61 KB
/
com.github.hneemann.digital.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
app-id: com.github.hneemann.digital
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk
command: digital
finish-args:
- --device=dri
- --env=PATH=/app/bin:/app/jre/bin:/usr/bin
- --filesystem=home
- --share=ipc
- --socket=x11
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk/install.sh
- name: digital
buildsystem: simple
build-commands:
- install -Dm755 apply_extra digital -t /app/bin/
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/
- install -Dm644 ${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/
sources:
- type: extra-data
filename: digital.zip
url: https://github.com/hneemann/Digital/releases/download/v0.28/Digital.zip
sha256: a96509442cc7b6697e66c1420b9e42f91325e20f9f34cc13cbfd92cb9b90c70d
x-checker-data:
type: anitya
project-id: 235219
stable-only: true
url-template: https://github.com/hneemann/Digital/releases/download/v$version/Digital.zip
size: 12235191
- type: script
dest-filename: apply_extra
commands:
- bsdtar -xf digital.zip --strip 1
- rm -f digital.zip *.{exe,txt} {Digital,install}.sh Windows_Read.me
- rm -rf docu
- type: script
dest-filename: digital
commands:
- java -jar /app/extra/Digital.jar
- type: file
path: com.github.hneemann.digital.desktop
- type: file
path: com.github.hneemann.digital.svg