forked from flathub/de.uni_heidelberg.zah.GaiaSky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
de.uni_heidelberg.zah.GaiaSky.yaml
47 lines (45 loc) · 1.81 KB
/
de.uni_heidelberg.zah.GaiaSky.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
app-id: de.uni_heidelberg.zah.GaiaSky
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions: [org.freedesktop.Sdk.Extension.openjdk21]
command: gaiasky
finish-args:
- --socket=x11
- --device=all
- --socket=pulseaudio
- --share=ipc
- --share=network
- --env=PATH=/app/bin:/app/jre/bin:/usr/bin
- --env=JAVA_HOME=/app/jre
modules:
- pypi-dependencies.yaml
- name: openjdk
buildsystem: simple
build-commands: [/usr/lib/sdk/openjdk21/install.sh]
- name: gaiasky
buildsystem: simple
build-commands:
- mkdir -p /app/bin/bookmarks/ /app/bin/conf/ /app/bin/i18n/ /app/bin/icon/ /app/bin/lib/ /app/bin/mappings/ /app/bin/music/ /app/bin/scripts/
- cp -R bookmarks/* /app/bin/bookmarks/
- cp -R conf/* /app/bin/conf/
- cp -R i18n/* /app/bin/i18n/
- cp -R lib/* /app/bin/lib/
- cp -R mappings/* /app/bin/mappings/
- cp -R scripts/* /app/bin/scripts/
- mkdir -p /app/bin/extra
- cp -R extra/* /app/bin/extra/optflowcam/
- rm /app/bin/lib/*-macos.jar
- rm /app/bin/lib/*-windows.jar
- install -D gs_icon.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -D gaiasky /app/bin/gaiasky
- install -D de.uni_heidelberg.zah.GaiaSky.desktop /app/share/applications/${FLATPAK_ID}.desktop
- install -D de.uni_heidelberg.zah.GaiaSky.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
sources:
- type: archive
url: https://gaia.ari.uni-heidelberg.de/gaiasky/releases/3.6.4-2.3bfeec0f9/gaiasky-3.6.4-2.3bfeec0f9.tar.gz
sha256: 960110fbdcdab407cd7165eb06cad88ce1cb4c5e919c09d4573af7621e80fba3
- type: file
path: de.uni_heidelberg.zah.GaiaSky.desktop
- type: file
path: de.uni_heidelberg.zah.GaiaSky.metainfo.xml