-
Notifications
You must be signed in to change notification settings - Fork 2
/
org.signal.Desktop.json
96 lines (96 loc) · 3.37 KB
/
org.signal.Desktop.json
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
{
"app-id": "org.signal.Desktop",
"base": "io.atom.electron.BaseApp",
"base-version": "master",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "signal-desktop",
"tags": ["nightly"],
"desktop-file-name-prefix": "(Flatpak) ",
"rename-desktop-file": "signal-desktop.desktop",
"rename-icon": "signal-desktop",
"separate-locales": false,
"finish-args": [
"--device=dri",
"--share=ipc",
"--share=network",
"--socket=pulseaudio",
"--socket=x11",
"--socket=wayland",
"--talk-name=org.freedesktop.secrets",
"--talk-name=org.freedesktop.Notifications"
],
"modules": [
{
"name": "signal",
"buildsystem": "simple",
"build-commands": [
"ar x signal.deb",
"tar xvf data.tar.xz",
"mkdir -p /app/share/signal",
"cp -rvf ./opt/Signal/* /app/share/signal",
"cp -rvf ./usr/* /app",
"install -Dm744 signal-desktop /app/bin",
"desktop-file-edit --set-icon=org.signal.Desktop /app/share/applications/signal-desktop.desktop",
"desktop-file-edit --set-key=Exec --set-value='/app/bin/signal-desktop %F' /app/share/applications/signal-desktop.desktop"
],
"sources": [
{
"type": "file",
"url": "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_1.0.35_amd64.deb",
"sha256": "d9f9d4d54f4121efc8eadf1cf0ff957828088b313e53b66dc540b851c44c1860",
"dest-filename": "signal.deb"
},
{
"type": "script",
"dest-filename": "signal-desktop",
"commands": [
"exec /app/share/signal/signal-desktop \"$@\""
]
}
],
"modules": [
{
"name": "libsecret",
"config-opts": [
"--disable-manpages",
"--disable-gtk-doc",
"--disable-static",
"--disable-introspection"
],
"cleanup": [
"/bin",
"/include",
"/lib/pkgconfig",
"/share/gtk-doc",
"*.la"
],
"sources": [
{
"type": "archive",
"url": "http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/libsecret-0.18.5.tar.xz",
"sha256": "9ce7bd8dd5831f2786c935d82638ac428fa085057cc6780aba0e39375887ccb3"
},
{
"type": "shell",
"commands": ["autoreconf -f"]
}
]
},
{
"name": "xkbfile",
"cleanup": ["/include", "/lib/*.la", "/lib/pkgconfig"],
"config-opts": ["--disable-static"],
"sources": [
{
"type": "archive",
"url": "https://www.x.org/releases/individual/lib/libxkbfile-1.0.9.tar.bz2",
"sha256": "51817e0530961975d9513b773960b4edd275f7d5c72293d5a151ed4f42aeb16a"
}
]
}
]
}
]
}