-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathio.github.nest_desktop.nest-desktop.yml
56 lines (56 loc) · 2.16 KB
/
io.github.nest_desktop.nest-desktop.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
id: io.github.nest_desktop.nest-desktop
runtime: org.freedesktop.Platform
runtime-version: "24.08"
base: org.electronjs.Electron2.BaseApp
base-version: "24.08"
sdk: org.freedesktop.Sdk
command: nest-desktop-launch
separate-locales: false
rename-icon: nest-desktop
rename-desktop-file: nest-desktop.desktop
rename-appdata-file: nest-desktop.metainfo.xml
finish-args:
# X Rendering
- --socket=x11
- --share=ipc
# Open GL
- --device=dri
# Audio output
- --socket=pulseaudio
# Read/write home directory access
- --filesystem=home
# Allow communication with network
- --share=network
modules:
- name: nest-desktop
buildsystem: simple
sources:
- type: git
url: https://github.com/nest-desktop/nest-desktop
commit: 8ecc0d9e73939c56fb436c39a1b3bb33077c7804
- type: file
url: https://github.com/nest-desktop/nest-desktop-electron/releases/download/v4.0.4/nest-desktop-4.0.4.tar.gz
sha256: 3dfc8e5f57db78b646c092c9678a9153d800987ebbce0189e0c69abd2ed6eaf7
dest-filename: nest-desktop.tar.gz
- type: script
dest-filename: run.sh
commands:
- exec zypak-wrapper.sh /app/main/nest-desktop "$@"
build-commands:
- tar -zxf nest-desktop.tar.gz -C ${FLATPAK_DEST}
- mv ${FLATPAK_DEST}/nest-desktop* ${FLATPAK_DEST}/main
- install -Dm0755 run.sh "${FLATPAK_DEST}/bin/nest-desktop"
- install -Dm0755 scripts/nest-desktop-launch "${FLATPAK_DEST}/bin/nest-desktop-launch"
- install -Dm644 icons/icon-256x256.png /app/share/icons/hicolor/256x256/apps/nest-desktop.png
- install -Dm644 icons/icon-512x512.png /app/share/icons/hicolor/512x512/apps/nest-desktop.png
- install -Dm644 nest-desktop.metainfo.xml ${FLATPAK_DEST}/share/metainfo/nest-desktop.metainfo.xml
- install -Dm0755 nest-desktop.desktop "${FLATPAK_DEST}/share/applications/nest-desktop.desktop"
- modules/python3-requirements_pynest.json
- modules/python3-requirements_nest_server.json
- name: nest-simulator
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/nest/nest-simulator
tag: v3.8
commit: 6dca9500e512da50fa730a7b62ce4b05c77e2bfd