summaryrefslogtreecommitdiff
path: root/flatpak/org.gnome.Evolution.json
blob: f3a0c47e679a933a318567f411d7db1f25ff873e (plain)
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
{
    "app-id": "org.gnome.Evolution",
    "runtime": "org.gnome.Platform",
    "runtime-version": "master",
    "sdk": "org.gnome.Sdk",
    "command": "evolution-wrapper",
    "rename-icon": "evolution",
    "copy-icon": true,
    "desktop-file-name-suffix": " (Development)",
    "cleanup": [
        "/include",
        "/lib/pkgconfig",
        "/share/pkgconfig",
        "/share/aclocal",
        "*.la",
        "*.a"
    ],
    "finish-args": [
        "--share=ipc",
        "--share=network",
        "--socket=fallback-x11",
        "--socket=wayland",
        "--socket=pulseaudio",
        "--socket=pcsc",
        "--device=dri",
        "--filesystem=~/.gnupg:rw",
        "--filesystem=xdg-config/gnupg:rw",
        "--filesystem=~/.pki:rw",
        "--filesystem=xdg-config/pki:rw",
        "--filesystem=/run/.heim_org.h5l.kcm-socket",
        "--metadata=X-DConf=migrate-path=/org/gnome/evolution/",
        "--talk-name=org.freedesktop.Notifications",
        "--talk-name=org.freedesktop.secrets",
        "--talk-name=org.gnome.keyring.SystemPrompter",
        "--talk-name=org.gnome.OnlineAccounts"
    ],
    "modules": [
        {
            "name": "intltool",
            "cleanup": [
                "*"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz",
                    "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd"
                }
            ]
        },
        {
            "name": "libcanberra",
            "config-opts": [
                "--disable-gtk",
                "--disable-oss",
                "--enable-alsa",
                "--enable-gtk3",
                "--enable-null",
                "--without-systemdsystemunitdir",
                "--with-builtin=dso",
                "--disable-gtk-doc",
                "--disable-gtk-doc-html"
            ],
            "cleanup": [
                "/bin",
                "/share/gtk-doc",
                "/share/gdm",
                "/share/gnome",
                "/share/vala"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "git://git.0pointer.net/libcanberra.git",
                    "branch": "master"
                }
            ]
        },
        {
            "name": "libical",
            "cleanup": [
                "/lib/cmake",
                "/libexec/libical"
            ],
            "buildsystem": "cmake-ninja",
            "config-opts": [
                "-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
                "-DBUILD_SHARED_LIBS:BOOL=ON",
                "-DGOBJECT_INTROSPECTION:BOOL=OFF",
                "-DICAL_BUILD_DOCS:BOOL=OFF",
                "-DICAL_GLIB_VAPI:BOOL=OFF",
                "-DICAL_GLIB:BOOL=ON"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://github.com/libical/libical.git",
                    "branch": "3.0"
                }
            ]
        },
        {
            "name": "liboauth",
            "config-opts": [
                "--enable-nss"
            ],
            "cleanup": [
                "/share/man"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://downloads.sourceforge.net/project/liboauth/liboauth-1.0.3.tar.gz",
                    "sha256": "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f"
                }
            ]
        },
        {
            "name": "gnome-online-accounts",
            "config-opts": [
                "--disable-Werror",
                "--disable-telepathy",
                "--disable-introspection",
                "--disable-documentation",
                "--disable-backend"
            ],
            "cleanup": [
                "/bin",
                "/share/GConf",
                "/share/gir-1.0"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gnome-online-accounts/3.40/gnome-online-accounts-3.40.1.tar.xz",
                    "sha256": "955a03128d0e87855d34d7c534e088f6286ed7ac01baa4ef824ef42a2cb39aad"
                }
            ]
        },
        {
            "name": "libgdata",
            "buildsystem": "meson",
            "config-opts": [
                "-Dalways_build_tests=false",
                "-Dgoa=disabled",
                "-Dgtk_doc=false",
                "-Dintrospection=false",
                "-Dinstalled_tests=false",
                "-Dvapi=false"
            ],
            "cleanup": [
                "/share/gtk-doc"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libgdata/0.18/libgdata-0.18.1.tar.xz",
                    "sha256": "dd8592eeb6512ad0a8cf5c8be8c72e76f74bfe6b23e4dd93f0756ee0716804c7"
                }
            ]
        },
        {
            "name": "geocode-glib",
            "buildsystem": "meson",
            "config-opts": [
                "-Denable-installed-tests=false",
                "-Denable-introspection=false",
                "-Denable-gtk-doc=false"
            ],
            "cleanup": [
                "/share/gtk-doc"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/geocode-glib/3.26/geocode-glib-3.26.2.tar.xz",
                    "sha256": "01fe84cfa0be50c6e401147a2bc5e2f1574326e2293b55c69879be3e82030fd1"
                }
            ]
        },
        {
            "name": "libgweather",
            "buildsystem": "meson",
            "config-opts": [
                "-Dglade_catalog=false",
                "-Denable_vala=false"
            ],
            "cleanup": [
                "/lib/girepository-1.0",
                "/share/gtk-doc",
                "/share/gir-1.0"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libgweather/40/libgweather-40.0.tar.xz",
                    "sha256": "ca4e8f2a4baaa9fc6d75d8856adb57056ef1cd6e55c775ba878ae141b6276ee6"
                }
            ]
        },
        {
            "name": "openldap",
            "cleanup": [
                "/bin",
                "/etc",
                "/share/man"
            ],
            "config-opts": [
                "--disable-backends",
                "--disable-overlays",
                "--disable-slapd",
                "--disable-debug",
                "--enable-dynamic",
                "--without-threads",
                "--with-tls=gnutls"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.5.7.tgz",
                    "sha256": "ea9757001bc36295037f0030ede16810a1bb7438bbe8f871a35cc2a2b439d9ab"
                }
            ]
        },
        {
            "name": "gspell",
            "config-opts": [
                "--disable-gtk-doc",
                "--disable-introspection",
                "--disable-vala"
            ],
            "cleanup": [
                "/bin",
                "/share/gtk-doc"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/gspell/1.9/gspell-1.9.1.tar.xz",
                    "sha256": "dcbb769dfdde8e3c0a8ed3102ce7e661abbf7ddf85df08b29915e92cd723abdd"
                }
            ]
        },
        {
            "name": "pinentry",
            "config-opts": [
                "--enable-pinentry-gnome3",
                "--disable-ncurses",
                "--disable-fallback-curses",
                "--disable-pinentry-curses",
                "--disable-pinentry-emacs",
                "--disable-pinentry-gtk2",
                "--disable-pinentry-qt5",
                "--disable-pinentry-tty",
                "--disable-pinentry-tqt",
                "--disable-pinentry-fltk"
            ],
            "cleanup": [
                "/share/info"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.2.0.tar.bz2",
                    "sha256": "10072045a3e043d0581f91cd5676fcac7ffee957a16636adedaa4f583a616470"
                }
            ]
        },
        {
            "name": "bogofilter",
            "buildsystem": "simple",
            "build-commands": [
                "cd ./bogofilter/ && echo \"# Skip for Flatpak build\" > doc/Makefile.am && autoreconf -fi && ./configure --prefix=/app --disable-rpath --with-database=sqlite3 && make && make install"
            ],
            "cleanup": [
                "/etc"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://git.code.sf.net/p/bogofilter/git",
                    "branch": "main"
                }
            ]
        },
        {
            "name": "libmspack",
            "cleanup": [
                "/bin"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://www.cabextract.org.uk/libmspack/libmspack-0.10.1alpha.tar.gz",
                    "sha256": "bac862dee6e0fc10d92c70212441d9f8ad9b0222edc9a708c3ead4adb1b24a8e"
                }
            ]
        },
        {
            "name": "evolution-data-server",
            "buildsystem": "cmake-ninja",
            "cleanup": [
                "/etc/xdg",
                "/share/GConf"
            ],
            "config-opts": [
                "-DDBUS_SERVICES_PREFIX=org.gnome.Evolution",
                "-DENABLE_FILE_LOCKING=fcntl",
                "-DENABLE_DOT_LOCKING=OFF",
                "-DENABLE_OAUTH2=ON",
                "-DENABLE_GTK=ON",
                "-DENABLE_GOA=ON",
                "-DENABLE_EXAMPLES=OFF",
                "-DENABLE_INTROSPECTION=OFF",
                "-DENABLE_VALA_BINDINGS=OFF",
                "-DENABLE_INSTALLED_TESTS=OFF",
                "-DENABLE_GTK_DOC=OFF",
                "-DWITH_LIBDB=OFF",
                "-DWITH_PRIVATE_DOCS=OFF",
                "-DWITH_PHONENUMBER=OFF",
                "-DWITH_SYSTEMDUSERUNITDIR=OFF"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/GNOME/evolution-data-server.git",
                    "branch": "master"
                }
            ],
            "post-install": [
                "cp NEWS /app/share/NEWS.eds"
            ]
        },
        {
            "name": "cmark",
            "buildsystem": "cmake-ninja",
            "builddir": true,
            "cleanup": [
                "/bin",
                "/lib/cmake",
                "/share"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://github.com/commonmark/cmark/archive/refs/tags/0.30.2.tar.gz",
                    "sha256": "6c7d2bcaea1433d977d8fed0b55b71c9d045a7cdf616e3cd2dce9007da753db3"
                }
            ]
        },
        {
            "name": "libsecret",
            "buildsystem": "meson",
            "config-opts": [
                "-Dmanpage=false",
                "-Dvapi=false",
                "-Dgtk_doc=false"
            ],
            "sources": [
                {
                    "type": "archive",
                    "url": "https://download.gnome.org/sources/libsecret/0.19/libsecret-0.19.1.tar.xz",
                    "sha256": "8583e10179456ae2c83075d95455f156dc08db6278b32bf4bd61819335a30e3a"
                }
            ]
        },
        {
            "name": "evolution-ews",
            "buildsystem": "cmake-ninja",
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/GNOME/evolution-ews.git",
                    "branch": "master"
                }
            ],
            "post-install": [
                "cp NEWS /app/share/NEWS.ews"
            ]
        },
        {
            "name": "evolution-wrapper",
            "buildsystem": "simple",
            "sources": [
                {
                    "type": "file",
                    "path": "evolution-fix-service-names.sh"
                },
                {
                    "type": "file",
                    "path": "evolution-wrapper.sh.in"
                }
            ],
            "build-commands": [
                "./evolution-fix-service-names.sh <evolution-wrapper.sh.in >evolution-wrapper.sh",
                "chmod a+x evolution-wrapper.sh",
                "mv /app/bin/evolution /app/bin/evolution.bin",
                "cp evolution-wrapper.sh /app/bin/evolution"
            ]
        },
        {
            "name": "evolution",
            "buildsystem": "cmake-ninja",
            "config-opts": [
                "-DENABLE_AUTOAR=OFF",
                "-DENABLE_CONTACT_MAPS=OFF",
                "-DENABLE_GNOME_DESKTOP=OFF",
                "-DENABLE_GTK_DOC=OFF",
                "-DENABLE_INSTALLED_TESTS=OFF",
                "-DENABLE_PST_IMPORT=OFF",
                "-DENABLE_TEXT_HIGHLIGHT=OFF",
                "-DENABLE_YTNEF=OFF",
                "-DWITH_BOGOFILTER=/app/bin/bogofilter",
                "-DWITH_GLADE_CATALOG=OFF",
                "-DWITH_HELP=OFF",
                "-DWITH_WMCLASS_OVERRIDE=evolution.bin"
            ],
            "cleanup": [
                "/etc/xdg",
                "/share/GConf",
                "/share/man"
            ],
            "sources": [
                {
                    "type": "git",
                    "url": "https://gitlab.gnome.org/GNOME/evolution.git",
                    "branch": "master"
                },
                {
                    "type": "shell",
                    "commands": [
                        "cp config.h.in config.h.in.orig",
                        "cat config.h.in.orig | sed -e \"s|\\@VERSION_SUBSTRING\\@| \\(flatpak git$(git log --pretty=format:%h --max-count=1)\\)|\" >config.h.in",
                        "cp data/org.gnome.Evolution.appdata.xml.in.in data/org.gnome.Evolution.appdata.xml.in.in.orig",
                        "cat data/org.gnome.Evolution.appdata.xml.in.in.orig | sed -e \"s|\\@APPDATA_RELEASES\\@|APPDATA_RELEASES|\" >data/org.gnome.Evolution.appdata.xml.in.in"
                    ]
                }
            ],
            "post-install": [
                "cp NEWS /app/share/NEWS.evo",
                "mv /app/share/metainfo/org.gnome.Evolution.appdata.xml /app/share/"
            ]
        }
    ]
}