-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.yaml
45 lines (45 loc) · 1.57 KB
/
manifest.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
app-id: com.github.vikdevelop.penpot-electron
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: "21.08"
command: penpot-electron.sh
sdk-extensions:
- org.freedesktop.Sdk.Extension.node16
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --filesystem=xdg-download
- --device=dri
build-options:
append-path: /usr/lib/sdk/node16/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: penpot
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/penpot-electron/flatpak-node/cache
build-args:
- --share=network
build-commands:
- yarn
- mkdir penpot
- yarn electron-packager ./ penpot --platform=linux --arch=x64 --electron-version=15.4.1 --out=penpot/
- mkdir /app/main
- cp -R penpot/penpot-linux-x64/* /app/main
- install -D -t /app/bin penpot-electron.sh
- install -D -t /app/share/applications flatpak/com.github.vikdevelop.penpot-electron.desktop
- install -D -t /app/share/metainfo flatpak/com.github.vikdevelop.penpot-electron.metainfo.xml
- install -D -t /app/share/icons/hicolor/128x128/apps flatpak/icons/com.github.vikdevelop.penpot-electron_i.png
sources:
- type: archive
url: https://github.com/vikdevelop/penpot-electron/archive/refs/tags/0.2.3.tar.gz
sha256: d7f03976aaf84ae92683ed98e48eb05dbe1787f5bfd35241f302db52973096a2
- type: script
dest-filename: penpot-electron.sh
commands:
- zypak-wrapper.sh /app/main/penpot "$@"