-
Notifications
You must be signed in to change notification settings - Fork 5
/
ch.protonmail.protonmail-bridge.yaml
62 lines (62 loc) · 2.28 KB
/
ch.protonmail.protonmail-bridge.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
id: ch.protonmail.protonmail-bridge
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '24.08'
command: protonmail-bridge
finish-args:
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --share=network
- --device=dri
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.StatusNotifierWatcher
modules:
- shared-modules/libsecret/libsecret.json
- name: krb5
subdir: src
config-opts:
- --localstatedir=/var/lib
- --sbindir=${FLATPAK_DEST}/bin
- --disable-stati
- --disable-rpath
cleanup:
- /bin
- /include
- /lib/pkgconfig
- /share/et
- /share/examples
- /share/ma
sources:
- type: archive
url: https://github.com/krb5/krb5/archive/refs/tags/krb5-1.21.3-final.tar.gz
sha256: 2157d92020d408ed63ebcd886a92d1346a1383b0f91123a0473b4f69b4a24861
- type: shell
dest: src
commands:
- autoreconf -si
- name: protonmail-bridge
buildsystem: simple
build-commands:
- install -Dp -m 644 ${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
- ar x protonmail-bridge.deb
- tar -xf data.tar.gz
- mv usr/lib/* /app/lib/
- install -Dp -m 644 usr/share/icons/hicolor/scalable/apps/protonmail-bridge.svg
/app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
- install -Dp -m 644 usr/share/applications/protonmail-bridge.desktop /app/share/applications/${FLATPAK_ID}.desktop
- desktop-file-edit --set-key="Icon" --set-value=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}.desktop
- desktop-file-edit --set-key="Categories" --set-value="Office;Email" /app/share/applications/${FLATPAK_ID}.desktop
- ln -s /app/lib/protonmail/bridge/proton-bridge /app/bin/protonmail-bridge
sources:
- type: file
dest-filename: protonmail-bridge.deb
url: https://proton.me/download/bridge/protonmail-bridge_3.15.0-1_amd64.deb
sha256: e90f58c35709816a5a001b65993b6e2e7bfab2a49c45760edf38d729a8d36392
x-checker-data:
type: json
url: https://proton.me/download/current_version_linux.json
version-query: .Version
url-query: .DebFile
- type: file
path: ch.protonmail.protonmail-bridge.metainfo.xml