-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
80 lines (75 loc) · 2.18 KB
/
snapcraft.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name: faire-todo-app
base: core22
version: '0.0.3'
summary: An offline first, multiplatform todo app # 79 char long summary
description: |
Faire is an offline OpenSource multiplatform todo app, created with Tauri and Angular.
It stores the data using the IndexedDb of your platform's embedded web browser.
Faire is the infinitive verb in french equivalent to "to do".
grade: stable
confinement: strict
layout:
/usr/libexec/webkit2gtk-4.1:
symlink: $SNAP/usr/libexec/webkit2gtk-4.1
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1:
symlink: $SNAP/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1
/usr/lib/aarch64-linux-gnu/webkit2gtk-4.1:
symlink: $SNAP/usr/lib/aarch64-linux-gnu/webkit2gtk-4.1
/usr/lib/webkit2gtk-4.1/injected-bundle:
symlink: $SNAP/usr/lib/webkit2gtk-4.1/injected-bundle
apps:
faire-todo-app:
extensions:
- gnome
command: usr/bin/faire-todo-app
desktop: usr/share/applications/faire-todo-app.desktop
plugs:
- wayland
- x11
- home
- desktop
- unity7
- network
- network-bind
- network-status
package-repositories:
- type: apt
components: [main]
suites: [noble]
key-id: 78E1918602959B9C59103100F1831DDAFC42E99D
url: http://ppa.launchpad.net/snappy-dev/snapcraft-daily/ubuntu
parts:
build-app:
plugin: dump
build-snaps:
- node/20/stable
- rustup/latest/stable
build-packages:
- libwebkit2gtk-4.1-dev
- build-essential
- curl
- wget
- file
- libxdo-dev
- libssl-dev
- libayatana-appindicator3-dev
- librsvg2-dev
- dpkg
stage-packages:
- libwebkit2gtk-4.1-0
- libayatana-appindicator3-1
- libglu1-mesa
- freeglut3
source: .
override-build: |
set -eu
rustup default stable
npm install
npm run tauri build -- --bundles deb
dpkg -x src-tauri/target/release/bundle/deb/*.deb $SNAPCRAFT_PART_INSTALL/
sed -i -e "s|Icon=faire-todo-app|Icon=/usr/share/icons/hicolor/32x32/apps/faire-todo-app.png|g" $SNAPCRAFT_PART_INSTALL/usr/share/applications/faire-todo-app.desktop
slots:
dbus-daemon:
interface: dbus
bus: session
name: com.fairetodoapp