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: Sat, 02 Jul 2016 13:31:12
Message-Id: 1467466244.d574bc5fa8f3892b7a9e15c50471ac05f63d88dc.pacho@gentoo
1 commit: d574bc5fa8f3892b7a9e15c50471ac05f63d88dc
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 13:07:43 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 13:30:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d574bc5f
7
8 gnome-extra/evolution-data-server: Version bump
9
10 Package-Manager: portage-2.3.0_rc1
11
12 gnome-extra/evolution-data-server/Manifest | 1 +
13 .../evolution-data-server-3.20.3.ebuild | 137 +++++++++++++++++++++
14 2 files changed, 138 insertions(+)
15
16 diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest
17 index e20c3a5..9173bbf 100644
18 --- a/gnome-extra/evolution-data-server/Manifest
19 +++ b/gnome-extra/evolution-data-server/Manifest
20 @@ -1 +1,2 @@
21 DIST evolution-data-server-3.18.5.tar.xz 5414416 SHA256 a897c789925e86df31a1c78212b431cca13dc4d5a3d87e1fb3d507df3994e8e1 SHA512 10b17b771dbb55ad8320b742d96f6d720f3245bed24fdc415027df6920b0847afa89eb839cd5d4613c0ec40972634c7c695e4ea0ce819973eab0de99987c253e WHIRLPOOL 3c95f43113882409bf85b8f97d49cea74e857ce4c562b625b0936bd014b0799ea16b6c7d2d9c0c0cdbd1f6ce7daf509c15d6413b26f275050da30030a5f0d2a3
22 +DIST evolution-data-server-3.20.3.tar.xz 5066976 SHA256 910360685d832c97f617f02aa5a8eb10a9c0d7d7d5a8758b50aa6b88a60bee48 SHA512 94ea870056c34b75a348ee480d92f368629b500b07e505de9a884ff78b5677aed584bfc2189b55cd5b23fa5ed2d1add82d2e45c83db9ebc29adca12d880a0a50 WHIRLPOOL c39b7998b0eec497ee37aefe1b860cba6bf2ee724371605bc6c1b86aca7fc1bb418c2ebbfbc87fd62df29f65bdba43a1c97273db448994b1b88608803706b8e1
23
24 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.20.3.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.20.3.ebuild
25 new file mode 100644
26 index 0000000..b71a107
27 --- /dev/null
28 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.20.3.ebuild
29 @@ -0,0 +1,137 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=6
35 +GNOME2_LA_PUNT="yes"
36 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
37 +VALA_USE_DEPEND="vapigen"
38 +
39 +inherit db-use flag-o-matic gnome2 python-any-r1 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/57" # subslot = libcamel-1.2 soname version
47 +
48 +IUSE="api-doc-extras +berkdb +gnome-online-accounts +gtk google +introspection ipv6 ldap kerberos vala +weather"
49 +REQUIRED_USE="vala? ( introspection )"
50 +
51 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
52 +
53 +# sys-libs/db is only required for migrating from <3.13 versions
54 +# gdata-0.15.1 is required for google tasks
55 +# berkdb needed only for migrating old calendar data, bug #519512
56 +RDEPEND="
57 + >=app-crypt/gcr-3.4
58 + >=app-crypt/libsecret-0.5[crypt]
59 + >=dev-db/sqlite-3.7.17:=
60 + >=dev-libs/glib-2.40:2
61 + >=dev-libs/libgdata-0.10:=
62 + >=dev-libs/libical-0.43:=
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 + )
77 + google? (
78 + >=dev-libs/json-glib-1.0.4
79 + >=dev-libs/libgdata-0.15.1:=
80 + >=net-libs/webkit-gtk-2.4.9:3
81 + )
82 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.8:= )
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 + ${PYTHON_DEPS}
90 + dev-util/gdbus-codegen
91 + dev-util/gperf
92 + >=dev-util/gtk-doc-am-1.14
93 + >=dev-util/intltool-0.35.5
94 + >=sys-devel/gettext-0.17
95 + virtual/pkgconfig
96 + vala? ( $(vala_depend) )
97 +"
98 +
99 +# eautoreconf needs:
100 +# >=gnome-base/gnome-common-2
101 +
102 +# Some tests fail due to missings locales.
103 +# Also, dbus tests are flacky, bugs #397975 #501834
104 +# It looks like a nightmare to disable those for now.
105 +RESTRICT="test"
106 +
107 +pkg_setup() {
108 + python-any-r1_pkg_setup
109 +}
110 +
111 +src_prepare() {
112 + use vala && vala_src_prepare
113 + gnome2_src_prepare
114 +}
115 +
116 +src_configure() {
117 + # /usr/include/db.h is always db-1 on FreeBSD
118 + # so include the right dir in CPPFLAGS
119 + use berkdb && append-cppflags "-I$(db_includedir)"
120 +
121 + # phonenumber does not exist in tree
122 + gnome2_src_configure \
123 + $(use_enable api-doc-extras gtk-doc) \
124 + $(use_with api-doc-extras private-docs) \
125 + $(usex berkdb --with-libdb="${EPREFIX}"/usr --with-libdb=no) \
126 + $(use_enable gnome-online-accounts goa) \
127 + $(use_enable gtk) \
128 + $(use_enable google google-auth) \
129 + $(use_enable google) \
130 + $(use_enable introspection) \
131 + $(use_enable ipv6) \
132 + $(use_with kerberos krb5 "${EPREFIX}"/usr) \
133 + $(use_with kerberos krb5-libs "${EPREFIX}"/usr/$(get_libdir)) \
134 + $(use_with ldap openldap) \
135 + $(use_enable vala vala-bindings) \
136 + $(use_enable weather) \
137 + --enable-largefile \
138 + --enable-smime \
139 + --without-phonenumber \
140 + --disable-examples \
141 + --disable-uoa
142 +}
143 +
144 +src_test() {
145 + unset ORBIT_SOCKETDIR
146 + unset SESSION_MANAGER
147 + virtx emake check
148 +}
149 +
150 +src_install() {
151 + gnome2_src_install
152 +
153 + if use ldap; then
154 + insinto /etc/openldap/schema
155 + doins "${FILESDIR}"/calentry.schema
156 + dosym /usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
157 + fi
158 +}
159 +
160 +pkg_postinst() {
161 + gnome2_pkg_postinst
162 + if ! use berkdb; then
163 + ewarn "You will need to enable berkdb USE for migrating old"
164 + ewarn "(pre-3.12 evolution versions) addressbook data"
165 + fi
166 +}