forked from flathub/io.designer.GravitDesigner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.designer.GravitDesigner.yaml
56 lines (55 loc) · 1.81 KB
/
io.designer.GravitDesigner.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
app-id: io.designer.GravitDesigner
base: io.atom.electron.BaseApp
base-version: '19.08'
runtime: org.freedesktop.Platform
runtime-version: '19.08'
sdk: org.freedesktop.Sdk
command: gravit-designer
separate-locales: false
tags: [proprietary]
finish-args:
- --socket=x11
- --share=ipc
- --share=network
- --device=dri
- --filesystem=home
modules:
- name: gravit-designer
buildsystem: simple
build-commands:
- install -Dt /app/bin apply_extra gravit-designer
- install -Dm644 -t /app/share/metainfo io.designer.GravitDesigner.appdata.xml
- install -Dm644 -t /app/share/applications io.designer.GravitDesigner.desktop
- install -Dm644 -t /app/share/icons/hicolor/128x128/apps io.designer.GravitDesigner.png
sources:
- type: script
dest-filename: apply_extra
commands:
- mkdir _tmp
- mv *.gz _tmp
- cd _tmp
- gunzip *.gz
- unzip *.zip
- mv __appImage-x64 ../gravit-designer
- cd ..
- rm -rf _tmp
- chmod -R 755 gravit-designer
- type: script
dest-filename: gravit-designer
commands:
- exec /app/extra/gravit-designer/gravit-designer "$@"
- type: file
path: io.designer.GravitDesigner.desktop
- type: file
path: io.designer.GravitDesigner.png
- type: file
path: io.designer.GravitDesigner.appdata.xml
- type: extra-data
filename: GravitDesigner.zip.gz
url: https://designer.gravit.io/_downloads/linux/GravitDesigner.zip
sha256: de24591741b3a3077ef6848d7011a8d9bc011fbf62fb2d42920b3e7bbfa92ac4
size: 194659593
- type: shell
commands:
- sed -i '3i <releases><release version="2019-2.7" date="2019-10-10"/></releases>'
io.designer.GravitDesigner.appdata.xml