forked from flathub/com.sciactive.QuickDAV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcom.sciactive.QuickDAV.yml
More file actions
58 lines (58 loc) · 2.13 KB
/
com.sciactive.QuickDAV.yml
File metadata and controls
58 lines (58 loc) · 2.13 KB
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
id: com.sciactive.QuickDAV
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: "24.08"
sdk-extensions:
- org.freedesktop.Sdk.Extension.node22
command: run.sh
finish-args:
- --share=ipc
- --socket=x11
- --share=network
# Needed for game controller support in SteamOS.
- --device=all
- --filesystem=/run/udev:ro # overkill, but necessary: https://github.com/flathub/org.chromium.Chromium/issues/40
# Needed for sharing files.
- --filesystem=home
# Needed for sharing SD cards and other removable media.
- --filesystem=/media
- --filesystem=/run/media
- --filesystem=/mnt
build-options:
append-path: /usr/lib/sdk/node22/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: quickdav
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/quickdav/flatpak-node/cache
npm_config_cache: /run/build/quickdav/flatpak-node/npm-cache
npm_config_nodedir: /usr/lib/sdk/node22
npm_config_offline: "true"
build-commands:
- bash build-flatpak.sh
- cp -a source/dist/linux*unpacked /app/main
# Install app wrapper
- install -Dm755 -t /app/bin/ ./run.sh
- install -D -m644 -t /app/share/applications ./source/com.sciactive.QuickDAV.desktop
- install -D -m644 -t /app/share/metainfo ./source/com.sciactive.QuickDAV.metainfo.xml
- install -D -m644 -T ./source/app/assets/icons/png/512x512.png /app/share/icons/hicolor/512x512/apps/com.sciactive.QuickDAV.png
- install -D -m644 -T ./source/appicon.svg /app/share/icons/hicolor/scalable/apps/com.sciactive.QuickDAV.svg
sources:
- generated-sources.json
- type: git
url: https://github.com/sciactive/quickdav.git
commit: a976237f431fb155f951046d2350b5155bd632eb
dest: source
- type: file
path: build-flatpak.sh
# Wrapper to launch the app
- type: script
dest-filename: run.sh
commands:
# Set AUTOUPDATE to off to prevent Electron Updater from being called.
- AUTOUPDATE="off" zypak-wrapper.sh /app/main/quickdav "$@"