-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.github.ransome1.sleek.yml
48 lines (48 loc) · 1.9 KB
/
com.github.ransome1.sleek.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
41
42
43
44
45
46
47
48
app-id: com.github.ransome1.sleek
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
command: sleek
finish-args:
- --share=ipc
- --socket=x11
- --device=dri
- --share=network
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.FileChooser
sdk-extensions:
- org.freedesktop.Sdk.Extension.node18
modules:
- name: sleek
build-options:
append-path: '/usr/lib/sdk/node18/bin:/app/yarn/bin'
env:
XDG_CACHE_HOME: /run/build/sleek/flatpak-node/cache
buildsystem: simple
build-commands:
- yarn --offline
- |
. flatpak-node/electron-builder-arch-args.sh
yarn run --offline dir -- $ELECTRON_BUILDER_ARCH_ARGS
- mv release/build/linux*-unpacked /app/sleek
- install -Dm755 sleek.sh /app/bin/sleek
- install -Dm644 assets/icons/128x128.png /app/share/icons/hicolor/128x128/apps/com.github.ransome1.sleek.png
- install -Dm644 assets/icons/256x256.png /app/share/icons/hicolor/256x256/apps/com.github.ransome1.sleek.png
- install -Dm644 assets/icons/512x512.png /app/share/icons/hicolor/512x512/apps/com.github.ransome1.sleek.png
- install -Dm644 flatpak/com.github.ransome1.sleek.desktop /app/share/applications/com.github.ransome1.sleek.desktop
- install -Dm644 flatpak/com.github.ransome1.sleek.appdata.xml /app/share/metainfo/com.github.ransome1.sleek.appdata.xml
sources:
- type: git
url: https://github.com/ransome1/sleek.git
commit: 6252fad240fed42be9c1759580908c4395569d5e
- type: inline
contents: |
yarn-offline-mirror /run/build/sleek/flatpak-node/yarn-mirror
dest-filename: .yarnrc
- generated-sources.json
- type: script
commands:
- exec env TMPDIR=$XDG_CACHE_HOME zypak-wrapper /app/sleek/sleek
dest-filename: sleek.sh