Gentoo Archives: gentoo-commits

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