1 |
commit: ebc1e6c39f6c068b645d88c314a92125750e7b8e |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 3 13:22:19 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 13:24:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebc1e6c3 |
7 |
|
8 |
mail-client/claws-mail: Bump to versions 3.19.0 and 4.1.0 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
mail-client/claws-mail/Manifest | 2 + |
13 |
mail-client/claws-mail/claws-mail-3.19.0.ebuild | 215 +++++++++++++++++++++++ |
14 |
mail-client/claws-mail/claws-mail-4.1.0.ebuild | 216 ++++++++++++++++++++++++ |
15 |
3 files changed, 433 insertions(+) |
16 |
|
17 |
diff --git a/mail-client/claws-mail/Manifest b/mail-client/claws-mail/Manifest |
18 |
index 45769d66e3df..f838d817cef6 100644 |
19 |
--- a/mail-client/claws-mail/Manifest |
20 |
+++ b/mail-client/claws-mail/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
DIST claws-mail-3.18.0.tar.xz 6517632 BLAKE2B 534a37a081ceeb4d3066717d738d04e2027d38c621c15091506ec117a3b592eedb6f3c67afddd972424976398019fda3d618db4083f0a05f39e7b8f07a1c2138 SHA512 3f73e11fc75234c44c0faf266a196c7f1c80b837fb920fc4a3979ede81f37efd180c006ab6436ae9c2dffde2d6c3bf6340a90d93e1e3fa8821fb09693d030811 |
23 |
+DIST claws-mail-3.19.0.tar.xz 6543188 BLAKE2B eeb7df2b921dbd7ad40c845804fcabe5ddc2064fcf410e7809004be472bbe2ba8bfd89a868420a1bb76845180856fee8a0b3cde879ae67b1a1aab14442fe5d2d SHA512 88780df55873919197d3c6df5102a8eb89a586e8287419c179e1d0af839435a719814b1e3643aa783a7badeadceafda2dc3cb4a3265432b5ad3a210663922b20 |
24 |
DIST claws-mail-4.0.0.tar.xz 6390300 BLAKE2B 291c62e7dc0329ce12dd571a15f19942ac6ae6f3bbbcba3708afbe30682392883ceba165356d4be68e3b655aade85ecdad4ed8a296517b37fd0f7918e8418d51 SHA512 26d207fb8b5ce8b814a8a712843a209f58c8c9df3e9623387322b2e70ac351c71ac8b1ff77c52c5df9a14a46be7f65413efc0a4dbcda1e70ecb453f042da153e |
25 |
+DIST claws-mail-4.1.0.tar.xz 6471604 BLAKE2B 30d1725c2679e8a0b44edd6c30b15f28633c0a017935980d1412dabffdfb1f33e1c36bee3506e90af54410db222b64422155be821ba18f5e315ed411d477ed63 SHA512 83c7b1a8065628b1dcac58feb4d852b759b3fc376531572e88450b8e9517172a641f710a219b7e16bbc672dbe69853783e4edd1d7647a3f2aacb92e47be9175b |
26 |
|
27 |
diff --git a/mail-client/claws-mail/claws-mail-3.19.0.ebuild b/mail-client/claws-mail/claws-mail-3.19.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..9917a1878d89 |
30 |
--- /dev/null |
31 |
+++ b/mail-client/claws-mail/claws-mail-3.19.0.ebuild |
32 |
@@ -0,0 +1,215 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{8..10} ) |
39 |
+ |
40 |
+inherit autotools desktop python-any-r1 xdg |
41 |
+ |
42 |
+DESCRIPTION="An email client (and news reader) based on GTK+" |
43 |
+HOMEPAGE="https://www.claws-mail.org/" |
44 |
+ |
45 |
+if [[ "${PV}" == *9999 ]] ; then |
46 |
+ inherit git-r3 |
47 |
+ EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git" |
48 |
+else |
49 |
+ SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" |
50 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
51 |
+fi |
52 |
+ |
53 |
+SLOT="0" |
54 |
+LICENSE="GPL-3" |
55 |
+ |
56 |
+IUSE="+appindicator archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libnotify litehtml networkmanager nls nntp +notification pdf perl +pgp rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind xface" |
57 |
+REQUIRED_USE=" |
58 |
+ appindicator? ( notification ) |
59 |
+ libcanberra? ( notification ) |
60 |
+ libnotify? ( notification ) |
61 |
+ networkmanager? ( dbus ) |
62 |
+ smime? ( pgp ) |
63 |
+" |
64 |
+ |
65 |
+COMMONDEPEND=" |
66 |
+ dev-libs/nettle:= |
67 |
+ net-mail/ytnef |
68 |
+ sys-libs/zlib:= |
69 |
+ x11-libs/cairo |
70 |
+ x11-libs/gdk-pixbuf:2[jpeg] |
71 |
+ x11-libs/gtk+:2 |
72 |
+ x11-libs/libX11 |
73 |
+ x11-libs/pango |
74 |
+ archive? ( |
75 |
+ app-arch/libarchive |
76 |
+ >=net-misc/curl-7.9.7 |
77 |
+ ) |
78 |
+ bogofilter? ( mail-filter/bogofilter ) |
79 |
+ calendar? ( |
80 |
+ >=dev-libs/libical-2.0.0:= |
81 |
+ >=net-misc/curl-7.9.7 |
82 |
+ ) |
83 |
+ dbus? ( |
84 |
+ >=dev-libs/dbus-glib-0.60 |
85 |
+ sys-apps/dbus |
86 |
+ ) |
87 |
+ gdata? ( >=dev-libs/libgdata-0.17.2 ) |
88 |
+ dillo? ( www-client/dillo ) |
89 |
+ gnutls? ( >=net-libs/gnutls-3.0 ) |
90 |
+ imap? ( >=net-libs/libetpan-0.57 ) |
91 |
+ ldap? ( >=net-nds/openldap-2.0.7:= ) |
92 |
+ litehtml? ( |
93 |
+ >=dev-libs/glib-2.36:2 |
94 |
+ >=dev-libs/gumbo-0.10 |
95 |
+ net-misc/curl |
96 |
+ media-libs/fontconfig |
97 |
+ ) |
98 |
+ nls? ( >=sys-devel/gettext-0.18 ) |
99 |
+ nntp? ( >=net-libs/libetpan-0.57 ) |
100 |
+ notification? ( |
101 |
+ dev-libs/glib:2 |
102 |
+ appindicator? ( dev-libs/libindicate:3[gtk] ) |
103 |
+ libcanberra? ( media-libs/libcanberra[gtk] ) |
104 |
+ libnotify? ( x11-libs/libnotify ) |
105 |
+ ) |
106 |
+ pdf? ( app-text/poppler[cairo] ) |
107 |
+ pgp? ( >=app-crypt/gpgme-1.0.0:= ) |
108 |
+ session? ( |
109 |
+ x11-libs/libICE |
110 |
+ x11-libs/libSM |
111 |
+ ) |
112 |
+ smime? ( >=app-crypt/gpgme-1.0.0:= ) |
113 |
+ spam-report? ( >=net-misc/curl-7.9.7 ) |
114 |
+ spell? ( >=app-text/enchant-2.0.0:2= ) |
115 |
+ startup-notification? ( x11-libs/startup-notification ) |
116 |
+ svg? ( >=gnome-base/librsvg-2.40.5 ) |
117 |
+ valgrind? ( dev-util/valgrind ) |
118 |
+" |
119 |
+ |
120 |
+DEPEND="${COMMONDEPEND} |
121 |
+ xface? ( >=media-libs/compface-1.4 ) |
122 |
+" |
123 |
+BDEPEND=" |
124 |
+ ${PYTHON_DEPS} |
125 |
+ app-arch/xz-utils |
126 |
+ virtual/pkgconfig |
127 |
+" |
128 |
+RDEPEND="${COMMONDEPEND} |
129 |
+ app-misc/mime-types |
130 |
+ x11-misc/shared-mime-info |
131 |
+ clamav? ( app-antivirus/clamav ) |
132 |
+ networkmanager? ( net-misc/networkmanager ) |
133 |
+ pdf? ( app-text/ghostscript-gpl ) |
134 |
+ perl? ( dev-lang/perl:= ) |
135 |
+ rss? ( |
136 |
+ dev-libs/libxml2 |
137 |
+ net-misc/curl |
138 |
+ ) |
139 |
+" |
140 |
+ |
141 |
+PATCHES=( |
142 |
+ "${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch" |
143 |
+) |
144 |
+ |
145 |
+src_prepare() { |
146 |
+ xdg_src_prepare |
147 |
+ eautoreconf |
148 |
+} |
149 |
+ |
150 |
+src_configure() { |
151 |
+ # Don't use libsoup-gnome (bug #565924) |
152 |
+ export HAVE_LIBSOUP_GNOME=no |
153 |
+ |
154 |
+ local myeconfargs=( |
155 |
+ --disable-bsfilter-plugin |
156 |
+ --disable-fancy-plugin |
157 |
+ --disable-generic-umpc |
158 |
+ --disable-jpilot #735118 |
159 |
+ --enable-acpi_notifier-plugin |
160 |
+ --enable-address_keeper-plugin |
161 |
+ --enable-alternate-addressbook |
162 |
+ --enable-att_remover-plugin |
163 |
+ --enable-attachwarner-plugin |
164 |
+ --enable-fetchinfo-plugin |
165 |
+ --enable-mailmbox-plugin |
166 |
+ --enable-newmail-plugin |
167 |
+ --enable-tnef_parse-plugin |
168 |
+ --with-password-encryption=$(usex gnutls gnutls old) |
169 |
+ $(use_enable archive archive-plugin) |
170 |
+ $(use_enable bogofilter bogofilter-plugin) |
171 |
+ $(use_enable calendar vcalendar-plugin) |
172 |
+ $(use_enable clamav clamd-plugin) |
173 |
+ $(use_enable dbus) |
174 |
+ $(use_enable debug crash-dialog) |
175 |
+ $(use_enable dillo dillo-plugin) |
176 |
+ $(use_enable doc manual) |
177 |
+ $(use_enable gdata gdata-plugin) |
178 |
+ $(use_enable gnutls) |
179 |
+ $(use_enable ipv6) |
180 |
+ $(use_enable ldap) |
181 |
+ $(use_enable litehtml litehtml_viewer-plugin) |
182 |
+ $(use_enable networkmanager) |
183 |
+ $(use_enable nls) |
184 |
+ $(use_enable notification notification-plugin) |
185 |
+ $(use_enable pdf pdf_viewer-plugin) |
186 |
+ $(use_enable perl perl-plugin) |
187 |
+ $(use_enable pgp pgpcore-plugin) |
188 |
+ $(use_enable pgp pgpinline-plugin) |
189 |
+ $(use_enable pgp pgpmime-plugin) |
190 |
+ --disable-python-plugin |
191 |
+ $(use_enable rss rssyl-plugin) |
192 |
+ $(use_enable session libsm) |
193 |
+ $(use_enable sieve managesieve-plugin) |
194 |
+ $(use_enable smime smime-plugin) |
195 |
+ $(use_enable spam-report spam_report-plugin) |
196 |
+ $(use_enable spamassassin spamassassin-plugin) |
197 |
+ $(use_enable spell enchant) |
198 |
+ $(use_enable startup-notification) |
199 |
+ $(use_enable svg) |
200 |
+ $(use_enable valgrind valgrind) |
201 |
+ $(use_enable xface compface) |
202 |
+ ) |
203 |
+ |
204 |
+ # libetpan is needed if user wants nntp or imap functionality |
205 |
+ if use imap || use nntp ; then |
206 |
+ myeconfargs+=( --enable-libetpan ) |
207 |
+ else |
208 |
+ myeconfargs+=( --disable-libetpan ) |
209 |
+ fi |
210 |
+ |
211 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
212 |
+} |
213 |
+ |
214 |
+src_install() { |
215 |
+ local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* ) |
216 |
+ default |
217 |
+ |
218 |
+ # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps |
219 |
+ # => also install it in /usr/share/pixmaps for other desktop envs |
220 |
+ # => also install higher resolution icons in /usr/share/icons/hicolor/... |
221 |
+ insinto /usr/share/pixmaps |
222 |
+ doins ${PN}.png |
223 |
+ local size |
224 |
+ for size in 64 128 ; do |
225 |
+ newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png |
226 |
+ done |
227 |
+ |
228 |
+ docinto tools |
229 |
+ dodoc tools/README* |
230 |
+ |
231 |
+ domenu ${PN}.desktop |
232 |
+ |
233 |
+ einfo "Installing extra tools" |
234 |
+ cd "${S}"/tools || die |
235 |
+ exeinto /usr/$(get_libdir)/${PN}/tools |
236 |
+ doexe *.pl *.py *.conf *.sh |
237 |
+ doexe tb2claws-mail update-po uudec uuooffice |
238 |
+ |
239 |
+ # kill useless files |
240 |
+ find "${ED}"/usr/lib*/claws-mail/plugins/ \ |
241 |
+ \( -name "*.a" -o -name ".la" \) -delete || die |
242 |
+} |
243 |
+ |
244 |
+pkg_postinst() { |
245 |
+ ewarn "When upgrading from version <3.18 please re-load any plugin you use" |
246 |
+ xdg_pkg_postinst |
247 |
+} |
248 |
|
249 |
diff --git a/mail-client/claws-mail/claws-mail-4.1.0.ebuild b/mail-client/claws-mail/claws-mail-4.1.0.ebuild |
250 |
new file mode 100644 |
251 |
index 000000000000..1df2cb6bc15d |
252 |
--- /dev/null |
253 |
+++ b/mail-client/claws-mail/claws-mail-4.1.0.ebuild |
254 |
@@ -0,0 +1,216 @@ |
255 |
+# Copyright 1999-2022 Gentoo Authors |
256 |
+# Distributed under the terms of the GNU General Public License v2 |
257 |
+ |
258 |
+EAPI=8 |
259 |
+ |
260 |
+PYTHON_COMPAT=( python3_{8..10} ) |
261 |
+ |
262 |
+inherit autotools desktop python-any-r1 xdg |
263 |
+ |
264 |
+DESCRIPTION="An email client (and news reader) based on GTK+" |
265 |
+HOMEPAGE="https://www.claws-mail.org/" |
266 |
+ |
267 |
+if [[ "${PV}" == *9999 ]] ; then |
268 |
+ inherit git-r3 |
269 |
+ EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git" |
270 |
+else |
271 |
+ SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz" |
272 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
273 |
+fi |
274 |
+ |
275 |
+SLOT="0" |
276 |
+LICENSE="GPL-3" |
277 |
+ |
278 |
+IUSE="+appindicator archive bogofilter calendar clamav dbus debug dillo doc gdata +gnutls +imap ipv6 ldap +libcanberra +libnotify litehtml networkmanager nls nntp +notification pdf perl +pgp rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface" |
279 |
+REQUIRED_USE=" |
280 |
+ appindicator? ( notification ) |
281 |
+ libcanberra? ( notification ) |
282 |
+ libnotify? ( notification ) |
283 |
+ networkmanager? ( dbus ) |
284 |
+ smime? ( pgp ) |
285 |
+" |
286 |
+ |
287 |
+COMMONDEPEND=" |
288 |
+ dev-libs/nettle:= |
289 |
+ net-mail/ytnef |
290 |
+ sys-libs/zlib:= |
291 |
+ x11-libs/cairo |
292 |
+ x11-libs/gdk-pixbuf:2[jpeg] |
293 |
+ x11-libs/gtk+:3 |
294 |
+ x11-libs/libX11 |
295 |
+ x11-libs/pango |
296 |
+ archive? ( |
297 |
+ app-arch/libarchive |
298 |
+ >=net-misc/curl-7.9.7 |
299 |
+ ) |
300 |
+ bogofilter? ( mail-filter/bogofilter ) |
301 |
+ calendar? ( |
302 |
+ >=dev-libs/libical-2.0.0:= |
303 |
+ >=net-misc/curl-7.9.7 |
304 |
+ ) |
305 |
+ dbus? ( |
306 |
+ >=dev-libs/dbus-glib-0.60 |
307 |
+ sys-apps/dbus |
308 |
+ ) |
309 |
+ gdata? ( >=dev-libs/libgdata-0.17.2 ) |
310 |
+ dillo? ( www-client/dillo ) |
311 |
+ gnutls? ( >=net-libs/gnutls-3.0 ) |
312 |
+ imap? ( >=net-libs/libetpan-0.57 ) |
313 |
+ ldap? ( >=net-nds/openldap-2.0.7:= ) |
314 |
+ litehtml? ( |
315 |
+ >=dev-libs/glib-2.36:2 |
316 |
+ >=dev-libs/gumbo-0.10 |
317 |
+ net-misc/curl |
318 |
+ media-libs/fontconfig |
319 |
+ ) |
320 |
+ nls? ( >=sys-devel/gettext-0.18 ) |
321 |
+ nntp? ( >=net-libs/libetpan-0.57 ) |
322 |
+ notification? ( |
323 |
+ dev-libs/glib:2 |
324 |
+ appindicator? ( dev-libs/libindicate:3[gtk] ) |
325 |
+ libcanberra? ( media-libs/libcanberra[gtk3] ) |
326 |
+ libnotify? ( x11-libs/libnotify ) |
327 |
+ ) |
328 |
+ pdf? ( app-text/poppler[cairo] ) |
329 |
+ pgp? ( >=app-crypt/gpgme-1.0.0:= ) |
330 |
+ session? ( |
331 |
+ x11-libs/libICE |
332 |
+ x11-libs/libSM |
333 |
+ ) |
334 |
+ smime? ( >=app-crypt/gpgme-1.0.0:= ) |
335 |
+ spam-report? ( >=net-misc/curl-7.9.7 ) |
336 |
+ spell? ( >=app-text/enchant-2.0.0:2= ) |
337 |
+ startup-notification? ( x11-libs/startup-notification ) |
338 |
+ svg? ( >=gnome-base/librsvg-2.40.5 ) |
339 |
+ valgrind? ( dev-util/valgrind ) |
340 |
+ webkit? ( net-libs/webkit-gtk:4 ) |
341 |
+" |
342 |
+ |
343 |
+DEPEND="${COMMONDEPEND} |
344 |
+ xface? ( >=media-libs/compface-1.4 ) |
345 |
+" |
346 |
+BDEPEND=" |
347 |
+ ${PYTHON_DEPS} |
348 |
+ app-arch/xz-utils |
349 |
+ virtual/pkgconfig |
350 |
+" |
351 |
+RDEPEND="${COMMONDEPEND} |
352 |
+ app-misc/mime-types |
353 |
+ x11-misc/shared-mime-info |
354 |
+ clamav? ( app-antivirus/clamav ) |
355 |
+ networkmanager? ( net-misc/networkmanager ) |
356 |
+ pdf? ( app-text/ghostscript-gpl ) |
357 |
+ perl? ( dev-lang/perl:= ) |
358 |
+ rss? ( |
359 |
+ dev-libs/libxml2 |
360 |
+ net-misc/curl |
361 |
+ ) |
362 |
+" |
363 |
+ |
364 |
+PATCHES=( |
365 |
+ "${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch" |
366 |
+) |
367 |
+ |
368 |
+src_prepare() { |
369 |
+ xdg_src_prepare |
370 |
+ eautoreconf |
371 |
+} |
372 |
+ |
373 |
+src_configure() { |
374 |
+ # Don't use libsoup-gnome (bug #565924) |
375 |
+ export HAVE_LIBSOUP_GNOME=no |
376 |
+ |
377 |
+ local myeconfargs=( |
378 |
+ --disable-bsfilter-plugin |
379 |
+ --disable-generic-umpc |
380 |
+ --disable-jpilot #735118 |
381 |
+ --enable-acpi_notifier-plugin |
382 |
+ --enable-address_keeper-plugin |
383 |
+ --enable-alternate-addressbook |
384 |
+ --enable-att_remover-plugin |
385 |
+ --enable-attachwarner-plugin |
386 |
+ --enable-fetchinfo-plugin |
387 |
+ --enable-mailmbox-plugin |
388 |
+ --enable-newmail-plugin |
389 |
+ --enable-tnef_parse-plugin |
390 |
+ --with-password-encryption=$(usex gnutls gnutls old) |
391 |
+ $(use_enable archive archive-plugin) |
392 |
+ $(use_enable bogofilter bogofilter-plugin) |
393 |
+ $(use_enable calendar vcalendar-plugin) |
394 |
+ $(use_enable clamav clamd-plugin) |
395 |
+ $(use_enable dbus) |
396 |
+ $(use_enable debug crash-dialog) |
397 |
+ $(use_enable dillo dillo-plugin) |
398 |
+ $(use_enable doc manual) |
399 |
+ $(use_enable gdata gdata-plugin) |
400 |
+ $(use_enable gnutls) |
401 |
+ $(use_enable ipv6) |
402 |
+ $(use_enable ldap) |
403 |
+ $(use_enable litehtml litehtml_viewer-plugin) |
404 |
+ $(use_enable networkmanager) |
405 |
+ $(use_enable nls) |
406 |
+ $(use_enable notification notification-plugin) |
407 |
+ $(use_enable pdf pdf_viewer-plugin) |
408 |
+ $(use_enable perl perl-plugin) |
409 |
+ $(use_enable pgp pgpcore-plugin) |
410 |
+ $(use_enable pgp pgpinline-plugin) |
411 |
+ $(use_enable pgp pgpmime-plugin) |
412 |
+ --disable-python-plugin |
413 |
+ $(use_enable rss rssyl-plugin) |
414 |
+ $(use_enable session libsm) |
415 |
+ $(use_enable sieve managesieve-plugin) |
416 |
+ $(use_enable smime smime-plugin) |
417 |
+ $(use_enable spam-report spam_report-plugin) |
418 |
+ $(use_enable spamassassin spamassassin-plugin) |
419 |
+ $(use_enable spell enchant) |
420 |
+ $(use_enable startup-notification) |
421 |
+ $(use_enable svg) |
422 |
+ $(use_enable valgrind valgrind) |
423 |
+ $(use_enable webkit fancy-plugin) |
424 |
+ $(use_enable xface compface) |
425 |
+ ) |
426 |
+ |
427 |
+ # libetpan is needed if user wants nntp or imap functionality |
428 |
+ if use imap || use nntp ; then |
429 |
+ myeconfargs+=( --enable-libetpan ) |
430 |
+ else |
431 |
+ myeconfargs+=( --disable-libetpan ) |
432 |
+ fi |
433 |
+ |
434 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
435 |
+} |
436 |
+ |
437 |
+src_install() { |
438 |
+ local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* ) |
439 |
+ default |
440 |
+ |
441 |
+ # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps |
442 |
+ # => also install it in /usr/share/pixmaps for other desktop envs |
443 |
+ # => also install higher resolution icons in /usr/share/icons/hicolor/... |
444 |
+ insinto /usr/share/pixmaps |
445 |
+ doins ${PN}.png |
446 |
+ local size |
447 |
+ for size in 64 128 ; do |
448 |
+ newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png |
449 |
+ done |
450 |
+ |
451 |
+ docinto tools |
452 |
+ dodoc tools/README* |
453 |
+ |
454 |
+ domenu ${PN}.desktop |
455 |
+ |
456 |
+ einfo "Installing extra tools" |
457 |
+ cd "${S}"/tools || die |
458 |
+ exeinto /usr/$(get_libdir)/${PN}/tools |
459 |
+ doexe *.pl *.py *.conf *.sh |
460 |
+ doexe tb2claws-mail update-po uudec uuooffice |
461 |
+ |
462 |
+ # kill useless files |
463 |
+ find "${ED}"/usr/lib*/claws-mail/plugins/ \ |
464 |
+ \( -name "*.a" -o -name ".la" \) -delete || die |
465 |
+} |
466 |
+ |
467 |
+pkg_postinst() { |
468 |
+ ewarn "When upgrading from version 3.x please re-load any plugin you use" |
469 |
+ xdg_pkg_postinst |
470 |
+} |