forked from flathub/in.cinny.Cinny
-
Notifications
You must be signed in to change notification settings - Fork 1
/
in.cinny.Cinny.yml
80 lines (74 loc) · 2.48 KB
/
in.cinny.Cinny.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
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
id: in.cinny.Cinny
runtime: org.gnome.Platform
runtime-version: '42'
sdk: org.gnome.Sdk
command: cinny
rename-icon: cinny
sdk-extensions:
- org.freedesktop.Sdk.Extension.node16
- org.freedesktop.Sdk.Extension.rust-stable
finish-args:
- --socket=wayland
- --socket=fallback-x11
#- --socket=x11
- --socket=pulseaudio
- --share=ipc
- --share=network
- --filesystem=home
#- --filesystem=xdg-download
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.kde.StatusNotifierWatcher
- --filesystem=xdg-run/keyring
- --device=dri
build-options:
append-path: /usr/lib/sdk/node16/bin:/usr/lib/sdk/rust-stable/bin
modules:
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- name: libvips
cleanup:
- /*
sources:
- type: git
url: https://github.com/libvips/libvips
tag: v8.13.3
commit: c76d74be657ce8302f140cefc2b665682c83b023
x-checker-data:
type: git
tag-pattern: ^v((?:\d+.)*\d+)$
- name: Cinny
sources:
- type: git
url: https://github.com/cinnyapp/cinny-desktop.git
tag: v2.2.4
commit: 1c9e9ed1fa498e6f3bda82f78b6ff44806121619
x-checker-data:
type: git
tag-pattern: ^v((?:\d+.)*\d+)$
- type: patch
path: 0001-disable-tauri-updater.patch
- node-sources.json
- cargo-sources.json
- type: file
path: in.cinny.Cinny.desktop
- type: file
path: in.cinny.Cinny.appdata.xml
buildsystem: simple
build-options:
env:
CARGO_HOME: /run/build/Cinny/cargo
XDG_CACHE_HOME: /run/build/Cinny/flatpak-node/cache
npm_config_cache: /run/build/Cinny/flatpak-node/npm-cache
npm_config_offline: 'true'
npm_config_sharp_libvips_local_prebuilds: /run/build/Cinny/flatpak-node/libvips-cache
build-commands:
- for project in . cinny; do npm ci --offline --legacy-peer-deps --prefix=$project;
done
- cargo --offline fetch --manifest-path src-tauri/Cargo.toml
- npm run tauri build -- -b deb
- install -Dm644 -t /app/share/metainfo/ in.cinny.Cinny.appdata.xml
- 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/
- rm -rf /app/share/icons/hicolor/512x512@2x
- install -Dm644 -t /app/share/applications/ in.cinny.Cinny.desktop