forked from flathub/org.deluge_torrent.deluge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
org.deluge_torrent.deluge.yaml
467 lines (417 loc) · 16.2 KB
/
org.deluge_torrent.deluge.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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
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
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
app-id: org.deluge_torrent.deluge
runtime: org.gnome.Platform
runtime-version: '3.38'
sdk: org.gnome.Sdk
command: deluge-gtk
rename-icon: deluge
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --share=network
- --talk-name=org.freedesktop.Notifications
- --filesystem=xdg-download
modules:
- name: boost
cleanup: [
"/cache",
"/man",
"/share/aclocal",
"/share/devhelp",
"/include",
"/lib/pkgconfig",
"/share/gtk-doc",
"/share/man",
"/lib/*.a",
"*.a",
"*.la"
]
buildsystem: simple
sources:
- type: archive
url: https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.bz2
sha256: 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb
build-commands:
- ./bootstrap.sh --prefix="${FLATPAK_DEST}" --with-python=python3
- ./b2 stage -j $FLATPAK_BUILDER_N_JOBS variant=release threading=multi link=shared debug-symbols=off
- ./b2 install --prefix="${FLATPAK_DEST}" variant=release threading=multi link=shared debug-symbols=off
- name: libtorrent
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -Dpython-bindings=ON
- -Dboost-python-module-name=python
cleanup: [
"/cache",
"/man",
"/share/aclocal",
"/share/devhelp",
"/include",
"/lib/pkgconfig",
"/share/gtk-doc",
"/share/man",
"/lib/*.a",
"*.a",
"*.la"
]
sources:
- type: archive
url: https://github.com/arvidn/libtorrent/releases/download/v1.2.12/libtorrent-rasterbar-1.2.12.tar.gz
sha256: c3744ac9fa41f6e6ebf79538a2ea678df76a2cbbaf3ac6ae2c05455314e5cce8
## Python3 modules
- name: wheel
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/59/b0/11710a598e1e148fb7cbf9220fd2a0b82c98e94efbdecb299cb25e7f0b39/wheel-0.33.6.tar.gz
sha256: 10c9da68765315ed98850f8e048347c3eb06dd81822dc2ab1d4fde9dc9702646
- name: six
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426/six-1.15.0.tar.gz
sha256: 30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259
- name: Cython
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160/Cython-0.29.21.tar.gz
sha256: e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad
- name: rencode
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/75/41/14f6466c880334ff1fe2e0781e3c69a7fd5e524f8ae9bd3700091e0fefd8/rencode-1.0.5.tar.gz
sha256: fb66c92d35355d6098956204e663ddadf7f2cc8f64962846f67e1e1d036efc57
- name: pycparser
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz
sha256: 2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0
- name: cffi
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/66/6a/98e023b3d11537a5521902ac6b50db470c826c682be6a8c661549cb7717a/cffi-1.14.4.tar.gz
sha256: 1a465cbe98a7fd391d47dce4b8f7e5b921e6cd805ef421d04f5f66ba8f06086c
- name: cryptography
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/b7/82/f7a4ddc1af185936c1e4fa000942ffa8fb2d98cff26b75afa7b3c63391c4/cryptography-3.3.1.tar.gz
sha256: 7e177e4bea2de937a584b13645cab32f25e3d96fc0bc4a4cf99c27dc77682be6
- name: pyopenssl
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/98/cd/cbc9c152daba9b5de6094a185c66f1c6eb91c507f378bb7cad83d623ea88/pyOpenSSL-20.0.1.tar.gz
sha256: 4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
- name: pyasn1
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/a4/db/fffec68299e6d7bad3d504147f9094830b704527a7fc098b721d38cc7fa7/pyasn1-0.4.8.tar.gz
sha256: aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba
- name: pyasn1-modules
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/88/87/72eb9ccf8a58021c542de2588a867dbefc7556e14b2866d1e40e9e2b587e/pyasn1-modules-0.2.8.tar.gz
sha256: 905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e
- name: attrs
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/f0/cb/80a4a274df7da7b8baf083249b0890a0579374c3d74b5ac0ee9291f912dc/attrs-20.3.0.tar.gz
sha256: 832aa3cde19744e49938b91fea06d69ecb9e649c93ba974535d08ad92164f700
- name: service-identity
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/9a/3d/9eb0563e066ea0540cf580695593ab079376e920016d4d1b3ff2fd8abf4b/service_identity-18.1.0.tar.gz
sha256: 0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d
- name: incremental
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/8f/26/02c4016aa95f45479eea37c90c34f8fab6775732ae62587a874b619ca097/incremental-17.5.0.tar.gz
sha256: 7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3
- name: PyHamcrest
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/58/05/7b993fabb44ff0b52a90916d96bfd91a65ecf90b8248e72bba325ba8e438/PyHamcrest-2.0.2.tar.gz
sha256: 412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316
- name: idna
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c39925827be42f16fee389dc404ac29e930e9136be70/idna-2.10.tar.gz
sha256: b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6
- name: hyperlink
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/b7/bf/ecacc60e63d65f7449457bbd8163141c51c4af7aeff7958ec061b8faf915/hyperlink-20.0.1.tar.gz
sha256: 47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af
- name: docutils
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/2f/e0/3d435b34abd2d62e8206171892f174b180cd37b09d57b924ca5c2ef2219d/docutils-0.16.tar.gz
sha256: c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc
- name: mistune
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/2d/a4/509f6e7783ddd35482feda27bc7f72e65b5e7dc910eca4ab2164daf9c577/mistune-0.8.4.tar.gz
sha256: 59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e
- name: m2r
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/39/e7/9fae11a45f5e1a3a21d8a98d02948e597c4afd7848a0dbe1a1ebd235f13e/m2r-0.2.1.tar.gz
sha256: bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99
- name: setuptools
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/f4/d5/a6c19dcbcbc267aca376558797f036d9bcdff344c9f785fe7d0fe9a5f2a7/setuptools-41.4.0.zip
sha256: 7eae782ccf36b790c21bde7d86a4f303a441cd77036b25c559a602cf5186ce4d
- name: setuptools-scm
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/af/df/f8aa8a78d4d29e0cffa4512e9bc223ed02f24893fe1837c6cee2749ebd67/setuptools_scm-5.0.1.tar.gz
sha256: c85b6b46d0edd40d2301038cdea96bb6adc14d62ef943e75afb08b3e7bcf142a
- name: automat
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/80/c5/82c63bad570f4ef745cc5c2f0713c8eddcd07153b4bee7f72a8dc9f9384b/Automat-20.2.0.tar.gz
sha256: 7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33
- name: constantly
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/95/f1/207a0a478c4bb34b1b49d5915e2db574cadc415c9ac3a7ef17e29b2e8951/constantly-15.1.0.tar.gz
sha256: 586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35
- name: zope.event
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/30/00/94ed30bfec18edbabfcbd503fcf7482c5031b0fbbc9bc361f046cb79781c/zope.event-4.5.0.tar.gz
sha256: 5e76517f5b9b119acf37ca8819781db6c16ea433f7e2062c4afc2b6fbedb1330
- name: zope.interface
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/84/21/80cdc749908ebf2719a9063eddcc02b668fbc62d200c1f1a4d92aaaba76b/zope.interface-5.2.0.tar.gz
sha256: 8251f06a77985a2729a8bdbefbae79ee78567dddc3acbd499b87e705ca59fe24
- name: numpy
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/c5/63/a48648ebc57711348420670bb074998f79828291f68aebfff1642be212ec/numpy-1.19.4.zip
sha256: 141ec3a3300ab89c7f2b0775289954d193cc8edb621ea05f99db9cb181530512
- name: twisted
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/4a/b4/4973c7ccb5be2ec0abc779b7d5f9d5f24b17b0349e23240cfc9dc3bd83cc/Twisted-20.3.0.tar.bz2
sha256: d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10
- name: pillow
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/2b/06/93bf1626ef36815010e971a5ce90f49919d84ab5d2fa310329f843a74bc1/Pillow-8.0.1.tar.gz
sha256: 11c5c6e9b02c9dac08af04f093eb5a2f84857df70a7d4a6a6ad461aca803fb9e
- name: chardet
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b86647d567985940ac3698eeabc7ffaccb4ea61/chardet-4.0.0.tar.gz
sha256: 0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
- name: setproctitle
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/a7/e1/e76b903af017cc4a99f823b5e4235c1136dcca6902e6b7ee4d545958ba8c/setproctitle-1.2.1.tar.gz
sha256: 5f0eecb27815e31799a69eb6a06b4d375d38887d079d410565b0be82da65c950
- name: pyxdg
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/6f/2e/2251b5ae2f003d865beef79c8fcd517e907ed6a69f58c32403cec3eba9b2/pyxdg-0.27.tar.gz
sha256: 80bd93aae5ed82435f20462ea0208fb198d8eec262e831ee06ce9ddb6b91c5a5
- name: MarkupSafe
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094/MarkupSafe-1.1.1.tar.gz
sha256: 29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b
- name: mako
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/72/89/402d2b4589e120ca76a6aed8fee906a0f5ae204b50e455edd36eda6e778d/Mako-1.1.3.tar.gz
sha256: 8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27
- name: python-dbus
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://files.pythonhosted.org/packages/62/7e/d4fb56a1695fa65da0c8d3071855fa5408447b913c58c01933c2f81a269a/dbus-python-1.2.16.tar.gz
sha256: 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4
- name: deluge
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py egg_info
- python3 setup.py install --prefix=/app --root=/
post-install:
- install -Dm644 deluge/ui/data/share/applications/deluge.desktop.in /app/share/applications/org.deluge_torrent.deluge.desktop
- sed 's/^_//g' -i /app/share/applications/org.deluge_torrent.deluge.desktop
- desktop-file-edit --set-icon=org.deluge_torrent.deluge /app/share/applications/org.deluge_torrent.deluge.desktop
- mkdir -p /app/share/metainfo
- install -Dm644 org.deluge_torrent.deluge.metainfo.xml /app/share/metainfo/
sources:
- type: archive
url: https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-2.0.3.tar.xz
sha256: 7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891
- type: file
path: org.deluge_torrent.deluge.metainfo.xml