-
Notifications
You must be signed in to change notification settings - Fork 1
/
com.github.vikdevelop.photopea_app.yml
40 lines (40 loc) · 1.4 KB
/
com.github.vikdevelop.photopea_app.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
app-id: com.github.vikdevelop.photopea_app
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: "23.08"
command: photopea.sh
sdk-extensions:
- org.freedesktop.Sdk.Extension.node18
finish-args:
- --share=ipc
- --socket=x11
- --share=network
- --filesystem=xdg-download
- --device=dri
build-options:
append-path: /usr/lib/sdk/node18/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: photopea_app
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/photopea/flatpak-node/cache
build-commands:
- install -D -t /app/bin photopea.sh
- mkdir /app/main
- cp -R * /app/main
- install -Dm755 -t /app/share/applications resources/app/com.github.vikdevelop.photopea_app.desktop
- install -Dm644 -t /app/share/icons/hicolor/128x128/apps/ resources/app/data/icons/com.github.vikdevelop.photopea_app.png
- install -Dm644 -t /app/share/metainfo resources/app/data/com.github.vikdevelop.photopea_app.metainfo.xml
sources:
- type: archive
url: https://github.com/vikdevelop/photopea_app/releases/download/2.3.7/photopea_build-electron-237.tar.xz
sha256: 6005d7ff34c3d485c8cf5c317a7c24aedc682f0afddaadb97f90f09429919f46
- type: script
dest-filename: photopea.sh
commands:
- zypak-wrapper.sh /app/main/photopea "$@"