1 |
commit: 4333e7576315c063413758ba4ab286b588297907 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 2 20:09:10 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 2 20:13:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4333e757 |
7 |
|
8 |
mail-client/geary: ensure enchant:2 gets used |
9 |
|
10 |
Subslot operator dep is rather iffy here, so ensure enchant:2 |
11 |
gets used in a revbump - now that we can |
12 |
|
13 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
14 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
15 |
|
16 |
mail-client/geary/geary-3.34.2-r2.ebuild | 101 +++++++++++++++++++++++++++++++ |
17 |
1 file changed, 101 insertions(+) |
18 |
|
19 |
diff --git a/mail-client/geary/geary-3.34.2-r2.ebuild b/mail-client/geary/geary-3.34.2-r2.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..77609b82a51 |
22 |
--- /dev/null |
23 |
+++ b/mail-client/geary/geary-3.34.2-r2.ebuild |
24 |
@@ -0,0 +1,101 @@ |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+VALA_MIN_API_VERSION="0.44" |
30 |
+ |
31 |
+inherit gnome.org gnome2-utils meson vala virtualx xdg |
32 |
+ |
33 |
+DESCRIPTION="A lightweight, easy-to-use, feature-rich email client" |
34 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Geary" |
35 |
+ |
36 |
+LICENSE="LGPL-2.1+ BSD-2 CC-BY-3.0 CC-BY-SA-3.0" # code is LGPL-2.1+, BSD-2 for bundled snowball-stemmer, CC licenses for some icons |
37 |
+SLOT="0" |
38 |
+ |
39 |
+IUSE="ytnef" |
40 |
+ |
41 |
+KEYWORDS="~amd64 ~x86" |
42 |
+ |
43 |
+# for now both enchants work, but ensuring enchant:2 |
44 |
+# FIXME: add valadoc support |
45 |
+ |
46 |
+# >=webkit-gtk-2.26 dep to ensure HAS_WEBKIT_SHARED_PROC is handled for it. |
47 |
+# If not, it could be compiled against 2.24 and then webkit-gtk upgraded and |
48 |
+# geary not rebuilt, ending up in geary issues #558 and #559 still. |
49 |
+DEPEND=" |
50 |
+ >=dev-libs/glib-2.54:2 |
51 |
+ >=x11-libs/gtk+-3.24.7:3 |
52 |
+ >=net-libs/webkit-gtk-2.26:4= |
53 |
+ >=dev-libs/gmime-2.6.17:2.6 |
54 |
+ >=dev-db/sqlite-3.12:3 |
55 |
+ |
56 |
+ >=dev-libs/appstream-glib-0.7.10 |
57 |
+ app-text/enchant:2 |
58 |
+ >=dev-libs/folks-0.11:0 |
59 |
+ >=app-crypt/gcr-3.10.1:0= |
60 |
+ >=dev-libs/libgee-0.8.5:0.8= |
61 |
+ net-libs/gnome-online-accounts |
62 |
+ app-text/gspell |
63 |
+ app-text/iso-codes |
64 |
+ >=dev-libs/json-glib-1.0 |
65 |
+ >=media-libs/libcanberra-0.28 |
66 |
+ >=gui-libs/libhandy-0.0.9:0.0= |
67 |
+ >=app-crypt/libsecret-0.11 |
68 |
+ >=net-libs/libsoup-2.48:2.4 |
69 |
+ >=sys-libs/libunwind-1.1:7 |
70 |
+ >=dev-libs/libxml2-2.7.8:2 |
71 |
+ ytnef? ( >=net-mail/ytnef-1.9.3 ) |
72 |
+" |
73 |
+RDEPEND="${DEPEND} |
74 |
+ gnome-base/gsettings-desktop-schemas |
75 |
+" |
76 |
+BDEPEND=" |
77 |
+ dev-util/itstool |
78 |
+ >=sys-devel/gettext-0.19.8 |
79 |
+ virtual/pkgconfig |
80 |
+ |
81 |
+ $(vala_depend) |
82 |
+ x11-libs/gtk+:3[introspection] |
83 |
+ net-libs/webkit-gtk:4[introspection] |
84 |
+ app-crypt/gcr:0[introspection,vala] |
85 |
+ dev-libs/libgee:0.8[introspection] |
86 |
+ app-text/gspell[vala] |
87 |
+ app-crypt/libsecret[introspection,vala] |
88 |
+ net-libs/libsoup:2.4[introspection,vala] |
89 |
+" |
90 |
+ |
91 |
+PATCHES=( |
92 |
+ "${FILESDIR}"/${PV}-fix-ytnef-automagic.patch # https://gitlab.gnome.org/GNOME/geary/merge_requests/390 |
93 |
+) |
94 |
+ |
95 |
+src_prepare() { |
96 |
+ vala_src_prepare |
97 |
+ xdg_src_prepare |
98 |
+} |
99 |
+ |
100 |
+src_configure() { |
101 |
+ local emesonargs=( |
102 |
+ -Dvaladoc=false |
103 |
+ -Dcontractor=false |
104 |
+ -Dpoodle=true |
105 |
+ -Dlibunwind_optional=false # TODO: Automagical if optional=true |
106 |
+ $(meson_use ytnef tnef-support) |
107 |
+ -Dprofile=default |
108 |
+ ) |
109 |
+ |
110 |
+ meson_src_configure |
111 |
+} |
112 |
+ |
113 |
+src_test() { |
114 |
+ virtx meson_src_test |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ xdg_pkg_postinst |
119 |
+ gnome2_schemas_update |
120 |
+} |
121 |
+ |
122 |
+pkg_postrm() { |
123 |
+ xdg_pkg_postrm |
124 |
+ gnome2_schemas_update |
125 |
+} |