-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.github.neil_morrison44.pocket-sync.yaml
57 lines (56 loc) · 2.15 KB
/
io.github.neil_morrison44.pocket-sync.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
app-id: io.github.neil_morrison44.pocket-sync
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.node20
- org.freedesktop.Sdk.Extension.rust-stable
command: pocket-sync
rename-icon: pocket-sync
separate-locales: false
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --share=network
- --device=dri
- --filesystem=/run/media
modules:
- name: pocket-sync
buildsystem: simple
build-options:
append-path: /usr/lib/sdk/node20/bin:/usr/lib/sdk/rust-stable/bin
env:
npm_config_nodedir: /usr/lib/sdk/node20
npm_config_offline: 'true'
CARGO_HOME: /run/build/pocket-sync/cargo
sources:
- type: git
url: https://github.com/neil-morrison44/pocket-sync
tag: v5.3.0
x-checker-data:
type: git
commit: bff3105f120dcedbcd8a14459bc216f2ebaee8c3
# Generated with:
# npm i --package-lock-only
# .../flatpak-builder-tools/node/flatpak-node-generator.py npm package-lock.json
- node-sources.json
# Generated with .../flatpak-builder-tools/cargo/flatpak-cargo-generator.py src-tauri/Cargo.lock
- cargo-sources.json
- type: patch
path: 0001-Disable-Tauri-auto-updater.patch
- type: file
path: io.github.neil_morrison44.pocket-sync.appdata.xml
- type: file
path: io.github.neil_morrison44.pocket-sync.desktop
build-commands:
- npm ci --offline --cache=$FLATPAK_BUILDER_BUILDDIR/flatpak-node/npm-cache
- cargo --offline fetch --manifest-path src-tauri/Cargo.toml
- npm run --offline tauri build -- -b deb
- install -Dm755 -t /app/bin/ src-tauri/target/release/bundle/deb/*/data/usr/bin/*
- mkdir -p /app/share/icons/hicolor
- cp -r src-tauri/target/release/bundle/deb/*/data/usr/share/icons/hicolor/*
/app/share/icons/hicolor/
- mv /app/share/icons/hicolor/256x256@2/ /app/share/icons/hicolor/256x256/
- install -Dm644 -t /app/share/metainfo/ io.github.neil_morrison44.pocket-sync.appdata.xml
- install -Dm644 -t /app/share/applications/ io.github.neil_morrison44.pocket-sync.desktop