Gentoo Archives: gentoo-commits

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