org.gajim.Gajim.json 13.5 KB
Newer Older
André's avatar
André committed
1
2
3
{
    "app-id": "org.gajim.Gajim",
    "runtime": "org.gnome.Platform",
André's avatar
André committed
4
    "runtime-version": "3.28",
André's avatar
André committed
5
6
7
8
9
10
    "sdk": "org.gnome.Sdk",
    "command": "gajim",
    "tags": ["nightly"],
    "desktop-file-name-prefix": "(Nightly) ",
    "finish-args": [
        "--share=ipc",
André's avatar
André committed
11
        "--share=network",
André's avatar
André committed
12
13
        "--socket=x11",
        "--socket=wayland",
André's avatar
André committed
14
        "--socket=pulseaudio",
André's avatar
André committed
15
16
17
18
19
20
21
22
23
24
        "--system-talk-name=org.freedesktop.GeoClue2",
        "--system-talk-name=org.freedesktop.login1",
        "--talk-name=org.gnome.ScreenSaver",
        "--talk-name=org.mpris.MediaPlayer2.*",
        /* Keyring */
        "--talk-name=org.freedesktop.secrets",
        /* dconf */
        "--filesystem=xdg-run/dconf",
        "--filesystem=~/.config/dconf:ro",
        "--talk-name=ca.desrt.dconf",
André's avatar
André committed
25
26
27
        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
        /* extensions */
        "--env=PYTHONPATH=/app/plugins/lib/python3.5/site-packages"
André's avatar
André committed
28
    ],
André's avatar
André committed
29
30
31
32
33
34
35
36
37
    "add-extensions": {
        "org.gajim.Gajim.Plugin": {
            "directory": "plugins",
            "merge-dirs": "lib/python3.5/site-packages",
            "subdirectories": true,
            "no-autodownload": true,
            "autodelete": true
        }
    },
André's avatar
André committed
38
    "build-options": {
André's avatar
André committed
39
        "cflags": "-O2 -g",
André's avatar
André committed
40
        "cxxflags": "-O2 -g"
André's avatar
André committed
41
42
    },
    "cleanup": [
André's avatar
André committed
43
        "/bin/easy*",
André's avatar
André committed
44
45
46
        "/include",
        "/lib/debug",
        "/lib/pkgconfig",
André's avatar
André committed
47
        "/lib/python2.7",
André's avatar
André committed
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
        "/share/aclocal",
        "/share/doc",
        "/share/man",
        "*.a",
        "*.la"
    ],
    "modules": [
        {
            "name": "python3-pycparser",
            "buildsystem": "simple",
            "build-commands": [
                "python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://pypi.python.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz",
                    "sha256": "99a8ca03e29851d96616ad0404b4aad7d9ee16f25c9f9708a11faf2810f7b226"
                }
            ]
        },
        {
            "name": "python3-cffi",
            "buildsystem": "simple",
            "build-commands": [
                "python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "archive",
André's avatar
André committed
78
79
                    "url": "https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz",
                    "sha256": "e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4"
André's avatar
André committed
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
                }
            ]
        },
        {
            "name": "python3-six",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app six-1.11.0-py2.py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://pypi.python.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl",
                    "sha256": "832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb"
                }
            ]
        },
        {
            "name": "python3-pyparsing",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app pyparsing-2.2.0-py2.py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://pypi.python.org/packages/6a/8a/718fd7d3458f9fab8e67186b00abdd345b639976bc7fb3ae722e1b026a50/pyparsing-2.2.0-py2.py3-none-any.whl",
                    "sha256": "fee43f17a9c4087e7ed1605bd6df994c6173c1e977d7ade7b651292fab2bd010"
                }
            ]
        },
        {
            "name": "python3-packaging",
            "buildsystem": "simple",
            "build-commands": [
André's avatar
André committed
115
                "pip3 install --prefix=/app packaging-17.1-py2.py3-none-any.whl"
André's avatar
André committed
116
117
118
119
            ],
            "sources": [
                {
                    "type": "file",
André's avatar
André committed
120
121
                    "url": "https://files.pythonhosted.org/packages/ad/c2/b500ea05d5f9f361a562f089fc91f77ed3b4783e13a08a3daf82069b1224/packaging-17.1-py2.py3-none-any.whl",
                    "sha256": "e9215d2d2535d3ae866c3d6efc77d5b24a0192cce0ff20e42896cc0664f889c0"
André's avatar
André committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
                }
            ]
        },
        {
            "name": "python3-appdirs",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app appdirs-1.4.3-py2.py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://pypi.python.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl",
                    "sha256": "d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e"
                }
            ]
        },
        {
            "name": "python3-setuptools",
            "ensure-writable": [
                "easy-install.pth",
                "setuptools.pth"
            ],
            "buildsystem": "simple",
            "build-commands": [
                "python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "archive",
André's avatar
André committed
152
153
                    "url": "https://files.pythonhosted.org/packages/d3/3e/1d74cdcb393b68ab9ee18d78c11ae6df8447099f55fe86ee842f9c5b166c/setuptools-40.0.0.zip",
                    "sha256": "012adb8e25fbfd64c652e99e7bab58799a3aaf05d39ab38561f69190a909015f"
André's avatar
André committed
154
155
156
157
158
159
160
                }
            ]
        },
        {
            "name": "python3-asn1crypto",
            "buildsystem": "simple",
            "build-commands": [
André's avatar
André committed
161
                "pip3 install --prefix=/app asn1crypto-0.24.0-py2.py3-none-any.whl"
André's avatar
André committed
162
163
164
165
            ],
            "sources": [
                {
                    "type": "file",
André's avatar
André committed
166
167
                    "url": "https://pypi.python.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl",
                    "sha256": "2f1adbb7546ed199e3c90ef23ec95c5cf3585bac7d11fb7eb562a3fe89c64e87"
André's avatar
André committed
168
169
170
171
172
173
174
                }
            ]
        },
        {
            "name": "python3-idna",
            "buildsystem": "simple",
            "build-commands": [
André's avatar
André committed
175
                "pip3 install --prefix=/app idna-2.7-py2.py3-none-any.whl"
André's avatar
André committed
176
177
178
179
            ],
            "sources": [
                {
                    "type": "file",
André's avatar
André committed
180
181
                    "url": "https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl",
                    "sha256": "156a6814fb5ac1fc6850fb002e0852d56c0c8d2531923a51032d1b70760e186e"
André's avatar
André committed
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
                }
            ]
        },
        {
            "name": "python3-cryptography",
            "ensure-writable": [
                "easy-install.pth"
            ],
            "buildsystem": "simple",
            "build-commands": [
                "python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "archive",
André's avatar
André committed
197
198
                    "url": "https://files.pythonhosted.org/packages/22/21/233e38f74188db94e8451ef6385754a98f3cad9b59bedf3a8e8b14988be4/cryptography-2.3.1.tar.gz",
                    "sha256": "8d10113ca826a4c29d5b85b2c4e045ffa8bad74fb525ee0eceb1d38d4c70dfd6"
André's avatar
André committed
199
200
201
202
203
204
205
                }
            ]
        },
        {
            "name": "python3-pyopenssl",
            "buildsystem": "simple",
            "build-commands": [
André's avatar
André committed
206
                "pip3 install --prefix=/app pyOpenSSL-18.0.0-py2.py3-none-any.whl"
André's avatar
André committed
207
208
209
210
            ],
            "sources": [
                {
                    "type": "file",
André's avatar
André committed
211
212
                    "url": "https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl",
                    "sha256": "26ff56a6b5ecaf3a2a59f132681e2a80afcc76b4f902f612f518f92c2a1bf854"
André's avatar
André committed
213
214
215
216
217
                }
            ]
        },
        {
            "name": "python3-dbus-python",
André's avatar
André committed
218
219
220
221
222
            "build-options": {
                "env": {
                    "PYTHON_VERSION": "3"
                }
            },
André's avatar
André committed
223
224
225
            "sources": [
                {
                    "type": "archive",
André's avatar
André committed
226
227
                    "url": "https://files.pythonhosted.org/packages/3f/e7/4edb582d1ffd5ac3c84188deea32e960b5c8c0fe1da56ce70224f85ce542/dbus-python-1.2.8.tar.gz",
                    "sha256": "abf12bbb765e300bf8e2a1b2f32f85949eab06998dbda127952c31cb63957b6f"
André's avatar
André committed
228
229
230
                }
            ]
        },
André's avatar
André committed
231
        {
André's avatar
André committed
232
            "name": "python3-jeepney",
André's avatar
André committed
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app jeepney-0.3.1-py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://files.pythonhosted.org/packages/a9/21/c07060fac57d8d4932ccb19f96b244ff056f13192993d2d1253fb87d6784/jeepney-0.3.1-py3-none-any.whl",
                    "sha256": "e7b961fe9dfa1ed4c576d3bb2d70a9276dace0e16ebed9da09e4d288fe1d3b2a"
                }
            ]
        },
        {
            "name": "python3-secretstorage",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app SecretStorage-3.0.1-py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://files.pythonhosted.org/packages/f3/40/3cbd8b15c8f98b5c6d2480fb0087b06eb39b87992e61c966775156e1a693/SecretStorage-3.0.1-py3-none-any.whl",
                    "sha256": "1bbf5b85a718854916d1c151fa33e6f667e3c005e033ea46d4123384d233b137"
                }
            ]
        },
        {
            "name": "python3-entrypoints",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app entrypoints-0.2.3-py2.py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://files.pythonhosted.org/packages/cc/8b/4eefa9b47f1910b3d2081da67726b066e379b04ca897acfe9f92bac56147/entrypoints-0.2.3-py2.py3-none-any.whl",
                    "sha256": "10ad569bb245e7e2ba425285b9fa3e8178a0dc92fc53b1e1c553805e15a8825b"
                }
            ]
        },
        {
            "name": "python3-keyring",
            "buildsystem": "simple",
            "build-commands": [
André's avatar
André committed
277
                "pip3 install --prefix=/app keyring-13.2.1-py2.py3-none-any.whl"
André's avatar
André committed
278
279
280
281
            ],
            "sources": [
                {
                    "type": "file",
André's avatar
André committed
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
                    "url": "https://files.pythonhosted.org/packages/88/a8/341fa4686e98bf10289eb4eaea89e8176b93c1e38de52e3c42d9112baae1/keyring-13.2.1-py2.py3-none-any.whl",
                    "sha256": "6e01954fd3e404820e1fade262ee661974051551ed08c899ffc5e88bb9df288e"
                }
            ]
        },
        {
            "name": "python3-cssutils",
            "buildsystem": "simple",
            "build-commands": [
                "pip3 install --prefix=/app cssutils-1.0.2-py3-none-any.whl"
            ],
            "sources": [
                {
                    "type": "file",
                    "url": "https://files.pythonhosted.org/packages/6b/15/a9fb9010f58d1c55dd0b7779db2334feb9a572d407024f39a60f44293861/cssutils-1.0.2-py3-none-any.whl",
                    "sha256": "c74dbe19c92f5052774eadb15136263548dd013250f1ed1027988e7fef125c8d"
André's avatar
André committed
298
299
                }
            ]
André's avatar
André committed
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
        },
        {
            "name": "gspell",
            "cleanup": [
              "/bin"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gspell/1.8/gspell-1.8.1.tar.xz",
                    "sha256": "819a1d23c7603000e73f5e738bdd284342e0cd345fb0c7650999c31ec741bbe5"
                }
            ],
            "modules": [
                {
                    "name": "enchant2",
                    "cleanup": [
                      "/bin"
                    ],
                    "sources": [
                        {
                            "type": "archive",
                            "url": "https://github.com/AbiWord/enchant/releases/download/v2.2.3/enchant-2.2.3.tar.gz",
                            "sha256": "abd8e915675cff54c0d4da5029d95c528362266557c61c7149d53fa069b8076d"
                        }
                    ]
                }
            ]
André's avatar
André committed
328
        },
André's avatar
André committed
329
330
331
332
333
334
335
336
337
338
        {
            "name": "python3-nbxmpp",
            "buildsystem": "simple",
            "build-commands": [
                "python3 setup.py install --prefix=/app"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://dev.gajim.org/gajim/python-nbxmpp.git",
339
340
                    "tag": "nbxmpp-0.6.6",
                    "commit": "7256d13ebcde065824da4715df0db399fe9aaf57"
André's avatar
André committed
341
342
343
344
345
346
347
                }
            ]
        },
        {
            "name": "gajim",
            "buildsystem": "simple",
            "build-commands": [
348
349
                "pip3 install --prefix=/app .",
                "touch /app/share/run-as-flatpak"
André's avatar
André committed
350
351
352
353
354
355
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://dev.gajim.org/gajim/gajim.git"
                }
André's avatar
André committed
356
357
358
            ],
            "post-install": [
                "install -d /app/plugins"
André's avatar
André committed
359
360
361
362
            ]
        }
    ]
}