Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/evolution/
Date: Fri, 08 May 2020 07:22:19
Message-Id: 1588922520.ed723850653775982e21772ad87782923a08b741.leio@gentoo
1 commit: ed723850653775982e21772ad87782923a08b741
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 6 16:09:11 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri May 8 07:22:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed723850
7
8 mail-client/evolution: Bump to 3.36.2
9
10 Bump to stable 3.36.2 release. No dep changes according to CMake files.
11
12 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
13 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
14
15 mail-client/evolution/Manifest | 1 +
16 mail-client/evolution/evolution-3.36.2.ebuild | 154 ++++++++++++++++++++++++++
17 2 files changed, 155 insertions(+)
18
19 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
20 index 856989b9983..a096d87778b 100644
21 --- a/mail-client/evolution/Manifest
22 +++ b/mail-client/evolution/Manifest
23 @@ -1 +1,2 @@
24 DIST evolution-3.34.4.tar.xz 11964640 BLAKE2B 48b58208064633236be32f44ff49f8718e110d1ab1aa311b3652affb3b5793b9f6775519191a9480efef731c9f14ff269d65dacbd8d411b30be64daaf953c4b5 SHA512 54ff4b191237b291e3e008ca8691624ac0af35bae096c20615ac5a51be033c97ea28be6629362a3676bee9285afab666c4624cfcca536bf5255ecd38dcf3ac58
25 +DIST evolution-3.36.2.tar.xz 12027568 BLAKE2B 3bf2eca4a26e16b34567b4a976ccaa0d3138e3a7ba1a0c9652c3e642dd7e332e4a9994b9e5ae6ce3ed137eb85ac396c83b3bb84fdd99129fe4537a391ad268ff SHA512 2dccf69d32c4381f40ccdf84b621b8241c22bdb992cb77a87ce2e62e3598c436e7d0f8b72ce4fe504399c04a38266b0b0c2abf04000267a16c242d2dec7b9e9c
26
27 diff --git a/mail-client/evolution/evolution-3.36.2.ebuild b/mail-client/evolution/evolution-3.36.2.ebuild
28 new file mode 100644
29 index 00000000000..15ea8d66bce
30 --- /dev/null
31 +++ b/mail-client/evolution/evolution-3.36.2.ebuild
32 @@ -0,0 +1,154 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit cmake-utils gnome2 flag-o-matic readme.gentoo-r1
39 +
40 +DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
42 +
43 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
44 +LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
45 +SLOT="2.0"
46 +
47 +IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef"
48 +
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
50 +
51 +# glade-3 support is for maintainers only per configure.ac
52 +# pst is not mature enough and changes API/ABI frequently
53 +# dconf explicitely needed for backup plugin
54 +# gnome-desktop support is optional with --enable-gnome-desktop
55 +# automagic libunity dep
56 +# >=webkit-gtk-2.26.4-r1 and >=gspell-1.8 to ensure all use enchant:2
57 +# TODO: Adjust webkit-gtk dep to actually be that once it's keyworded for needed arches
58 +COMMON_DEPEND="
59 + >=app-crypt/gcr-3.4:=[gtk]
60 + >=app-text/enchant-2.2.0:2
61 + >=dev-libs/glib-2.46:2[dbus]
62 + >=dev-libs/libxml2-2.7.3:2
63 + >=gnome-base/gnome-desktop-2.91.3:3=
64 + >=gnome-base/gsettings-desktop-schemas-2.91.92
65 + >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
66 + >=media-libs/libcanberra-0.25[gtk3]
67 + >=net-libs/libsoup-2.42:2.4
68 + >=net-libs/webkit-gtk-2.16.0:4
69 + >=x11-libs/cairo-1.9.15:=[glib]
70 + >=x11-libs/gdk-pixbuf-2.24:2
71 + >=x11-libs/gtk+-3.22:3
72 + >=x11-libs/libnotify-0.7:=
73 + >=x11-misc/shared-mime-info-0.22
74 +
75 + >=app-text/iso-codes-0.49
76 + dev-libs/atk
77 + gnome-base/dconf
78 + x11-libs/libSM
79 + x11-libs/libICE
80 +
81 + archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
82 + bogofilter? ( mail-filter/bogofilter )
83 + geolocation? (
84 + >=media-libs/libchamplain-0.12:0.12[gtk]
85 + >=media-libs/clutter-1.0.0:1.0
86 + >=media-libs/clutter-gtk-0.90:1.0
87 + >=sci-geosciences/geocode-glib-3.10.0
88 + x11-libs/mx:1.0 )
89 + ldap? ( >=net-nds/openldap-2:= )
90 + spamassassin? ( mail-filter/spamassassin )
91 + spell? ( >=app-text/gspell-1.8:= )
92 + ssl? (
93 + >=dev-libs/nspr-4.6.1:=
94 + >=dev-libs/nss-3.11:= )
95 + weather? ( >=dev-libs/libgweather-3.10:2= )
96 + ytnef? ( net-mail/ytnef )
97 +"
98 +DEPEND="${COMMON_DEPEND}
99 + app-text/docbook-xml-dtd:4.1.2
100 + dev-util/gdbus-codegen
101 + dev-util/glib-utils
102 + dev-util/itstool
103 + gtk-doc? ( dev-util/gtk-doc
104 + app-text/docbook-xml-dtd:4.3 )
105 + >=dev-util/intltool-0.40.0
106 + >=sys-devel/gettext-0.18.3
107 + virtual/pkgconfig
108 +"
109 +RDEPEND="${COMMON_DEPEND}
110 + highlight? ( app-text/highlight )
111 + !gnome-extra/evolution-exchange
112 +"
113 +
114 +DISABLE_AUTOFORMATTING="yes"
115 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
116 +~/.local/share/applications/mimeapps.list so it includes the
117 +following content:
118 +
119 +[Default Applications]
120 +x-scheme-handler/http=firefox.desktop
121 +x-scheme-handler/https=firefox.desktop
122 +
123 +(replace firefox.desktop with the name of the appropriate .desktop
124 +file from /usr/share/applications if you use a different browser)."
125 +
126 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
127 +# call; if needed, set them after cmake-utils_src_prepare call, if that works
128 +
129 +src_prepare() {
130 + cmake-utils_src_prepare
131 + gnome2_src_prepare
132 +}
133 +
134 +src_configure() {
135 + # Use NSS/NSPR only if 'ssl' is enabled.
136 + local mycmakeargs=(
137 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
138 + -DENABLE_SCHEMAS_COMPILE=OFF
139 + -DENABLE_GTK_DOC=$(usex gtk-doc)
140 + -DWITH_OPENLDAP=$(usex ldap)
141 + -DENABLE_SMIME=$(usex ssl)
142 + -DENABLE_GNOME_DESKTOP=ON
143 + -DWITH_ENCHANT_VERSION=2
144 + -DENABLE_CANBERRA=ON
145 + -DENABLE_AUTOAR=$(usex archive)
146 + -DWITH_HELP=ON
147 + -DENABLE_YTNEF=OFF
148 + -DWITH_BOGOFILTER=$(usex bogofilter)
149 + -DWITH_SPAMASSASSIN=$(usex spamassassin)
150 + -DENABLE_GSPELL=$(usex spell)
151 + -DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
152 + -DENABLE_WEATHER=$(usex weather)
153 + -DENABLE_CONTACT_MAPS=$(usex geolocation)
154 + -DENABLE_YTNEF=$(usex ytnef)
155 + -DENABLE_PST_IMPORT=OFF
156 + -DWITH_GLADE_CATALOG=OFF
157 + )
158 +
159 + cmake-utils_src_configure
160 +}
161 +
162 +src_compile() {
163 + cmake-utils_src_compile
164 +}
165 +
166 +src_test() {
167 + cmake-utils_src_test
168 +}
169 +
170 +src_install() {
171 + cmake-utils_src_install
172 +
173 + # Problems with prelink:
174 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
175 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
176 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
177 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
178 + doenvd "${T}"/99${PN}
179 +
180 + readme.gentoo_create_doc
181 +}
182 +
183 +pkg_postinst() {
184 + gnome2_pkg_postinst
185 + readme.gentoo_print_elog
186 +}