Avoid potential negative array index access to cached text.
[LibreOffice.git] / solenv / flatpak-manifest.in
blob5e0edefc8a721fa433c8ece0b7f29a5ffbc56cda
2     "id": "org.libreoffice.LibreOffice",
3     "runtime": "org.freedesktop.Platform",
4     "runtime-version": "23.08",
5     "sdk": "org.freedesktop.Sdk",
6     "sdk-extensions": [
7         "org.freedesktop.Sdk.Extension.openjdk21"
8     ],
9     "command": "libreoffice",
10     "modules": [
11         {
12             "name": "openjdk",
13             "buildsystem": "simple",
14             "build-commands": [
15                 "/usr/lib/sdk/openjdk21/install.sh"
16             ]
17         },
18         {
19             "name": "gvfs",
20             "buildsystem": "meson",
21             "config-opts": [
22                 "-Dsystemduserunitdir=no",
23                 "-Dtmpfilesdir=no",
24                 "-Dinstalled_tests=true",
25                 "-Dadmin=false",
26                 "-Dafc=false",
27                 "-Dafp=false",
28                 "-Darchive=false",
29                 "-Dcdda=false",
30                 "-Ddnssd=false",
31                 "-Dgoa=false",
32                 "-Dgoogle=false",
33                 "-Dgphoto2=false",
34                 "-Dhttp=false",
35                 "-Dmtp=false",
36                 "-Dnfs=false",
37                 "-Donedrive=false",
38                 "-Dsftp=false",
39                 "-Dsmb=false",
40                 "-Dudisks2=false",
41                 "-Dbluray=false",
42                 "-Dfuse=false",
43                 "-Dgcr=false",
44                 "-Dgcrypt=false",
45                 "-Dgudev=false",
46                 "-Dkeyring=false",
47                 "-Dlogind=false",
48                 "-Dlibusb=false",
49                 "-Dwsdd=false"
50             ],
51             "sources": [
52                 {
53                     "type": "archive",
54                     "url": "https://download.gnome.org/sources/gvfs/1.54/gvfs-1.54.0.tar.xz",
55                     "sha256": "f53d81df86c2e86cdd25182c2d8a669a22371e83623ded1b9d5416dcfc6de366",
56                     "x-checker-data": {
57                         "type": "gnome",
58                         "name": "gvfs",
59                         "stable-only": true
60                     }
61                 }
62             ]
63         },
64         {
65             "name": "krb5",
66             "subdir": "src",
67             "config-opts": [
68                 "--disable-static",
69                 "--disable-rpath",
70                 "--sbindir=/app/bin"
71             ],
72             "cleanup": [
73                 "/include",
74                 "/lib/pkgconfig",
75                 "/var"
76             ],
77             "sources": [
78                 {
79                     "type": "archive",
80                     "url": "https://kerberos.org/dist/krb5/1.21/krb5-1.21.2.tar.gz",
81                     "sha256": "9560941a9d843c0243a71b17a7ac6fe31c7cebb5bce3983db79e52ae7e850491",
82                     "x-checker-data": {
83                         "type": "html",
84                         "url": "https://kerberos.org/dist/",
85                         "version-pattern": "Kerberos V5 Release ([\\d\\.]+) - current release",
86                         "url-template": "https://kerberos.org/dist/krb5/$major.$minor/krb5-$version.tar.gz"
87                     }
88                 }
89             ]
90         },
91         {
92             "name": "libreoffice",
93             "sources": [
94                 {
95                     "type": "git",
96                     "url": "https://gerrit.libreoffice.org/core",
97                     "branch": "@BRANCH@",
98                     "disable-fsckobjects": true
99                 },
100                 {
101                     "type": "archive",
102                     "url": "https://archive.apache.org/dist/ant/binaries/apache-ant-1.10.14-bin.tar.bz2",
103                     "sha512": "05e9f786044b9ba0dcc5e2b40ed2bd4ecfb25896a453ba78e2d4df18896c6be7d1564fd615f483c90c0d26dd1e0fb507c778f0c10712818b1fc8c9acbc0a26c6",
104                     "dest": "ant"
105                 },
106                 {
107                     "commands": [
108                         "mkdir external/tarballs"
109                     ],
110                     "type": "shell"
111                 },
112                 {
113                     "url": "https://dev-www.libreoffice.org/src/@PDFIUM_TARBALL@",
114                     "sha256": "@PDFIUM_SHA256SUM@",
115                     "type": "file",
116                     "dest": "external/tarballs",
117                     "dest-filename": "@PDFIUM_TARBALL@"
118                 },
119                 {
120                     "url": "https://dev-www.libreoffice.org/src/@XMLSEC_TARBALL@",
121                     "sha256": "@XMLSEC_SHA256SUM@",
122                     "type": "file",
123                     "dest": "external/tarballs",
124                     "dest-filename": "@XMLSEC_TARBALL@"
125                 },
126                 {
127                     "url": "https://dev-www.libreoffice.org/src/@FONT_CALADEA_TARBALL@",
128                     "sha256": "@FONT_CALADEA_SHA256SUM@",
129                     "type": "file",
130                     "dest": "external/tarballs",
131                     "dest-filename": "@FONT_CALADEA_TARBALL@"
132                 },
133                 {
134                     "url": "https://dev-www.libreoffice.org/src/@FONT_CARLITO_TARBALL@",
135                     "sha256": "@FONT_CARLITO_SHA256SUM@",
136                     "type": "file",
137                     "dest": "external/tarballs",
138                     "dest-filename": "@FONT_CARLITO_TARBALL@"
139                 },
140                 {
141                     "url": "https://dev-www.libreoffice.org/src/33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip",
142                     "sha256": "7576310b219e04159d35ff61dd4a4ec4cdba4f35c00e002a136f00e96a908b0a",
143                     "type": "file",
144                     "dest": "external/tarballs",
145                     "dest-filename": "33e1e61fab06a547851ed308b4ffef42-dejavu-fonts-ttf-2.37.zip"
146                 },
147                 {
148                     "url": "https://dev-www.libreoffice.org/src/@FONT_GENTIUM_TARBALL@",
149                     "sha256": "@FONT_GENTIUM_SHA256SUM@",
150                     "type": "file",
151                     "dest": "external/tarballs",
152                     "dest-filename": "@FONT_GENTIUM_TARBALL@"
153                 },
154                 {
155                     "url": "https://dev-www.libreoffice.org/src/@FONT_LIBERATION_NARROW_TARBALL@",
156                     "sha256": "@FONT_LIBERATION_NARROW_SHA256SUM@",
157                     "type": "file",
158                     "dest": "external/tarballs",
159                     "dest-filename": "@FONT_LIBERATION_NARROW_TARBALL@"
160                 },
161                 {
162                     "url": "https://dev-www.libreoffice.org/src/@FONT_LIBERATION_TARBALL@",
163                     "sha256": "@FONT_LIBERATION_SHA256SUM@",
164                     "type": "file",
165                     "dest": "external/tarballs",
166                     "dest-filename": "@FONT_LIBERATION_TARBALL@"
167                 },
168                 {
169                     "url": "https://dev-www.libreoffice.org/src/@FONT_LINLIBERTINEG_TARBALL@",
170                     "sha256": "@FONT_LINLIBERTINEG_SHA256SUM@",
171                     "type": "file",
172                     "dest": "external/tarballs",
173                     "dest-filename": "@FONT_LINLIBERTINEG_TARBALL@"
174                 },
175                 {
176                     "url": "https://dev-www.libreoffice.org/src/@BOOST_TARBALL@",
177                     "sha256": "@BOOST_SHA256SUM@",
178                     "type": "file",
179                     "dest": "external/tarballs",
180                     "dest-filename": "@BOOST_TARBALL@"
181                 },
182                 {
183                     "url": "https://dev-www.libreoffice.org/src/@CLUCENE_TARBALL@",
184                     "sha256": "@CLUCENE_SHA256SUM@",
185                     "type": "file",
186                     "dest": "external/tarballs",
187                     "dest-filename": "@CLUCENE_TARBALL@"
188                 },
189                 {
190                     "url": "https://dev-www.libreoffice.org/src/@COINMP_TARBALL@",
191                     "sha256": "@COINMP_SHA256SUM@",
192                     "type": "file",
193                     "dest": "external/tarballs",
194                     "dest-filename": "@COINMP_TARBALL@"
195                 },
196                 {
197                     "url": "https://dev-www.libreoffice.org/src/@CPPUNIT_TARBALL@",
198                     "sha256": "@CPPUNIT_SHA256SUM@",
199                     "type": "file",
200                     "dest": "external/tarballs",
201                     "dest-filename": "@CPPUNIT_TARBALL@"
202                 },
203                 {
204                     "url": "https://dev-www.libreoffice.org/src/@FIREBIRD_TARBALL@",
205                     "sha256": "@FIREBIRD_SHA256SUM@",
206                     "type": "file",
207                     "dest": "external/tarballs",
208                     "dest-filename": "@FIREBIRD_TARBALL@"
209                 },
210                 {
211                     "url": "https://dev-www.libreoffice.org/src/@GLM_TARBALL@",
212                     "sha256": "@GLM_SHA256SUM@",
213                     "type": "file",
214                     "dest": "external/tarballs",
215                     "dest-filename": "@GLM_TARBALL@"
216                 },
217                 {
218                     "url": "https://dev-www.libreoffice.org/src/@GPGME_TARBALL@",
219                     "sha256": "@GPGME_SHA256SUM@",
220                     "type": "file",
221                     "dest": "external/tarballs",
222                     "dest-filename": "@GPGME_TARBALL@"
223                 },
224                 {
225                     "url": "https://dev-www.libreoffice.org/src/@LIBASSUAN_TARBALL@",
226                     "sha256": "@LIBASSUAN_SHA256SUM@",
227                     "type": "file",
228                     "dest": "external/tarballs",
229                     "dest-filename": "@LIBASSUAN_TARBALL@"
230                 },
231                 {
232                     "url": "https://dev-www.libreoffice.org/src/@LIBGPGERROR_TARBALL@",
233                     "sha256": "@LIBGPGERROR_SHA256SUM@",
234                     "type": "file",
235                     "dest": "external/tarballs",
236                     "dest-filename": "@LIBGPGERROR_TARBALL@"
237                 },
238                 {
239                     "url": "https://dev-www.libreoffice.org/src/@ABW_TARBALL@",
240                     "sha256": "@ABW_SHA256SUM@",
241                     "type": "file",
242                     "dest": "external/tarballs",
243                     "dest-filename": "@ABW_TARBALL@"
244                 },
245                 {
246                     "url": "https://dev-www.libreoffice.org/src/@CDR_TARBALL@",
247                     "sha256": "@CDR_SHA256SUM@",
248                     "type": "file",
249                     "dest": "external/tarballs",
250                     "dest-filename": "@CDR_TARBALL@"
251                 },
252                 {
253                     "url": "https://dev-www.libreoffice.org/src/@LIBCMIS_TARBALL@",
254                     "sha256": "@LIBCMIS_SHA256SUM@",
255                     "type": "file",
256                     "dest": "external/tarballs",
257                     "dest-filename": "@LIBCMIS_TARBALL@"
258                 },
259                 {
260                     "url": "https://dev-www.libreoffice.org/src/@EBOOK_TARBALL@",
261                     "sha256": "@EBOOK_SHA256SUM@",
262                     "type": "file",
263                     "dest": "external/tarballs",
264                     "dest-filename": "@EBOOK_TARBALL@"
265                 },
266                 {
267                     "url": "https://dev-www.libreoffice.org/src/@ETONYEK_TARBALL@",
268                     "sha256": "@ETONYEK_SHA256SUM@",
269                     "type": "file",
270                     "dest": "external/tarballs",
271                     "dest-filename": "@ETONYEK_TARBALL@"
272                 },
273                 {
274                     "url": "https://dev-www.libreoffice.org/src/@LIBEXTTEXTCAT_TARBALL@",
275                     "sha256": "@LIBEXTTEXTCAT_SHA256SUM@",
276                     "type": "file",
277                     "dest": "external/tarballs",
278                     "dest-filename": "@LIBEXTTEXTCAT_TARBALL@"
279                 },
280                 {
281                     "url": "https://dev-www.libreoffice.org/src/@FREEHAND_TARBALL@",
282                     "sha256": "@FREEHAND_SHA256SUM@",
283                     "type": "file",
284                     "dest": "external/tarballs",
285                     "dest-filename": "@FREEHAND_TARBALL@"
286                 },
287                 {
288                     "url": "https://dev-www.libreoffice.org/src/@LANGTAGREG_TARBALL@",
289                     "sha256": "@LANGTAGREG_SHA256SUM@",
290                     "type": "file",
291                     "dest": "external/tarballs",
292                     "dest-filename": "@LANGTAGREG_TARBALL@"
293                 },
294                 {
295                     "url": "https://dev-www.libreoffice.org/src/@LIBLANGTAG_TARBALL@",
296                     "sha256": "@LIBLANGTAG_SHA256SUM@",
297                     "type": "file",
298                     "dest": "external/tarballs",
299                     "dest-filename": "@LIBLANGTAG_TARBALL@"
300                 },
301                 {
302                     "url": "https://dev-www.libreoffice.org/src/@MSPUB_TARBALL@",
303                     "sha256": "@MSPUB_SHA256SUM@",
304                     "type": "file",
305                     "dest": "external/tarballs",
306                     "dest-filename": "@MSPUB_TARBALL@"
307                 },
308                 {
309                     "url": "https://dev-www.libreoffice.org/src/@MWAW_TARBALL@",
310                     "sha256": "@MWAW_SHA256SUM@",
311                     "type": "file",
312                     "dest": "external/tarballs",
313                     "dest-filename": "@MWAW_TARBALL@"
314                 },
315                 {
316                     "url": "https://dev-www.libreoffice.org/src/@ODFGEN_TARBALL@",
317                     "sha256": "@ODFGEN_SHA256SUM@",
318                     "type": "file",
319                     "dest": "external/tarballs",
320                     "dest-filename": "@ODFGEN_TARBALL@"
321                 },
322                 {
323                     "url": "https://dev-www.libreoffice.org/src/@PAGEMAKER_TARBALL@",
324                     "sha256": "@PAGEMAKER_SHA256SUM@",
325                     "type": "file",
326                     "dest": "external/tarballs",
327                     "dest-filename": "@PAGEMAKER_TARBALL@"
328                 },
329                 {
330                     "url": "https://dev-www.libreoffice.org/src/@REVENGE_TARBALL@",
331                     "sha256": "@REVENGE_SHA256SUM@",
332                     "type": "file",
333                     "dest": "external/tarballs",
334                     "dest-filename": "@REVENGE_TARBALL@"
335                 },
336                 {
337                     "url": "https://dev-www.libreoffice.org/src/@STAROFFICE_TARBALL@",
338                     "sha256": "@STAROFFICE_SHA256SUM@",
339                     "type": "file",
340                     "dest": "external/tarballs",
341                     "dest-filename": "@STAROFFICE_TARBALL@"
342                 },
343                 {
344                     "url": "https://dev-www.libreoffice.org/src/@LIBTOMMATH_TARBALL@",
345                     "sha256": "@LIBTOMMATH_SHA256SUM@",
346                     "type": "file",
347                     "dest": "external/tarballs",
348                     "dest-filename": "@LIBTOMMATH_TARBALL@"
349                 },
350                 {
351                     "url": "https://dev-www.libreoffice.org/src/@VISIO_TARBALL@",
352                     "sha256": "@VISIO_SHA256SUM@",
353                     "type": "file",
354                     "dest": "external/tarballs",
355                     "dest-filename": "@VISIO_TARBALL@"
356                 },
357                 {
358                     "url": "https://dev-www.libreoffice.org/src/@WPD_TARBALL@",
359                     "sha256": "@WPD_SHA256SUM@",
360                     "type": "file",
361                     "dest": "external/tarballs",
362                     "dest-filename": "@WPD_TARBALL@"
363                 },
364                 {
365                     "url": "https://dev-www.libreoffice.org/src/@WPG_TARBALL@",
366                     "sha256": "@WPG_SHA256SUM@",
367                     "type": "file",
368                     "dest": "external/tarballs",
369                     "dest-filename": "@WPG_TARBALL@"
370                 },
371                 {
372                     "url": "https://dev-www.libreoffice.org/src/@WPS_TARBALL@",
373                     "sha256": "@WPS_SHA256SUM@",
374                     "type": "file",
375                     "dest": "external/tarballs",
376                     "dest-filename": "@WPS_TARBALL@"
377                 },
378                 {
379                     "url": "https://dev-www.libreoffice.org/src/@ZMF_TARBALL@",
380                     "sha256": "@ZMF_SHA256SUM@",
381                     "type": "file",
382                     "dest": "external/tarballs",
383                     "dest-filename": "@ZMF_TARBALL@"
384                 },
385                 {
386                     "url": "https://dev-www.libreoffice.org/src/@LPSOLVE_TARBALL@",
387                     "sha256": "@LPSOLVE_SHA256SUM@",
388                     "type": "file",
389                     "dest": "external/tarballs",
390                     "dest-filename": "@LPSOLVE_TARBALL@"
391                 },
392                 {
393                     "url": "https://dev-www.libreoffice.org/src/@MARIADB_CONNECTOR_C_TARBALL@",
394                     "sha256": "@MARIADB_CONNECTOR_C_SHA256SUM@",
395                     "type": "file",
396                     "dest": "external/tarballs",
397                     "dest-filename": "@MARIADB_CONNECTOR_C_TARBALL@"
398                 },
399                 {
400                     "url": "https://dev-www.libreoffice.org/src/@MDDS_TARBALL@",
401                     "sha256": "@MDDS_SHA256SUM@",
402                     "type": "file",
403                     "dest": "external/tarballs",
404                     "dest-filename": "@MDDS_TARBALL@"
405                 },
406                 {
407                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_KUFI_ARABIC_TARBALL@",
408                     "sha256": "@FONT_NOTO_KUFI_ARABIC_SHA256SUM@",
409                     "type": "file",
410                     "dest": "external/tarballs",
411                     "dest-filename": "@FONT_NOTO_KUFI_ARABIC_TARBALL@"
412                 },
413                 {
414                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_TARBALL@",
415                     "sha256": "@FONT_NOTO_SANS_SHA256SUM@",
416                     "type": "file",
417                     "dest": "external/tarballs",
418                     "dest-filename": "@FONT_NOTO_SANS_TARBALL@"
419                 },
420                 {
421                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_TARBALL@",
422                     "sha256": "@FONT_NOTO_SERIF_SHA256SUM@",
423                     "type": "file",
424                     "dest": "external/tarballs",
425                     "dest-filename": "@FONT_NOTO_SERIF_TARBALL@"
426                 },
427                 {
428                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_ARABIC_TARBALL@",
429                     "sha256": "@FONT_NOTO_SANS_ARABIC_SHA256SUM@",
430                     "type": "file",
431                     "dest": "external/tarballs",
432                     "dest-filename": "@FONT_NOTO_SANS_ARABIC_TARBALL@"
433                 },
434                 {
435                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_NASKH_ARABIC_TARBALL@",
436                     "sha256": "@FONT_NOTO_NASKH_ARABIC_SHA256SUM@",
437                     "type": "file",
438                     "dest": "external/tarballs",
439                     "dest-filename": "@FONT_NOTO_NASKH_ARABIC_TARBALL@"
440                 },
441                 {
442                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_HEBREW_TARBALL@",
443                     "sha256": "@FONT_NOTO_SANS_HEBREW_SHA256SUM@",
444                     "type": "file",
445                     "dest": "external/tarballs",
446                     "dest-filename": "@FONT_NOTO_SANS_HEBREW_TARBALL@"
447                 },
448                 {
449                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_HEBREW_TARBALL@",
450                     "sha256": "@FONT_NOTO_SERIF_HEBREW_SHA256SUM@",
451                     "type": "file",
452                     "dest": "external/tarballs",
453                     "dest-filename": "@FONT_NOTO_SERIF_HEBREW_TARBALL@"
454                 },
455                 {
456                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_ARMENIAN_TARBALL@",
457                     "sha256": "@FONT_NOTO_SANS_ARMENIAN_SHA256SUM@",
458                     "type": "file",
459                     "dest": "external/tarballs",
460                     "dest-filename": "@FONT_NOTO_SANS_ARMENIAN_TARBALL@"
461                 },
462                 {
463                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_ARMENIAN_TARBALL@",
464                     "sha256": "@FONT_NOTO_SERIF_ARMENIAN_SHA256SUM@",
465                     "type": "file",
466                     "dest": "external/tarballs",
467                     "dest-filename": "@FONT_NOTO_SERIF_ARMENIAN_TARBALL@"
468                 },
469                 {
470                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_GEORGIAN_TARBALL@",
471                     "sha256": "@FONT_NOTO_SANS_GEORGIAN_SHA256SUM@",
472                     "type": "file",
473                     "dest": "external/tarballs",
474                     "dest-filename": "@FONT_NOTO_SANS_GEORGIAN_TARBALL@"
475                 },
476                 {
477                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_GEORGIAN_TARBALL@",
478                     "sha256": "@FONT_NOTO_SERIF_GEORGIAN_SHA256SUM@",
479                     "type": "file",
480                     "dest": "external/tarballs",
481                     "dest-filename": "@FONT_NOTO_SERIF_GEORGIAN_TARBALL@"
482                 },
483                 {
484                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_LAO_TARBALL@",
485                     "sha256": "@FONT_NOTO_SANS_LAO_SHA256SUM@",
486                     "type": "file",
487                     "dest": "external/tarballs",
488                     "dest-filename": "@FONT_NOTO_SANS_LAO_TARBALL@"
489                 },
490                 {
491                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SERIF_LAO_TARBALL@",
492                     "sha256": "@FONT_NOTO_SERIF_LAO_SHA256SUM@",
493                     "type": "file",
494                     "dest": "external/tarballs",
495                     "dest-filename": "@FONT_NOTO_SERIF_LAO_TARBALL@"
496                 },
497                 {
498                     "url": "https://dev-www.libreoffice.org/src/@FONT_NOTO_SANS_LISU_TARBALL@",
499                     "sha256": "@FONT_NOTO_SANS_LISU_SHA256SUM@",
500                     "type": "file",
501                     "dest": "external/tarballs",
502                     "dest-filename": "@FONT_NOTO_SANS_LISU_TARBALL@"
503                 },
504                 {
505                     "url": "https://dev-www.libreoffice.org/src/@OPENLDAP_TARBALL@",
506                     "sha256": "@OPENLDAP_SHA256SUM@",
507                     "type": "file",
508                     "dest": "external/tarballs",
509                     "dest-filename": "@OPENLDAP_TARBALL@"
510                 },
511                 {
512                     "url": "https://dev-www.libreoffice.org/src/@ORCUS_TARBALL@",
513                     "sha256": "@ORCUS_SHA256SUM@",
514                     "type": "file",
515                     "dest": "external/tarballs",
516                     "dest-filename": "@ORCUS_TARBALL@"
517                 },
518                 {
519                     "url": "https://dev-www.libreoffice.org/src/@POPPLER_TARBALL@",
520                     "sha256": "@POPPLER_SHA256SUM@",
521                     "type": "file",
522                     "dest": "external/tarballs",
523                     "dest-filename": "@POPPLER_TARBALL@"
524                 },
525                 {
526                     "url": "https://dev-www.libreoffice.org/src/@POPPLER_DATA_TARBALL@",
527                     "sha256": "@POPPLER_DATA_SHA256SUM@",
528                     "type": "file",
529                     "dest": "external/tarballs",
530                     "dest-filename": "@POPPLER_DATA_TARBALL@"
531                 },
532                 {
533                     "url": "https://dev-www.libreoffice.org/src/@POSTGRESQL_TARBALL@",
534                     "sha256": "@POSTGRESQL_SHA256SUM@",
535                     "type": "file",
536                     "dest": "external/tarballs",
537                     "dest-filename": "@POSTGRESQL_TARBALL@"
538                 },
539                 {
540                     "url": "https://dev-www.libreoffice.org/src/@RAPTOR_TARBALL@",
541                     "sha256": "@RAPTOR_SHA256SUM@",
542                     "type": "file",
543                     "dest": "external/tarballs",
544                     "dest-filename": "@RAPTOR_TARBALL@"
545                 },
546                 {
547                     "url": "https://dev-www.libreoffice.org/src/1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz",
548                     "sha256": "6924c9ac6570bd241a9669f83b467c728a322470bf34f4b2da4f69492ccfd97c",
549                     "type": "file",
550                     "dest": "external/tarballs",
551                     "dest-filename": "1f5def51ca0026cd192958ef07228b52-rasqal-0.9.33.tar.gz"
552                 },
553                 {
554                     "url": "https://dev-www.libreoffice.org/src/@REDLAND_TARBALL@",
555                     "sha256": "@REDLAND_SHA256SUM@",
556                     "type": "file",
557                     "dest": "external/tarballs",
558                     "dest-filename": "@REDLAND_TARBALL@"
559                 },
560                 {
561                     "url": "https://dev-www.libreoffice.org/src/@FONT_REEM_TARBALL@",
562                     "sha256": "@FONT_REEM_SHA256SUM@",
563                     "type": "file",
564                     "dest": "external/tarballs",
565                     "dest-filename": "@FONT_REEM_TARBALL@"
566                 },
567                 {
568                     "url": "https://dev-www.libreoffice.org/src/@EPUBGEN_TARBALL@",
569                     "sha256": "@EPUBGEN_SHA256SUM@",
570                     "type": "file",
571                     "dest": "external/tarballs",
572                     "dest-filename": "@EPUBGEN_TARBALL@"
573                 },
574                 {
575                     "url": "https://dev-www.libreoffice.org/src/@QXP_TARBALL@",
576                     "sha256": "@QXP_SHA256SUM@",
577                     "type": "file",
578                     "dest": "external/tarballs",
579                     "dest-filename": "@QXP_TARBALL@"
580                 },
581                 {
582                     "url": "https://dev-www.libreoffice.org/src/@FONT_ALEF_TARBALL@",
583                     "sha256": "@FONT_ALEF_SHA256SUM@",
584                     "type": "file",
585                     "dest": "external/tarballs",
586                     "dest-filename": "@FONT_ALEF_TARBALL@"
587                 },
588                 {
589                     "url": "https://dev-www.libreoffice.org/src/@FONT_AMIRI_TARBALL@",
590                     "sha256": "@FONT_AMIRI_SHA256SUM@",
591                     "type": "file",
592                     "dest": "external/tarballs",
593                     "dest-filename": "@FONT_AMIRI_TARBALL@"
594                 },
595                 {
596                     "url": "https://dev-www.libreoffice.org/src/@FONT_CULMUS_TARBALL@",
597                     "sha256": "@FONT_CULMUS_SHA256SUM@",
598                     "type": "file",
599                     "dest": "external/tarballs",
600                     "dest-filename": "@FONT_CULMUS_TARBALL@"
601                 },
602                 {
603                     "url": "https://dev-www.libreoffice.org/src/@FONT_LIBRE_HEBREW_TARBALL@",
604                     "sha256": "@FONT_LIBRE_HEBREW_SHA256SUM@",
605                     "type": "file",
606                     "dest": "external/tarballs",
607                     "dest-filename": "@FONT_LIBRE_HEBREW_TARBALL@"
608                 },
609                 {
610                     "url": "https://dev-www.libreoffice.org/src/@FONT_SCHEHERAZADE_TARBALL@",
611                     "sha256": "@FONT_SCHEHERAZADE_SHA256SUM@",
612                     "type": "file",
613                     "dest": "external/tarballs",
614                     "dest-filename": "@FONT_SCHEHERAZADE_TARBALL@"
615                 },
616                 {
617                     "url": "https://dev-www.libreoffice.org/src/@BSH_TARBALL@",
618                     "sha256": "@BSH_SHA256SUM@",
619                     "type": "file",
620                     "dest": "external/tarballs",
621                     "dest-filename": "@BSH_TARBALL@"
622                 },
623                 {
624                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_FLOW_ENGINE_TARBALL@",
625                     "sha256": "@JFREEREPORT_FLOW_ENGINE_SHA256SUM@",
626                     "type": "file",
627                     "dest": "external/tarballs",
628                     "dest-filename": "@JFREEREPORT_FLOW_ENGINE_TARBALL@"
629                 },
630                 {
631                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_FLUTE_TARBALL@",
632                     "sha256": "@JFREEREPORT_FLUTE_SHA256SUM@",
633                     "type": "file",
634                     "dest": "external/tarballs",
635                     "dest-filename": "@JFREEREPORT_FLUTE_TARBALL@"
636                 },
637                 {
638                     "url": "https://dev-www.libreoffice.org/src/@HSQLDB_TARBALL@",
639                     "sha256": "@HSQLDB_SHA256SUM@",
640                     "type": "file",
641                     "dest": "external/tarballs",
642                     "dest-filename": "@HSQLDB_TARBALL@"
643                 },
644                 {
645                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBBASE_TARBALL@",
646                     "sha256": "@JFREEREPORT_LIBBASE_SHA256SUM@",
647                     "type": "file",
648                     "dest": "external/tarballs",
649                     "dest-filename": "@JFREEREPORT_LIBBASE_TARBALL@"
650                 },
651                 {
652                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBFONTS_TARBALL@",
653                     "sha256": "@JFREEREPORT_LIBFONTS_SHA256SUM@",
654                     "type": "file",
655                     "dest": "external/tarballs",
656                     "dest-filename": "@JFREEREPORT_LIBFONTS_TARBALL@"
657                 },
658                 {
659                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBFORMULA_TARBALL@",
660                     "sha256": "@JFREEREPORT_LIBFORMULA_SHA256SUM@",
661                     "type": "file",
662                     "dest": "external/tarballs",
663                     "dest-filename": "@JFREEREPORT_LIBFORMULA_TARBALL@"
664                 },
665                 {
666                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBLAYOUT_TARBALL@",
667                     "sha256": "@JFREEREPORT_LIBLAYOUT_SHA256SUM@",
668                     "type": "file",
669                     "dest": "external/tarballs",
670                     "dest-filename": "@JFREEREPORT_LIBLAYOUT_TARBALL@"
671                 },
672                 {
673                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBLOADER_TARBALL@",
674                     "sha256": "@JFREEREPORT_LIBLOADER_SHA256SUM@",
675                     "type": "file",
676                     "dest": "external/tarballs",
677                     "dest-filename": "@JFREEREPORT_LIBLOADER_TARBALL@"
678                 },
679                 {
680                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBREPOSITORY_TARBALL@",
681                     "sha256": "@JFREEREPORT_LIBREPOSITORY_SHA256SUM@",
682                     "type": "file",
683                     "dest": "external/tarballs",
684                     "dest-filename": "@JFREEREPORT_LIBREPOSITORY_TARBALL@"
685                 },
686                 {
687                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBSERIALIZER_TARBALL@",
688                     "sha256": "@JFREEREPORT_LIBSERIALIZER_SHA256SUM@",
689                     "type": "file",
690                     "dest": "external/tarballs",
691                     "dest-filename": "@JFREEREPORT_LIBSERIALIZER_TARBALL@"
692                 },
693                 {
694                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_LIBXML_TARBALL@",
695                     "sha256": "@JFREEREPORT_LIBXML_SHA256SUM@",
696                     "type": "file",
697                     "dest": "external/tarballs",
698                     "dest-filename": "@JFREEREPORT_LIBXML_TARBALL@"
699                 },
700                 {
701                     "url": "https://dev-www.libreoffice.org/src/@RHINO_TARBALL@",
702                     "sha256": "@RHINO_SHA256SUM@",
703                     "type": "file",
704                     "dest": "external/tarballs",
705                     "dest-filename": "@RHINO_TARBALL@"
706                 },
707                 {
708                     "url": "https://dev-www.libreoffice.org/src/@JFREEREPORT_SAC_TARBALL@",
709                     "sha256": "@JFREEREPORT_SAC_SHA256SUM@",
710                     "type": "file",
711                     "dest": "external/tarballs",
712                     "dest-filename": "@JFREEREPORT_SAC_TARBALL@"
713                 },
714                 {
715                     "url": "https://dev-www.libreoffice.org/src/@SWING_TARBALL@",
716                     "sha256": "@SWING_SHA256SUM@",
717                     "type": "file",
718                     "dest": "external/tarballs",
719                     "dest-filename": "@SWING_TARBALL@"
720                 },
721                 {
722                     "url": "https://dev-www.libreoffice.org/src/@LIBNUMBERTEXT_TARBALL@",
723                     "sha256": "@LIBNUMBERTEXT_SHA256SUM@",
724                     "type": "file",
725                     "dest": "external/tarballs",
726                     "dest-filename": "@LIBNUMBERTEXT_TARBALL@"
727                 },
728                 {
729                     "url": "https://dev-www.libreoffice.org/src/@LIBATOMIC_OPS_TARBALL@",
730                     "sha256": "@LIBATOMIC_OPS_SHA256SUM@",
731                     "type": "file",
732                     "dest": "external/tarballs",
733                     "dest-filename": "@LIBATOMIC_OPS_TARBALL@"
734                 },
735                 {
736                     "url": "https://dev-www.libreoffice.org/src/@SKIA_TARBALL@",
737                     "sha256": "@SKIA_SHA256SUM@",
738                     "type": "file",
739                     "dest": "external/tarballs",
740                     "dest-filename": "@SKIA_TARBALL@"
741                 },
742                 {
743                     "url": "https://dev-www.libreoffice.org/src/@DRAGONBOX_TARBALL@",
744                     "sha256": "@DRAGONBOX_SHA256SUM@",
745                     "type": "file",
746                     "dest": "external/tarballs",
747                     "dest-filename": "@DRAGONBOX_TARBALL@"
748                 },
749                 {
750                     "url": "https://dev-www.libreoffice.org/src/@DTOA_TARBALL@",
751                     "sha256": "@DTOA_SHA256SUM@",
752                     "type": "file",
753                     "dest": "external/tarballs",
754                     "dest-filename": "@DTOA_TARBALL@"
755                 },
756                 {
757                     "url": "https://dev-www.libreoffice.org/src/@BOX2D_TARBALL@",
758                     "sha256": "@BOX2D_SHA256SUM@",
759                     "type": "file",
760                     "dest": "external/tarballs",
761                     "dest-filename": "@BOX2D_TARBALL@"
762                 },
763                 {
764                     "url": "https://dev-www.libreoffice.org/src/@ZXING_TARBALL@",
765                     "sha256": "@ZXING_SHA256SUM@",
766                     "type": "file",
767                     "dest": "external/tarballs",
768                     "dest-filename": "@ZXING_TARBALL@"
769                 },
770                 {
771                     "url": "https://dev-www.libreoffice.org/src/@FROZEN_TARBALL@",
772                     "sha256": "@FROZEN_SHA256SUM@",
773                     "type": "file",
774                     "dest": "external/tarballs",
775                     "dest-filename": "@FROZEN_TARBALL@"
776                 },
777                 {
778                     "url": "https://dev-www.libreoffice.org/src/@JAVA_WEBSOCKET_TARBALL@",
779                     "sha256": "@JAVA_WEBSOCKET_SHA256SUM@",
780                     "type": "file",
781                     "dest": "external/tarballs",
782                     "dest-filename": "@JAVA_WEBSOCKET_TARBALL@"
783                 },
784                 {
785                     "url": "https://dev-www.libreoffice.org/src/@ZXCVBN_C_TARBALL@",
786                     "sha256": "@ZXCVBN_C_SHA256SUM@",
787                     "type": "file",
788                     "dest": "external/tarballs",
789                     "dest-filename": "@ZXCVBN_C_TARBALL@"
790                 },
791                 {
792                     "url": "https://dev-www.libreoffice.org/src/@ARGON2_TARBALL@",
793                     "sha256": "@ARGON2_SHA256SUM@",
794                     "type": "file",
795                     "dest": "external/tarballs",
796                     "dest-filename": "@ARGON2_TARBALL@"
797                 },
798                 {
799                     "url": "https://dev-www.libreoffice.org/src/@LIBPNG_TARBALL@",
800                     "sha256": "@LIBPNG_SHA256SUM@",
801                     "type": "file",
802                     "dest": "external/tarballs",
803                     "dest-filename": "@LIBPNG_TARBALL@"
804                 },
805                 {
806                     "url": "https://dev-www.libreoffice.org/extern/@OPENSYMBOL_TTF@",
807                     "sha256": "@OPENSYMBOL_SHA256SUM@",
808                     "type": "file",
809                     "dest": "external/tarballs",
810                     "dest-filename": "@OPENSYMBOL_TTF@"
811                 }
812                 {
813                     "url": "https://github.com/antijingoist/opendyslexic/releases/download/v0.9.10/opendyslexic-0.9.10-beta-2019.09.16.zip",
814                     "sha256": "ff19e6ba9b4ed56bca374bdbd2ad7ed11267addd18478f3c2f96ad9d744975f1",
815                     "type": "file",
816                     "dest-filename": "external/tarballs/opendyslexic-0.9.10-beta-2019.09.16.zip"
817                 }
818             ],
819             "buildsystem": "simple",
820             "build-commands": [
821                 "./autogen.sh --prefix=/run/build/libreoffice/inst --with-distro=LibreOfficeFlatpak",
822                 "make check",
823                 "make distro-pack-install",
824                 "make cmd cmd='$(SRCDIR)/solenv/bin/assemble-flatpak.sh'",
825                 "printf '<?xml version=\"1.0\"?>\\n<oor:data xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:oor=\"http://openoffice.org/2001/registry\"><dependency file=\"main\"/><oor:component-data oor:name=\"Common\" oor:package=\"org.openoffice.Office\"><node oor:name=\"Misc\"><prop oor:name=\"UseOpenCL\"><value>false</value></prop></node></oor:component-data></oor:data>' >/app/libreoffice/share/registry/flatpak.xcd"
826             ]
827         }
828     ],
829     "add-extensions": {
830         "org.libreoffice.LibreOffice.BundledExtension": {
831             "directory": "libreoffice/share/extensions",
832             "subdirectories": true,
833             "no-autodownload": true,
834             "autodelete": true
835         },
836         "org.libreoffice.LibreOffice.Help": {
837             "directory": "libreoffice/help",
838             "bundle": true,
839             "autodelete": true,
840             "no-autodownload": true
841         }
842     },
843     "finish-args": [
844         "--share=network",
845         "--share=ipc",
846         "--socket=fallback-x11",
847         "--socket=wayland",
848         "--socket=pulseaudio",
849         "--device=dri",
850         "--filesystem=xdg-config/gtk-3.0",
851         "--filesystem=xdg-config/fontconfig:ro",
852         "--filesystem=xdg-run/gvfsd",
853         "--filesystem=host",
854         "--env=GIO_EXTRA_MODULES=/app/lib/gio/modules",
855         "--env=JAVA_HOME=/app/jre",
856         "--env=LIBO_FLATPAK=1",
857         "--own-name=org.libreoffice.LibreOfficeIpc0",
858         "--talk-name=org.gtk.vfs.*",
859         "--talk-name=com.canonical.AppMenu.Registrar"
860     ]