Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/
Date: Fri, 27 May 2022 10:20:09
Message-Id: 1653646680.56db9fdbb0b6ad18315a7db2ab3864aed6849b75.pacho@gentoo
1 commit: 56db9fdbb0b6ad18315a7db2ab3864aed6849b75
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 10:18:00 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 10:18:00 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56db9fdb
7
8 gnome-extra/evolution-data-server: add 3.44.2
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11
12 gnome-extra/evolution-data-server/Manifest | 1 +
13 .../evolution-data-server-3.44.2.ebuild | 155 +++++++++++++++++++++
14 2 files changed, 156 insertions(+)
15
16 diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest
17 index 6bdd91dec350..a242e0127e0f 100644
18 --- a/gnome-extra/evolution-data-server/Manifest
19 +++ b/gnome-extra/evolution-data-server/Manifest
20 @@ -1,3 +1,4 @@
21 DIST evolution-data-server-3.42.4.tar.xz 4623968 BLAKE2B e2ae0b4dfc6f34fac384093dd52b88fadce70c646d70c7df1758a6d514bcec1f092e8f4d8f28d50651201b45791112f811b94c8083487ca072bd002f6a11b75a SHA512 e2eba6ffeac2924366169cdae4258c7fc7d1172c2aa3a0ced83bea60556627b39ee9ee6f45a64081de232e0c2e801e2cbb19b6fa4a8958ad0f868c87e0b20f4a
22 DIST evolution-data-server-3.44.0.tar.xz 4782136 BLAKE2B 1e1a0419eba31b656107c9ce84f8e6cd4fed37e593417009a6466832ed418e12e8069e989b5eff75e454faeb51429373ddd123eae8a4bc544226d456232376ff SHA512 7c4e7fdc25814b03bf5d6bf3a1d368b318cb093f5656c39dbe59a1b85929a5eb3e6f36135cfcdeb7600baa9f5dedf6ac122974818f7e908b282578bc7122b6b5
23 DIST evolution-data-server-3.44.1.tar.xz 4782040 BLAKE2B d12c885a2e2e0eaccb54c46c83117e70708322169e55fb2ec3e64d4d094042164e7586964aeee45f4648f6506ab01c3bd92349a5a182ef2e1e5cbcc395de9b33 SHA512 d09a9f79e1b93ae112c9ed58d7f71c5034db5c2bdc3db9b452475f1fb490ce7945afaaec5e4f80de033e4280d86a4f7eb8026bdda5a78d03da1f496dce000e6d
24 +DIST evolution-data-server-3.44.2.tar.xz 4783272 BLAKE2B ab559d26345a8a42b350a042474084ecfc0efaba73e2ae7f93d350e8edd040c27600df590f25a9059db670ed0ddd3eaaab92518644db805d2f7beaa2a0c53803 SHA512 cf7fefeb00899cddca0fb9abeddead582ae944f41960c815813312ecf9bde5a19bcd41fa7038eddf7d5c7cf568fda51e9dbb0603bebec54284ce6ac1f9c10305
25
26 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.44.2.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.44.2.ebuild
27 new file mode 100644
28 index 000000000000..768bfb30adc4
29 --- /dev/null
30 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.44.2.ebuild
31 @@ -0,0 +1,155 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cmake db-use flag-o-matic gnome2 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/63-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 ~riscv ~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 +# glib-2.70 for build-time optional GPowerProfileMonitor
54 +gdata_depend=">=dev-libs/libgdata-0.17.7:="
55 +RDEPEND="
56 + >=app-crypt/gcr-3.4
57 + >=app-crypt/libsecret-0.5[crypt]
58 + >=dev-db/sqlite-3.7.17:=
59 + >=dev-libs/glib-2.70:2
60 + >=dev-libs/libical-3.0.8:=[glib,introspection?]
61 + >=dev-libs/libxml2-2
62 + >=dev-libs/nspr-4.4:=
63 + >=dev-libs/nss-3.9:=
64 + >=net-libs/libsoup-2.58:2.4
65 +
66 + dev-libs/icu:=
67 + sys-libs/zlib:=
68 + virtual/libiconv
69 +
70 + berkdb? ( >=sys-libs/db-4:= )
71 + gtk? (
72 + >=app-crypt/gcr-3.4[gtk]
73 + >=x11-libs/gtk+-3.16:3
74 + >=media-libs/libcanberra-0.25[gtk3]
75 + )
76 + oauth? (
77 + >=dev-libs/json-glib-1.0.4
78 + >=net-libs/webkit-gtk-2.28.0:4
79 + ${gdata_depend}
80 + )
81 + gnome-online-accounts? (
82 + >=net-libs/gnome-online-accounts-3.8:=
83 + ${gdata_depend} )
84 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
85 + kerberos? ( virtual/krb5:= )
86 + ldap? ( >=net-nds/openldap-2:= )
87 + weather? ( >=dev-libs/libgweather-3.91.0:4= )
88 +"
89 +DEPEND="${RDEPEND}
90 + vala? ( $(vala_depend)
91 + net-libs/libsoup:2.4[vala]
92 + dev-libs/libical[vala]
93 + oauth? ( dev-libs/libgdata[vala] )
94 + gnome-online-accounts? ( dev-libs/libgdata[vala] )
95 + )
96 +"
97 +BDEPEND="
98 + dev-util/gdbus-codegen
99 + dev-util/glib-utils
100 + dev-util/gperf
101 + gtk-doc? ( >=dev-util/gtk-doc-1.14
102 + app-text/docbook-xml-dtd:4.1.2 )
103 + >=dev-util/intltool-0.35.5
104 + >=sys-devel/gettext-0.18.3
105 + virtual/pkgconfig
106 +"
107 +
108 +# Some tests fail due to missing locales.
109 +# Also, dbus tests are flaky, bugs #397975 #501834
110 +# It looks like a nightmare to disable those for now.
111 +RESTRICT="test !test? ( test )"
112 +
113 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
114 +src_prepare() {
115 + use vala && vala_setup
116 + cmake_src_prepare
117 + gnome2_src_prepare
118 +
119 + eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
120 +
121 + # Make CMakeLists versioned vala enabled
122 + sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
123 + -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
124 + -i "${S}"/CMakeLists.txt || die
125 +}
126 +
127 +src_configure() {
128 + # /usr/include/db.h is always db-1 on FreeBSD
129 + # so include the right dir in CPPFLAGS
130 + use berkdb && append-cppflags "-I$(db_includedir)"
131 +
132 + local google_enable
133 + if use oauth || use gnome-online-accounts; then
134 + google_enable="ON"
135 + else
136 + google_enable="OFF"
137 + fi
138 +
139 + # phonenumber does not exist in tree
140 + local mycmakeargs=(
141 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
142 + -DENABLE_GTK_DOC=$(usex gtk-doc)
143 + -DWITH_PRIVATE_DOCS=$(usex gtk-doc)
144 + -DENABLE_SCHEMAS_COMPILE=OFF
145 + -DENABLE_INTROSPECTION=$(usex introspection)
146 + -DWITH_KRB5=$(usex kerberos)
147 + -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
148 + -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
149 + -DWITH_OPENLDAP=$(usex ldap)
150 + -DWITH_PHONENUMBER=OFF
151 + -DENABLE_SMIME=ON
152 + -DENABLE_GTK=$(usex gtk)
153 + -DENABLE_CANBERRA=$(usex gtk)
154 + -DENABLE_OAUTH2=$(usex oauth)
155 + -DENABLE_EXAMPLES=OFF
156 + -DENABLE_GOA=$(usex gnome-online-accounts)
157 + -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
158 + # ENABLE_BACKTRACES requires libdwarf ?
159 + -DENABLE_IPV6=$(usex ipv6)
160 + -DENABLE_WEATHER=$(usex weather)
161 + -DWITH_GWEATHER4=ON
162 + -DENABLE_GOOGLE=${google_enable}
163 + -DENABLE_LARGEFILE=ON
164 + -DENABLE_VALA_BINDINGS=$(usex vala)
165 + )
166 +
167 + cmake_src_configure
168 +}
169 +
170 +src_compile() {
171 + cmake_src_compile
172 +}
173 +
174 +src_test() {
175 + virtx cmake_src_test
176 +}
177 +
178 +src_install() {
179 + cmake_src_install
180 +
181 + if use ldap; then
182 + insinto /etc/openldap/schema
183 + doins "${FILESDIR}"/calentry.schema
184 + dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
185 + fi
186 +}