Gentoo Archives: gentoo-commits

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