-
Notifications
You must be signed in to change notification settings - Fork 13
/
io.icestudio.icestudio.yaml
64 lines (64 loc) · 1.97 KB
/
io.icestudio.icestudio.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# TODO: add mimetypes?
# TODO: add icestorm module?
app-id: io.icestudio.icestudio
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '21.08'
command: icestudio
cleanup:
- /include
- /lib/pkgconfig
- '*.a'
- '*.la'
finish-args:
- --device=all
- --device=dri
- --filesystem=home
- --persist=.icestudio
- --share=ipc
- --share=network
- --socket=x11
- --system-talk-name=org.freedesktop.UPower
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.ScreenSaver
modules:
- name: icestudio
buildsystem: simple
build-commands:
- install -Dm755 -t /app/bin/
apply_extra icestudio
- |
install -Dm755 /dev/stdin /app/etc/ld.so.conf <<EOF
/app/extra/lib
EOF
- 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: icestudio.zip
url: https://github.com/FPGAwars/icestudio/releases/download/v0.7.0/icestudio-0.7.0-linux64.zip
sha256: 0cb123d806ad74231759ee5fd88d77846bf286cbc5323e04a409879fd569d23f
size: 189440230
x-checker-data:
type: anitya
project-id: 235208
stable-only: true
url-template: https://github.com/FPGAwars/icestudio/releases/download/v$version/icestudio-$version-linux64.zip
- type: script
dest-filename: apply_extra
commands:
- bsdtar -xf icestudio.zip
--strip-components=1
--exclude='icestudio-*-linux*/nacl*'
- rm -f icestudio.zip
- type: script
dest-filename: icestudio
commands:
- export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID
- exec /app/extra/icestudio "$@"
- type: file
path: io.icestudio.icestudio.desktop
- type: file
path: io.icestudio.icestudio.svg