Gentoo Archives: gentoo-commits

From: Sobhan Mohammadpour <sobhan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: gnome-extra/evolution-data-server/
Date: Sat, 03 Feb 2018 19:17:17
Message-Id: 1517685324.aeeddfa420473ae41a52a031ad5f468781e6fed6.sobhan@gentoo
1 commit: aeeddfa420473ae41a52a031ad5f468781e6fed6
2 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 3 19:15:24 2018 +0000
4 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 3 19:15:24 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=aeeddfa4
7
8 gnome-extra/evolution-data-server: version bumpt to 3.26.2.1
9
10 Package-Manager: Portage-2.3.23, Repoman-2.3.6
11 Manifest-Sign-Key: 0x7DF238CF0AA182E1
12
13 .../evolution-data-server-3.26.2.1.ebuild | 147 +++++++++++++++++++++
14 1 file changed, 147 insertions(+)
15
16 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.26.2.1.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.26.2.1.ebuild
17 new file mode 100644
18 index 00000000..a04e42ed
19 --- /dev/null
20 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.26.2.1.ebuild
21 @@ -0,0 +1,147 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +GNOME2_LA_PUNT="yes"
27 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
28 +VALA_USE_DEPEND="vapigen"
29 +
30 +inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx
31 +
32 +DESCRIPTION="Evolution groupware backend"
33 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
34 +
35 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
36 +LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
37 +SLOT="0/60" # subslot = libcamel-1.2 soname version
38 +
39 +IUSE="api-doc-extras berkdb +gnome-online-accounts +gtk google +introspection ipv6 ldap kerberos vala +weather"
40 +REQUIRED_USE="vala? ( introspection )"
41 +
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
43 +
44 +# sys-libs/db is only required for migrating from <3.13 versions
45 +# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks
46 +# berkdb needed only for migrating old calendar data, bug #519512
47 +gdata_depend=">=dev-libs/libgdata-0.17.7:="
48 +RDEPEND="
49 + >=app-crypt/gcr-3.4
50 + >=app-crypt/libsecret-0.5[crypt]
51 + >=dev-db/sqlite-3.7.17:=
52 + >=dev-libs/glib-2.46:2
53 + >=dev-libs/libical-2:=
54 + >=dev-libs/libxml2-2
55 + >=dev-libs/nspr-4.4:=
56 + >=dev-libs/nss-3.9:=
57 + >=net-libs/libsoup-2.42:2.4
58 +
59 + dev-libs/icu:=
60 + sys-libs/zlib:=
61 + virtual/libiconv
62 +
63 + berkdb? ( >=sys-libs/db-4:= )
64 + gtk? (
65 + >=app-crypt/gcr-3.4[gtk]
66 + >=x11-libs/gtk+-3.10:3
67 + )
68 + google? (
69 + >=dev-libs/json-glib-1.0.4
70 + >=net-libs/webkit-gtk-2.11.91:4
71 + ${gdata_depend}
72 + )
73 + gnome-online-accounts? (
74 + >=net-libs/gnome-online-accounts-3.8:=
75 + ${gdata_depend} )
76 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
77 + kerberos? ( virtual/krb5:= )
78 + ldap? ( >=net-nds/openldap-2:= )
79 + weather? ( >=dev-libs/libgweather-3.10:2= )
80 +"
81 +DEPEND="${RDEPEND}
82 + ${PYTHON_DEPS}
83 + dev-util/gdbus-codegen
84 + dev-util/gperf
85 + >=dev-util/gtk-doc-am-1.14
86 + >=dev-util/intltool-0.35.5
87 + >=sys-devel/gettext-0.18.3
88 + virtual/pkgconfig
89 + vala? ( $(vala_depend) )
90 +"
91 +
92 +# Some tests fail due to missings locales.
93 +# Also, dbus tests are flacky, bugs #397975 #501834
94 +# It looks like a nightmare to disable those for now.
95 +RESTRICT="test"
96 +
97 +pkg_setup() {
98 + python-any-r1_pkg_setup
99 +}
100 +
101 +src_prepare() {
102 + use vala && vala_src_prepare
103 + gnome2_src_prepare
104 +
105 + # Make CMakeLists versioned vala enabled
106 + sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
107 + -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
108 + -i "${S}"/CMakeLists.txt || die
109 +}
110 +
111 +src_configure() {
112 + # /usr/include/db.h is always db-1 on FreeBSD
113 + # so include the right dir in CPPFLAGS
114 + use berkdb && append-cppflags "-I$(db_includedir)"
115 +
116 + local google_auth_enable
117 + if use google || use gnome-online-accounts; then
118 + google_auth_enable="ON"
119 + else
120 + google_auth_enable="OFF"
121 + fi
122 +
123 + # phonenumber does not exist in tree
124 + local mycmakeargs=(
125 + -DENABLE_GTK_DOC=$(usex api-doc-extras)
126 + -DWITH_PRIVATE_DOCS=$(usex api-doc-extras)
127 + -DENABLE_SCHEMAS_COMPILE=OFF
128 + -DENABLE_INTROSPECTION=$(usex introspection)
129 + -DWITH_KRB5=$(usex kerberos)
130 + -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
131 + -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
132 + -DWITH_OPENLDAP=$(usex ldap)
133 + -DWITH_PHONENUMBER=OFF
134 + -DENABLE_SMIME=ON
135 + -DENABLE_GTK=$(usex gtk)
136 + -DENABLE_GOOGLE_AUTH=${google_auth_enable}
137 + -DENABLE_EXAMPLES=OFF
138 + -DENABLE_GOA=$(usex gnome-online-accounts)
139 + -DENABLE_UOA=OFF
140 + -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
141 + # ENABLE_BACKTRACES requires libdwarf ?
142 + -DENABLE_IPV6=$(usex ipv6)
143 + -DENABLE_WEATHER=$(usex weather)
144 + -DENABLE_GOOGLE=$(usex google)
145 + -DENABLE_LARGEFILE=ON
146 + -DENABLE_VALA_BINDINGS=$(usex vala)
147 + )
148 +
149 + cmake-utils_src_configure
150 +}
151 +
152 +src_compile() {
153 + cmake-utils_src_compile
154 +}
155 +
156 +src_test() {
157 + virtx cmake-utils_src_test
158 +}
159 +
160 +src_install() {
161 + cmake-utils_src_install
162 +
163 + if use ldap; then
164 + insinto /etc/openldap/schema
165 + doins "${FILESDIR}"/calentry.schema
166 + dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
167 + fi
168 +}