1 |
commit: c503f2b8ecf756b8100a0cdcced0f46e98cfc3ef |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 16:23:08 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 16:24:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c503f2b8 |
7 |
|
8 |
gnome-extra/evolution-data-server: Version bump to 3.40.1 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
gnome-extra/evolution-data-server/Manifest | 1 + |
13 |
.../evolution-data-server-3.40.1.ebuild | 152 +++++++++++++++++++++ |
14 |
2 files changed, 153 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest |
17 |
index 334e623c8c0..122e6c00006 100644 |
18 |
--- a/gnome-extra/evolution-data-server/Manifest |
19 |
+++ b/gnome-extra/evolution-data-server/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST evolution-data-server-3.38.4.tar.xz 4663372 BLAKE2B 1be9159e210b88577dd367a64967aca1facea1c2f4a1611bdf773f8d01c2f4bacfa0eaaca37a9f094570c7897fc4a7be89bd303ce0739bd7f2fc925ac148bd84 SHA512 0b70850519316dd361e6d04607f3f9e4afe1bd0869a34e8403f02cefa7cc5ee683645031e337b6dcba4d89461aa7954e8d36d9c5b1c5bf12fd53b5411b908c3f |
22 |
DIST evolution-data-server-3.40.0.tar.xz 4623568 BLAKE2B 4c0b8de1eb9129e351f90477f06bcaa6b9f37b0d616df3dc2c53635e0f2ea3520546be7f88dd1ee68d32a37b385e68f5c48ca79d36c63a0f9d10261b557162c4 SHA512 d31ef0d270ef64909150c0e087835bb6308125155664eee3375be6a59c9c43cd251e9617adbf819846a7d9bb73309ec51699159ee06465266193ad5dea3c0a00 |
23 |
+DIST evolution-data-server-3.40.1.tar.xz 4625316 BLAKE2B d795183d07bc7b58a00e3c6f60d3704cf7e0cc6237b079c49f2e21dd7c22098c2b7b3fd2ca50fd3d9268aff8e5eaeea2e0e6c65d09c8bd68b7364445eb926c7c SHA512 47964a0965d412c329743423483c6694d078835b375d457aabe7e45a2b1b3406e4e0d4c1b855460f3c9b327d4d9320e659b0e43243816ec1e9bc49d0fea90f7d |
24 |
|
25 |
diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.40.1.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.40.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..02f51c3698c |
28 |
--- /dev/null |
29 |
+++ b/gnome-extra/evolution-data-server/evolution-data-server-3.40.1.ebuild |
30 |
@@ -0,0 +1,152 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+VALA_USE_DEPEND="vapigen" |
36 |
+ |
37 |
+inherit cmake db-use flag-o-matic gnome2 systemd vala virtualx |
38 |
+ |
39 |
+DESCRIPTION="Evolution groupware backend" |
40 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" |
41 |
+ |
42 |
+# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". |
43 |
+LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat" |
44 |
+SLOT="0/62-26-20" # subslot = libcamel-1.2/libedataserver-1.2/libebook-1.2.so soname version |
45 |
+ |
46 |
+IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather" |
47 |
+REQUIRED_USE="vala? ( introspection )" |
48 |
+ |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris" |
50 |
+ |
51 |
+# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks |
52 |
+# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512 |
53 |
+gdata_depend=">=dev-libs/libgdata-0.17.7:=[vala?]" |
54 |
+RDEPEND=" |
55 |
+ >=app-crypt/gcr-3.4 |
56 |
+ >=app-crypt/libsecret-0.5[crypt] |
57 |
+ >=dev-db/sqlite-3.7.17:= |
58 |
+ >=dev-libs/glib-2.46:2 |
59 |
+ >=dev-libs/libical-3.0.8:=[glib,introspection?] |
60 |
+ >=dev-libs/libxml2-2 |
61 |
+ >=dev-libs/nspr-4.4:= |
62 |
+ >=dev-libs/nss-3.9:= |
63 |
+ >=net-libs/libsoup-2.58:2.4 |
64 |
+ |
65 |
+ dev-libs/icu:= |
66 |
+ sys-libs/zlib:= |
67 |
+ virtual/libiconv |
68 |
+ |
69 |
+ berkdb? ( >=sys-libs/db-4:= ) |
70 |
+ gtk? ( |
71 |
+ >=app-crypt/gcr-3.4[gtk] |
72 |
+ >=x11-libs/gtk+-3.16:3 |
73 |
+ >=media-libs/libcanberra-0.25[gtk3] |
74 |
+ ) |
75 |
+ oauth? ( |
76 |
+ >=dev-libs/json-glib-1.0.4 |
77 |
+ >=net-libs/webkit-gtk-2.28.0:4 |
78 |
+ ${gdata_depend} |
79 |
+ ) |
80 |
+ gnome-online-accounts? ( |
81 |
+ >=net-libs/gnome-online-accounts-3.8:= |
82 |
+ ${gdata_depend} ) |
83 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.12:= ) |
84 |
+ kerberos? ( virtual/krb5:= ) |
85 |
+ ldap? ( >=net-nds/openldap-2:= ) |
86 |
+ weather? ( >=dev-libs/libgweather-3.10:2= ) |
87 |
+" |
88 |
+DEPEND="${RDEPEND} |
89 |
+ vala? ( $(vala_depend) |
90 |
+ net-libs/libsoup:2.4[vala] |
91 |
+ dev-libs/libical[vala] |
92 |
+ ) |
93 |
+" |
94 |
+BDEPEND=" |
95 |
+ dev-util/gdbus-codegen |
96 |
+ dev-util/glib-utils |
97 |
+ dev-util/gperf |
98 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.14 |
99 |
+ app-text/docbook-xml-dtd:4.1.2 ) |
100 |
+ >=dev-util/intltool-0.35.5 |
101 |
+ >=sys-devel/gettext-0.18.3 |
102 |
+ virtual/pkgconfig |
103 |
+" |
104 |
+ |
105 |
+# Some tests fail due to missing locales. |
106 |
+# Also, dbus tests are flaky, bugs #397975 #501834 |
107 |
+# It looks like a nightmare to disable those for now. |
108 |
+RESTRICT="test !test? ( test )" |
109 |
+ |
110 |
+# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call |
111 |
+src_prepare() { |
112 |
+ use vala && vala_src_prepare |
113 |
+ cmake_src_prepare |
114 |
+ gnome2_src_prepare |
115 |
+ |
116 |
+ eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch |
117 |
+ |
118 |
+ # Make CMakeLists versioned vala enabled |
119 |
+ sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \ |
120 |
+ -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \ |
121 |
+ -i "${S}"/CMakeLists.txt || die |
122 |
+} |
123 |
+ |
124 |
+src_configure() { |
125 |
+ # /usr/include/db.h is always db-1 on FreeBSD |
126 |
+ # so include the right dir in CPPFLAGS |
127 |
+ use berkdb && append-cppflags "-I$(db_includedir)" |
128 |
+ |
129 |
+ local google_enable |
130 |
+ if use oauth || use gnome-online-accounts; then |
131 |
+ google_enable="ON" |
132 |
+ else |
133 |
+ google_enable="OFF" |
134 |
+ fi |
135 |
+ |
136 |
+ # phonenumber does not exist in tree |
137 |
+ local mycmakeargs=( |
138 |
+ -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc |
139 |
+ -DENABLE_GTK_DOC=$(usex gtk-doc) |
140 |
+ -DWITH_PRIVATE_DOCS=$(usex gtk-doc) |
141 |
+ -DENABLE_SCHEMAS_COMPILE=OFF |
142 |
+ -DENABLE_INTROSPECTION=$(usex introspection) |
143 |
+ -DWITH_KRB5=$(usex kerberos) |
144 |
+ -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "") |
145 |
+ -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "") |
146 |
+ -DWITH_OPENLDAP=$(usex ldap) |
147 |
+ -DWITH_PHONENUMBER=OFF |
148 |
+ -DENABLE_SMIME=ON |
149 |
+ -DENABLE_GTK=$(usex gtk) |
150 |
+ -DENABLE_CANBERRA=$(usex gtk) |
151 |
+ -DENABLE_OAUTH2=$(usex oauth) |
152 |
+ -DENABLE_EXAMPLES=OFF |
153 |
+ -DENABLE_GOA=$(usex gnome-online-accounts) |
154 |
+ -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF) |
155 |
+ # ENABLE_BACKTRACES requires libdwarf ? |
156 |
+ -DENABLE_IPV6=$(usex ipv6) |
157 |
+ -DENABLE_WEATHER=$(usex weather) |
158 |
+ -DENABLE_GOOGLE=${google_enable} |
159 |
+ -DENABLE_LARGEFILE=ON |
160 |
+ -DENABLE_VALA_BINDINGS=$(usex vala) |
161 |
+ ) |
162 |
+ |
163 |
+ cmake_src_configure |
164 |
+} |
165 |
+ |
166 |
+src_compile() { |
167 |
+ cmake_src_compile |
168 |
+} |
169 |
+ |
170 |
+src_test() { |
171 |
+ virtx cmake_src_test |
172 |
+} |
173 |
+ |
174 |
+src_install() { |
175 |
+ cmake_src_install |
176 |
+ |
177 |
+ if use ldap; then |
178 |
+ insinto /etc/openldap/schema |
179 |
+ doins "${FILESDIR}"/calentry.schema |
180 |
+ dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema |
181 |
+ fi |
182 |
+} |