-
Notifications
You must be signed in to change notification settings - Fork 6
/
in.cinny.Cinny.yml
130 lines (121 loc) · 4.02 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
id: in.cinny.Cinny
runtime: org.gnome.Platform
runtime-version: '46'
sdk: org.gnome.Sdk
command: cinny
rename-icon: cinny
sdk-extensions:
- org.freedesktop.Sdk.Extension.node20
- 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/node20/bin:/usr/lib/sdk/rust-stable/bin
modules:
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- name: webkit2gtk-4.0
sources:
- type: archive
url: https://webkitgtk.org/releases/webkitgtk-2.46.1.tar.xz
sha256: 2a14faac359aff941d0bc4443eb5537e3702bcaf316b0a129e0e65f3ff8eaac0
x-checker-data:
type: html
url: https://webkitgtk.org/releases/
version-pattern: LATEST-STABLE-(\d[\.\d]+\d)
url-template: https://webkitgtk.org/releases/webkitgtk-$version.tar.xz
buildsystem: cmake-ninja
config-opts:
- -DPORT=GTK
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DENABLE_DOCUMENTATION=OFF
- -DENABLE_MINIBROWSER=OFF
- -DENABLE_WEBDRIVER=OFF
- -DENABLE_GAMEPAD=OFF
- -DUSE_LIBBACKTRACE=OFF
- -DUSE_GTK4=OFF
- -DUSE_SOUP2=ON
- -DENABLE_BUBBLEWRAP_SANDBOX=OFF
modules:
- shared-modules/libsoup/libsoup-2.4.json
- name: unifdef
no-autogen: true
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz
sha256: 43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400
cleanup:
- '*'
- name: libjxl
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF
sources:
- type: git
url: https://github.com/libjxl/libjxl.git
tag: v0.11.0
commit: 4df1e9eccdf86b8df4c0c7c08f529263906f9c4f
disable-shallow-clone: true
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: libvips
cleanup:
- /*
sources:
- type: git
url: https://github.com/libvips/libvips
tag: v8.15.4
commit: 5efd31c383786422ce64d73a94499d5d2ab3c33d
x-checker-data:
type: git
tag-pattern: ^v((?:\d+.)*\d+)$
buildsystem: meson
- name: Cinny
sources:
- type: git
url: https://github.com/cinnyapp/cinny-desktop.git
tag: v4.2.2
commit: 792837b02b08c8ed0ca055025be4d350c879ce4b
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
NODE_OPTIONS: --max_old_space_size=4096
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 none
- install -Dm644 -t /app/share/metainfo/ in.cinny.Cinny.appdata.xml
- install -Dm755 -t /app/bin/ src-tauri/target/release/cinny
- install -Dm755 -t /app/share/icons/hicolor/scalable/apps/ cinny/public/res/svg/cinny.svg
- install -Dm644 -t /app/share/applications/ in.cinny.Cinny.desktop