Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/
Date: Sat, 17 Apr 2021 01:21:01
Message-Id: 1618622446.41611a62c1fc642bbc590c083c7fc81e3bf26679.mattst88@gentoo
1 commit: 41611a62c1fc642bbc590c083c7fc81e3bf26679
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 23:07:03 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 01:20:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41611a62
7
8 gnome-extra/evolution-data-server: Version bump to 3.40.0
9
10 Closes: https://bugs.gentoo.org/724350
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 gnome-extra/evolution-data-server/Manifest | 1 +
14 .../evolution-data-server-3.40.0.ebuild | 153 +++++++++++++++++++++
15 2 files changed, 154 insertions(+)
16
17 diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest
18 index 5bf89974de4..334e623c8c0 100644
19 --- a/gnome-extra/evolution-data-server/Manifest
20 +++ b/gnome-extra/evolution-data-server/Manifest
21 @@ -1 +1,2 @@
22 DIST evolution-data-server-3.38.4.tar.xz 4663372 BLAKE2B 1be9159e210b88577dd367a64967aca1facea1c2f4a1611bdf773f8d01c2f4bacfa0eaaca37a9f094570c7897fc4a7be89bd303ce0739bd7f2fc925ac148bd84 SHA512 0b70850519316dd361e6d04607f3f9e4afe1bd0869a34e8403f02cefa7cc5ee683645031e337b6dcba4d89461aa7954e8d36d9c5b1c5bf12fd53b5411b908c3f
23 +DIST evolution-data-server-3.40.0.tar.xz 4623568 BLAKE2B 4c0b8de1eb9129e351f90477f06bcaa6b9f37b0d616df3dc2c53635e0f2ea3520546be7f88dd1ee68d32a37b385e68f5c48ca79d36c63a0f9d10261b557162c4 SHA512 d31ef0d270ef64909150c0e087835bb6308125155664eee3375be6a59c9c43cd251e9617adbf819846a7d9bb73309ec51699159ee06465266193ad5dea3c0a00
24
25 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.40.0.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.40.0.ebuild
26 new file mode 100644
27 index 00000000000..b3be8a8da1f
28 --- /dev/null
29 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.40.0.ebuild
30 @@ -0,0 +1,153 @@
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:="
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 + eapply "${FILESDIR}"/3.38-PrintableOptions.cmake-Correct-variable-name-compari.patch
118 +
119 + # Make CMakeLists versioned vala enabled
120 + sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
121 + -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
122 + -i "${S}"/CMakeLists.txt || die
123 +}
124 +
125 +src_configure() {
126 + # /usr/include/db.h is always db-1 on FreeBSD
127 + # so include the right dir in CPPFLAGS
128 + use berkdb && append-cppflags "-I$(db_includedir)"
129 +
130 + local google_enable
131 + if use oauth || use gnome-online-accounts; then
132 + google_enable="ON"
133 + else
134 + google_enable="OFF"
135 + fi
136 +
137 + # phonenumber does not exist in tree
138 + local mycmakeargs=(
139 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
140 + -DENABLE_GTK_DOC=$(usex gtk-doc)
141 + -DWITH_PRIVATE_DOCS=$(usex gtk-doc)
142 + -DENABLE_SCHEMAS_COMPILE=OFF
143 + -DENABLE_INTROSPECTION=$(usex introspection)
144 + -DWITH_KRB5=$(usex kerberos)
145 + -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
146 + -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
147 + -DWITH_OPENLDAP=$(usex ldap)
148 + -DWITH_PHONENUMBER=OFF
149 + -DENABLE_SMIME=ON
150 + -DENABLE_GTK=$(usex gtk)
151 + -DENABLE_CANBERRA=$(usex gtk)
152 + -DENABLE_OAUTH2=$(usex oauth)
153 + -DENABLE_EXAMPLES=OFF
154 + -DENABLE_GOA=$(usex gnome-online-accounts)
155 + -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
156 + # ENABLE_BACKTRACES requires libdwarf ?
157 + -DENABLE_IPV6=$(usex ipv6)
158 + -DENABLE_WEATHER=$(usex weather)
159 + -DENABLE_GOOGLE=${google_enable}
160 + -DENABLE_LARGEFILE=ON
161 + -DENABLE_VALA_BINDINGS=$(usex vala)
162 + )
163 +
164 + cmake_src_configure
165 +}
166 +
167 +src_compile() {
168 + cmake_src_compile
169 +}
170 +
171 +src_test() {
172 + virtx cmake_src_test
173 +}
174 +
175 +src_install() {
176 + cmake_src_install
177 +
178 + if use ldap; then
179 + insinto /etc/openldap/schema
180 + doins "${FILESDIR}"/calentry.schema
181 + dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
182 + fi
183 +}