blob: decae6b2c7696994a5ccc6860fd8d269c87969ef [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001SUMMARY = "Geary is an email application built around conversations, for the GNOME 3 desktop."
2SECTION = "network"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "LGPL-2.1-only"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004LIC_FILES_CHKSUM = "file://COPYING;md5=2a2244d5a13871ad950c55877546a6a2"
5
6DEPENDS = " \
7 appstream-glib \
8 cairo \
Patrick Williams7784c422022-11-17 07:29:11 -06009 desktop-file-utils-native \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000010 enchant2 \
11 evolution-data-server \
12 folks \
Andrew Geissler517393d2023-01-13 08:55:19 -060013 gcr3 \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000014 gmime \
15 gnome-online-accounts \
16 gsound \
17 gspell \
18 gtk+3 \
19 icu \
20 iso-codes \
21 json-glib \
22 libhandy \
23 libical \
24 libpeas \
25 libsecret \
26 libstemmer \
27 libxml2 \
28 sqlite3 \
Patrick Williams2a254922023-08-11 09:48:11 -050029 webkitgtk3 \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000030"
31
32RDEPENDS:${PN} = "gnome-keyring"
33
Andrew Geissler9aee5002022-03-30 16:27:02 +000034inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala features_check
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000035
36SRC_URI = " \
37 git://github.com/GNOME/geary.git;nobranch=1;protocol=https \
Andrew Geissler028142b2023-05-05 11:29:21 -050038 file://0001-meson-Use-PKG_CONFIG_SYSROOT_DIR-when-using-pkg-conf.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000039"
40
41S = "${WORKDIR}/git"
Andrew Geissler5082cc72023-09-11 08:41:39 -040042SRCREV = "37c378a563d5b1c269d57c34671edc940d1cd180"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000043
Andrew Geissler78b72792022-06-14 06:47:25 -050044ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
Andrew Geissler517393d2023-01-13 08:55:19 -060045REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000046
47GIR_MESON_OPTION = ""
48EXTRA_OEMESON = "-Dprofile=release"
49
50PACKAGECONFIG[libunwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
51PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"
52PACKAGECONFIG[valadoc] = "-Dvaladoc=enabled,-Dvaladoc=disabled"
53
54PACKAGECONFIG ??= ""
Andrew Geissler87f5cff2022-09-30 13:13:31 -050055# rfc822/rfc822-message.c:2097:12: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gboolean' (aka 'int') [-Wint-conversion]
56#| return NULL;
57#| ^~~~
58CFLAGS:append:toolchain-clang = " -Wno-error=int-conversion"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000059
60FILES:${PN} += "${datadir}"
61