forked from flathub/org.onlyoffice.desktopeditors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.onlyoffice.desktopeditors.json
104 lines (104 loc) · 5.53 KB
/
org.onlyoffice.desktopeditors.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
97
98
99
100
101
102
103
104
{
"app-id": "org.onlyoffice.desktopeditors",
"base": "io.atom.electron.BaseApp",
"base-version": "19.08",
"runtime": "org.freedesktop.Platform",
"runtime-version": "19.08",
"sdk": "org.freedesktop.Sdk",
"command": "desktopeditors",
"separate-locales": false,
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=wayland",
"--socket=pulseaudio",
"--share=network",
"--filesystem=xdg-pictures",
"--filesystem=xdg-desktop",
"--filesystem=xdg-videos",
"--filesystem=xdg-documents",
"--filesystem=xdg-download",
"--device=all"
],
"modules": [
{
"name": "desktopeditors",
"buildsystem": "simple",
"build-commands": [
"install -Dm755 desktop-editors /app/bin/desktopeditors",
"cp /usr/bin/ar /app/bin",
"mkdir -p /app/bin/opt/onlyoffice",
"mv desktopeditors /app/bin/opt/onlyoffice/desktopeditors",
"ARCH_TRIPLE=$(gcc --print-multiarch) && cp /usr/lib/${ARCH_TRIPLE}/libbfd-*.so /app/lib",
"install -Dm755 org.onlyoffice.desktopeditors.metainfo.xml /app/share/metainfo/org.onlyoffice.desktopeditors.metainfo.xml",
"mkdir -p /app/share/applications",
"sed 's|Icon=.*|Icon=org.onlyoffice.desktopeditors|; s|Exec=.*|Exec=desktopeditors|;' desktopeditors.desktop > /app/share/applications/org.onlyoffice.desktopeditors.desktop",
"echo 'StartupWMClass=onlyoffice' >> /app/share/applications/org.onlyoffice.desktopeditors.desktop",
"for icon_size in 16 24 32 48 64 128 256; do
install -Dm644 asc-de-${icon_size}.png /app/share/icons/hicolor/${icon_size}x${icon_size}/apps/org.onlyoffice.desktopeditors.png
done"
],
"sources": [
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/usr/share/applications/desktopeditors.desktop",
"sha256": "60fbe7e64e52b5cdb4b84cfdddcb7bc324f5563292c82af8542e29a3fd5f6629"
},
{
"type": "archive",
"url": "https://github.com/ONLYOFFICE/DesktopEditors/releases/download/ONLYOFFICE-DesktopEditors-5.5.1/onlyoffice-desktopeditors-x64.tar.gz",
"sha256": "0d1c0e5601592977e66e39dfa901532845408c5402f5e93f2f3875efacea52ce",
"strip-components": 0
},
{
"type": "script",
"dest-filename": "desktop-editors",
"commands": [
"export LD_LIBRARY_PATH=./:$LD_LIBRARY_PATH",
"cd /app/bin/opt/onlyoffice/desktopeditors/",
"exec ./DesktopEditors $@"
]
},
{
"type": "file",
"path": "org.onlyoffice.desktopeditors.metainfo.xml"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-16.png",
"sha256": "b3e4bb7e1118a9a3128dca37d5c55f82889b0da607cfd306933c3a4bc015e4f4"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-24.png",
"sha256": "29aa0a2606bb2b9ba3a589d1a4f2b97cba8e02b8dbae31cf27400d219859572b"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-32.png",
"sha256": "454075d3b8150e973f450c02ea47d0b1232c63d9dedc6ab16af3114636c4f78c"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-48.png",
"sha256": "040b9fd4d2fba976ed31eb0c6e1e8cd2e35a294c81fe334915bb18a6e8ba03e4"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-64.png",
"sha256": "a027e39d130fe9ef265be13a117769dc8e7542b9d57b477c46c0e3f8f831fa0d"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-128.png",
"sha256": "9691f9fb0c8df8d47a7b18b8634e5b0240c717300d7674b54b41cffb7931a45f"
},
{
"type": "file",
"url": "https://raw.githubusercontent.com/ONLYOFFICE/desktop-apps/master/win-linux/package/linux/common/onlyoffice/opt/onlyoffice/desktopeditors/asc-de-256.png",
"sha256": "05b7ef9d8fdf4f1cdaab58e3fc65002e2f7d55f295b9577bd4f9b2620db31b7e"
}
]
}
]
}