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, 05 Nov 2021 13:36:23
Message-Id: 1636119187.ced4206c5fdc9af1644f71f2ae2b51fd311c3da5.leio@gentoo
1 commit: ced4206c5fdc9af1644f71f2ae2b51fd311c3da5
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 5 13:31:53 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 5 13:33:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced4206c
7
8 mail-client/evolution: bump to 3.42.1
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 mail-client/evolution/Manifest | 1 +
14 mail-client/evolution/evolution-3.42.1.ebuild | 151 ++++++++++++++++++++++++++
15 2 files changed, 152 insertions(+)
16
17 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
18 index 81fbcaea5a6..3e2e231ce42 100644
19 --- a/mail-client/evolution/Manifest
20 +++ b/mail-client/evolution/Manifest
21 @@ -1,3 +1,4 @@
22 DIST evolution-3.40.3.tar.xz 12216768 BLAKE2B 7b146ee09abff566a5a0cbbda9dda6ce5cd26c076462fd511cbc02fa35352d1ab776c67c5c99990278963a6f96c2ea8410588925cce1c05300e34ad5252de618 SHA512 08fcfdafd78ee323a57355dec1c8755525eefb599b70e6fb60ed0e9963a538a4b3f172b78f03aecbd245741fad08363b01ada46c2e349a9ccdc080d28c286452
23 DIST evolution-3.40.4.tar.xz 12219300 BLAKE2B cbe56014252e8a23debbd4055be85d8bf89e25aa677b92880a6dba78d5d5fbb452403d5f9199b0257ca4c7ee10bff3bc5ca7601fa74390cf6d01d4d7cf099d1d SHA512 f6f08ab3cbc21397a0727b1edc5e37711294fdba6e537000d5a9f11f0142f69702fffad3922645fab256ccdee348b914a87abd0e6ed843c01762ccd32333518a
24 DIST evolution-3.42.0.tar.xz 12243112 BLAKE2B fc79c75b4a684da8d0c09fbc8b682095704d9446c93909d57947083fb5798b622efdb4dc52423bc10bdd392e8f05f4968cbf119dd3ffad737403934e9ef5f68a SHA512 435155a69ef324ff3b0f85c9f0ed3206a7dfe12bd8ad5e9a87dff5de839e837417147e81faa93c57f207dff4d92cdc36ac3856402493ff693055f267aed5cbeb
25 +DIST evolution-3.42.1.tar.xz 12274632 BLAKE2B b42984b4d5c8446e4a8714e3c7c92f0cf2baa53af05146df0449d41a587d968a3d91c707a797e09865f3fa03c0397b6fecf88552e53936b068215d5aac3ece48 SHA512 9db26d27c78997c3924b6627389b1a5c95a2f161219346fe45016b346a68c10679039fbde540220fc31769b0d3402c228ef7283b55ea3388cf66398a11cb0508
26
27 diff --git a/mail-client/evolution/evolution-3.42.1.ebuild b/mail-client/evolution/evolution-3.42.1.ebuild
28 new file mode 100644
29 index 00000000000..141bc4cc9c0
30 --- /dev/null
31 +++ b/mail-client/evolution/evolution-3.42.1.ebuild
32 @@ -0,0 +1,151 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit cmake 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="~amd64 ~arm ~arm64 ~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 +# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk
57 +DEPEND="
58 + >=app-crypt/gcr-3.4:=[gtk]
59 + >=app-text/enchant-2.2.0:2
60 + >=dev-libs/glib-2.56:2[dbus]
61 + >=dev-libs/libxml2-2.7.3:2
62 + >=gnome-base/gnome-desktop-2.91.3:3=
63 + >=gnome-base/gsettings-desktop-schemas-2.91.92
64 + >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
65 + >=media-libs/libcanberra-0.25[gtk3]
66 + >=net-libs/libsoup-2.42:2.4
67 + >=net-libs/webkit-gtk-2.28.0:4[spell?]
68 + >=x11-libs/cairo-1.9.15:=[glib]
69 + >=x11-libs/gdk-pixbuf-2.24:2
70 + >=x11-libs/gtk+-3.22:3
71 + >=x11-libs/libnotify-0.7:=
72 + >=x11-misc/shared-mime-info-0.22
73 +
74 + >=app-text/iso-codes-0.49
75 + dev-libs/atk
76 + gnome-base/dconf
77 + x11-libs/libSM
78 + x11-libs/libICE
79 +
80 + archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
81 + bogofilter? ( mail-filter/bogofilter )
82 + geolocation? (
83 + >=media-libs/libchamplain-0.12:0.12[gtk]
84 + >=media-libs/clutter-1.0.0:1.0
85 + >=media-libs/clutter-gtk-0.90:1.0
86 + >=sci-geosciences/geocode-glib-3.10.0 )
87 + ldap? ( >=net-nds/openldap-2:= )
88 + spamassassin? ( mail-filter/spamassassin )
89 + spell? ( >=app-text/gspell-1.8:= )
90 + ssl? (
91 + >=dev-libs/nspr-4.6.1:=
92 + >=dev-libs/nss-3.11:= )
93 + weather? ( >=dev-libs/libgweather-3.10:2= )
94 + ytnef? ( net-mail/ytnef )
95 +"
96 +RDEPEND="${DEPEND}
97 + highlight? ( app-text/highlight )
98 +"
99 +BDEPEND="
100 + app-text/docbook-xml-dtd:4.1.2
101 + dev-util/gdbus-codegen
102 + dev-util/glib-utils
103 + dev-util/itstool
104 + gtk-doc? ( dev-util/gtk-doc
105 + app-text/docbook-xml-dtd:4.3 )
106 + >=dev-util/intltool-0.40.0
107 + >=sys-devel/gettext-0.18.3
108 + virtual/pkgconfig
109 +"
110 +
111 +DISABLE_AUTOFORMATTING="yes"
112 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
113 +~/.local/share/applications/mimeapps.list so it includes the
114 +following content:
115 +
116 +[Default Applications]
117 +x-scheme-handler/http=firefox.desktop
118 +x-scheme-handler/https=firefox.desktop
119 +
120 +(replace firefox.desktop with the name of the appropriate .desktop
121 +file from /usr/share/applications if you use a different browser)."
122 +
123 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
124 +# call; if needed, set them after cmake_src_prepare call, if that works
125 +
126 +src_prepare() {
127 + cmake_src_prepare
128 + gnome2_src_prepare
129 +}
130 +
131 +src_configure() {
132 + # Use NSS/NSPR only if 'ssl' is enabled.
133 + local mycmakeargs=(
134 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
135 + -DENABLE_SCHEMAS_COMPILE=OFF
136 + -DENABLE_GTK_DOC=$(usex gtk-doc)
137 + -DWITH_OPENLDAP=$(usex ldap)
138 + -DENABLE_SMIME=$(usex ssl)
139 + -DENABLE_GNOME_DESKTOP=ON
140 + -DWITH_ENCHANT_VERSION=2
141 + -DENABLE_CANBERRA=ON
142 + -DENABLE_AUTOAR=$(usex archive)
143 + -DWITH_HELP=ON
144 + -DENABLE_YTNEF=OFF
145 + -DWITH_BOGOFILTER=$(usex bogofilter)
146 + -DWITH_SPAMASSASSIN=$(usex spamassassin)
147 + -DENABLE_GSPELL=$(usex spell)
148 + -DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
149 + -DENABLE_WEATHER=$(usex weather)
150 + -DENABLE_CONTACT_MAPS=$(usex geolocation)
151 + -DENABLE_YTNEF=$(usex ytnef)
152 + -DENABLE_PST_IMPORT=OFF
153 + -DWITH_GLADE_CATALOG=OFF
154 + )
155 +
156 + cmake_src_configure
157 +}
158 +
159 +src_compile() {
160 + cmake_src_compile
161 +}
162 +
163 +src_test() {
164 + cmake_src_test
165 +}
166 +
167 +src_install() {
168 + cmake_src_install
169 +
170 + # Problems with prelink:
171 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
172 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
173 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
174 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
175 + doenvd "${T}"/99${PN}
176 +
177 + readme.gentoo_create_doc
178 +}
179 +
180 +pkg_postinst() {
181 + gnome2_pkg_postinst
182 + readme.gentoo_print_elog
183 +}