This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
io.designer.GravitDesigner.yaml
63 lines (62 loc) · 2.25 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
57
58
59
60
61
62
63
app-id: io.designer.GravitDesigner
base: org.electronjs.Electron2.BaseApp
base-version: '21.08'
runtime: org.freedesktop.Platform
runtime-version: '21.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: unappimage
buildsystem: simple
build-commands:
- make -C squashfs-tools -j ${FLATPAK_BUILDER_N_JOBS} install INSTALL_DIR=/app/bin
sources:
- type: git
url: https://github.com/refi64/unappimage
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a
- name: gravit-designer
buildsystem: simple
build-commands:
- install -D apply_extra gravit-designer -t /app/bin
- install -Dm644 io.designer.GravitDesigner.appdata.xml -t /app/share/metainfo
- install -Dm644 io.designer.GravitDesigner.desktop -t /app/share/applications
- install -Dm644 io.designer.GravitDesigner.svg -t /app/share/icons/hicolor/scalable/apps
sources:
- type: script
dest-filename: apply_extra
commands:
- unzip GravitDesigner.zip
- rm GravitDesigner.zip
- unappimage GravitDesigner.AppImage
- rm GravitDesigner.AppImage
- mv squashfs-root gravit-designer
- type: script
dest-filename: gravit-designer
commands:
- zypak-wrapper /app/extra/gravit-designer/gravit-designer "$@"
- type: file
path: io.designer.GravitDesigner.desktop
- type: file
path: io.designer.GravitDesigner.svg
- type: file
path: io.designer.GravitDesigner.appdata.xml
- type: extra-data
filename: GravitDesigner.zip
url: https://app.corelvector.com:443/_downloads/linux/GravitDesigner.zip
sha256: ca94dce521f94c91dae0903b9947bd4a6b6238643badf65bb6224f44f0b3f368
size: 416466763
x-checker-data:
type: rotating-url
url: https://designer.gravit.io/_downloads/linux/GravitDesigner.zip
- type: shell
commands: # https://www.designer.io/en/changelog/
- sed -i '3i <releases><release version="2020-1.2.1" date="2020-05-12"/></releases>'
io.designer.GravitDesigner.appdata.xml