1 |
commit: d6c0a730d416f1f7ae2393c7eac9b6e5eb715eb5 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 2 12:24:41 2019 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 2 12:25:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d6c0a730 |
7 |
|
8 |
gnome-extra/evolution-data-server: 3.30.5-r1 → 3.32.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.65, Repoman-2.3.12 |
11 |
Signed-off-by: Sobhan Mohammadpour <sobhan <AT> gentoo.org> |
12 |
|
13 |
.../evolution-data-server-3.32.1.ebuild | 152 +++++++++++++++++++++ |
14 |
gnome-extra/evolution-data-server/metadata.xml | 10 +- |
15 |
2 files changed, 159 insertions(+), 3 deletions(-) |
16 |
|
17 |
diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.32.1.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.32.1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000..3526183c |
20 |
--- /dev/null |
21 |
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.32.1.ebuild |
22 |
@@ -0,0 +1,152 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) |
28 |
+VALA_USE_DEPEND="vapigen" |
29 |
+ |
30 |
+inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx |
31 |
+ |
32 |
+DESCRIPTION="Evolution groupware backend" |
33 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" |
34 |
+ |
35 |
+# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". |
36 |
+LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat" |
37 |
+SLOT="0/62" # subslot = libcamel-1.2 soname version |
38 |
+ |
39 |
+IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather" |
40 |
+REQUIRED_USE="vala? ( introspection )" |
41 |
+ |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" |
43 |
+ |
44 |
+# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks |
45 |
+# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512 |
46 |
+# >=libical-3.0.2 present at build-time ensures less memory usage by calendar backend |
47 |
+gdata_depend=">=dev-libs/libgdata-0.17.7:=" |
48 |
+RDEPEND=" |
49 |
+ >=app-crypt/gcr-3.4 |
50 |
+ >=app-crypt/libsecret-0.5[crypt] |
51 |
+ >=dev-db/sqlite-3.7.17:= |
52 |
+ >=dev-libs/glib-2.46:2 |
53 |
+ >=dev-libs/libical-3.0.2:= |
54 |
+ >=dev-libs/libxml2-2 |
55 |
+ >=dev-libs/nspr-4.4:= |
56 |
+ >=dev-libs/nss-3.9:= |
57 |
+ >=net-libs/libsoup-2.42:2.4 |
58 |
+ |
59 |
+ dev-libs/icu:= |
60 |
+ sys-libs/zlib:= |
61 |
+ virtual/libiconv |
62 |
+ |
63 |
+ berkdb? ( >=sys-libs/db-4:= ) |
64 |
+ gtk? ( |
65 |
+ >=app-crypt/gcr-3.4[gtk] |
66 |
+ >=x11-libs/gtk+-3.10:3 |
67 |
+ >=media-libs/libcanberra-0.25[gtk3] |
68 |
+ ) |
69 |
+ oauth? ( |
70 |
+ >=dev-libs/json-glib-1.0.4 |
71 |
+ >=net-libs/webkit-gtk-2.11.91:4 |
72 |
+ ${gdata_depend} |
73 |
+ ) |
74 |
+ gnome-online-accounts? ( |
75 |
+ >=net-libs/gnome-online-accounts-3.8:= |
76 |
+ ${gdata_depend} ) |
77 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
78 |
+ kerberos? ( virtual/krb5:= ) |
79 |
+ ldap? ( >=net-nds/openldap-2:= ) |
80 |
+ weather? ( >=dev-libs/libgweather-3.10:2= ) |
81 |
+" |
82 |
+DEPEND="${RDEPEND} |
83 |
+ ${PYTHON_DEPS} |
84 |
+ dev-util/gdbus-codegen |
85 |
+ dev-util/glib-utils |
86 |
+ dev-util/gperf |
87 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.14 ) |
88 |
+ >=dev-util/intltool-0.35.5 |
89 |
+ >=sys-devel/gettext-0.18.3 |
90 |
+ virtual/pkgconfig |
91 |
+ vala? ( $(vala_depend) ) |
92 |
+" |
93 |
+ |
94 |
+# Some tests fail due to missing locales. |
95 |
+# Also, dbus tests are flaky, bugs #397975 #501834 |
96 |
+# It looks like a nightmare to disable those for now. |
97 |
+RESTRICT="test !test? ( test )" |
98 |
+ |
99 |
+pkg_setup() { |
100 |
+ python-any-r1_pkg_setup |
101 |
+} |
102 |
+ |
103 |
+# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call |
104 |
+src_prepare() { |
105 |
+ use vala && vala_src_prepare |
106 |
+ cmake-utils_src_prepare |
107 |
+ gnome2_src_prepare |
108 |
+ |
109 |
+ # Make CMakeLists versioned vala enabled |
110 |
+ sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \ |
111 |
+ -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \ |
112 |
+ -i "${S}"/CMakeLists.txt || die |
113 |
+} |
114 |
+ |
115 |
+src_configure() { |
116 |
+ # /usr/include/db.h is always db-1 on FreeBSD |
117 |
+ # so include the right dir in CPPFLAGS |
118 |
+ use berkdb && append-cppflags "-I$(db_includedir)" |
119 |
+ |
120 |
+ local google_enable |
121 |
+ if use oauth || use gnome-online-accounts; then |
122 |
+ google_enable="ON" |
123 |
+ else |
124 |
+ google_enable="OFF" |
125 |
+ fi |
126 |
+ |
127 |
+ # phonenumber does not exist in tree |
128 |
+ local mycmakeargs=( |
129 |
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
130 |
+ -DENABLE_GTK_DOC=$(usex gtk-doc) |
131 |
+ -DWITH_PRIVATE_DOCS=$(usex gtk-doc) |
132 |
+ -DENABLE_SCHEMAS_COMPILE=OFF |
133 |
+ -DENABLE_INTROSPECTION=$(usex introspection) |
134 |
+ -DWITH_KRB5=$(usex kerberos) |
135 |
+ -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "") |
136 |
+ -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "") |
137 |
+ -DWITH_OPENLDAP=$(usex ldap) |
138 |
+ -DWITH_PHONENUMBER=OFF |
139 |
+ -DENABLE_SMIME=ON |
140 |
+ -DENABLE_GTK=$(usex gtk) |
141 |
+ -DENABLE_CANBERRA=$(usex gtk) |
142 |
+ -DENABLE_OAUTH2=$(usex oauth) |
143 |
+ -DENABLE_EXAMPLES=OFF |
144 |
+ -DENABLE_GOA=$(usex gnome-online-accounts) |
145 |
+ -DENABLE_UOA=OFF |
146 |
+ -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF) |
147 |
+ # ENABLE_BACKTRACES requires libdwarf ? |
148 |
+ -DENABLE_IPV6=$(usex ipv6) |
149 |
+ -DENABLE_WEATHER=$(usex weather) |
150 |
+ -DENABLE_GOOGLE=${google_enable} |
151 |
+ -DENABLE_LARGEFILE=ON |
152 |
+ -DENABLE_VALA_BINDINGS=$(usex vala) |
153 |
+ ) |
154 |
+ |
155 |
+ cmake-utils_src_configure |
156 |
+} |
157 |
+ |
158 |
+src_compile() { |
159 |
+ cmake-utils_src_compile |
160 |
+} |
161 |
+ |
162 |
+src_test() { |
163 |
+ virtx cmake-utils_src_test |
164 |
+} |
165 |
+ |
166 |
+src_install() { |
167 |
+ cmake-utils_src_install |
168 |
+ |
169 |
+ if use ldap; then |
170 |
+ insinto /etc/openldap/schema |
171 |
+ doins "${FILESDIR}"/calentry.schema |
172 |
+ dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema |
173 |
+ fi |
174 |
+} |
175 |
|
176 |
diff --git a/gnome-extra/evolution-data-server/metadata.xml b/gnome-extra/evolution-data-server/metadata.xml |
177 |
index 3177c37e..b33a2633 100644 |
178 |
--- a/gnome-extra/evolution-data-server/metadata.xml |
179 |
+++ b/gnome-extra/evolution-data-server/metadata.xml |
180 |
@@ -6,9 +6,13 @@ |
181 |
<name>Gentoo GNOME Desktop</name> |
182 |
</maintainer> |
183 |
<use> |
184 |
- <flag name="gnome-online-accounts">Enable using |
185 |
- <pkg>net-libs/gnome-online-accounts</pkg> for authorization</flag> |
186 |
- <flag name="google">Enable support for google authentication, contacts and tasks</flag> |
187 |
+ <flag name="berkdb"><pkg>sys-libs/db</pkg> support needed to migrate old (pre-3.13 evolution versions) addressbook data</flag> |
188 |
+ <flag name="gnome-online-accounts">Enable <pkg>net-libs/gnome-online-accounts</pkg> based Google authentication support</flag> |
189 |
+ <flag name="google">Enable internal Google authentication support. If gnome-online-accounts is enabled and used, this is not necessary, |
190 |
+ but both can be supported at the same time with different setup at runtime</flag> |
191 |
+ <flag name="oauth">Enable internal OAuth2 authentication support for Google and Outlook.com. |
192 |
+ If gnome-online-accounts is enabled and used, this is not necessary, |
193 |
+ but both can be supported at the same time with different setup at runtime</flag> |
194 |
<flag name="weather">Enable optional weather calendar support</flag> |
195 |
</use> |
196 |
</pkgmetadata> |