Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/
Date: Sun, 31 Oct 2021 02:58:08
Message-Id: 1635648994.440292555ffa25c14f7f78155f150529eedf11e0.sam@gentoo
1 commit: 440292555ffa25c14f7f78155f150529eedf11e0
2 Author: Matt Smith <matt <AT> offtopica <DOT> uk>
3 AuthorDate: Thu Oct 28 16:19:35 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 02:56:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44029255
7
8 net-mail/mu: Bump to 1.6.9
9
10 Also remove .la files.
11
12 Package-Manager: Portage-3.0.28, Repoman-3.0.3
13 Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
14 Closes: https://github.com/gentoo/gentoo/pull/22744
15 Signed-off-by: Sam James <sam <AT> gentoo.org>
16
17 net-mail/mu/Manifest | 1 +
18 net-mail/mu/mu-1.6.9.ebuild | 65 +++++++++++++++++++++++++++++++++++++++++++++
19 2 files changed, 66 insertions(+)
20
21 diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
22 index 56fec1cd99a..eaa030a3209 100644
23 --- a/net-mail/mu/Manifest
24 +++ b/net-mail/mu/Manifest
25 @@ -1,2 +1,3 @@
26 DIST mu-1.6.6.tar.xz 866724 BLAKE2B 3417d4b3e5bfae943558fbc936ca0207be912f9548621b1599437484e94f3b49271aa1e97e7cc2b5b6027b8e0cf97d3b96d2052772f7783d897b4fa0dcf03184 SHA512 07daf9864bfd1ff4278aee98a0ae9c4fc3be94468e3b2022ae801f048f339b5becdb9ad8ebb2e12b9131e0e6dfcfb541bdca8288657dc19d47b0e510831f54eb
27 DIST mu-1.6.7.tar.xz 867136 BLAKE2B 12b19d15c01a7101e3a936b12ee87fa5519c0e047e354f2fd1d481939dd5dffa34a94a5e7f3fda20e27771377e78524065cf5f93f7a2f818e202cdc93090ebff SHA512 ceae7b4508fc607dcda0fc20e9fb92b3533b1ba7ef94823cba2cd3a6ad3f18ccd3d2ea7da20e4c190e53f2d00ccdd3e1d25e12b89a08bf5233f5656be90b3c14
28 +DIST mu-1.6.9.tar.xz 867188 BLAKE2B 526f67acd505a1d02cc12841d7d5f99e4b91a8aa3923cc1bccf045faf3a89bef99827c7461e78d000aefa48634a38fcf263346c14f275e3053c9774e2f8219c9 SHA512 c0ba5fc984fa445c44f89b84f911952c4a3aebf9484c60df75bd6a144cad3e68e1b2de98d8bbf5faae51d81ed99adb85280e4c1a40e7b0d587a00e0d80937495
29
30 diff --git a/net-mail/mu/mu-1.6.9.ebuild b/net-mail/mu/mu-1.6.9.ebuild
31 new file mode 100644
32 index 00000000000..712f0ca98f9
33 --- /dev/null
34 +++ b/net-mail/mu/mu-1.6.9.ebuild
35 @@ -0,0 +1,65 @@
36 +# Copyright 1999-2021 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=8
40 +
41 +inherit elisp-common
42 +
43 +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
44 +HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
45 +SRC_URI="https://github.com/djcb/mu/releases/download/${PV}-signed/mu-${PV}.tar.xz"
46 +
47 +LICENSE="GPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos"
50 +IUSE="emacs guile readline"
51 +
52 +DEPEND="
53 + dev-libs/glib:2
54 + dev-libs/gmime:3.0
55 + >=dev-libs/xapian-1.4:=
56 + emacs? ( >=app-editors/emacs-25.3:* )
57 + guile? ( >=dev-scheme/guile-2.2:* )
58 + readline? ( sys-libs/readline:= )"
59 +RDEPEND="${DEPEND}"
60 +BDEPEND="virtual/pkgconfig"
61 +
62 +SITEFILE="70mu-gentoo-autoload.el"
63 +
64 +src_configure() {
65 + local myeconfargs=(
66 + $(use_enable emacs mu4e)
67 + $(use_enable guile)
68 + $(use_enable readline)
69 + --disable-gtk
70 + --disable-webkit
71 + )
72 +
73 + econf "${myeconfargs[@]}"
74 +}
75 +
76 +src_install() {
77 + default
78 + find "${ED}" -name '*.la' -type f -delete || die
79 +}
80 +
81 +pkg_preinst() {
82 + if [[ -n ${REPLACING_VERSIONS} ]]; then
83 + elog "After upgrading from an old major version, you should"
84 + elog "rebuild your mail index."
85 + fi
86 +}
87 +
88 +pkg_postinst() {
89 + if use emacs; then
90 + einfo "To use mu4e you need to configure it in your .emacs file"
91 + einfo "See the manual for more information:"
92 + einfo "https://www.djcbsoftware.nl/code/mu/mu4e/"
93 +
94 + elisp-site-regen
95 + fi
96 +}
97 +
98 +pkg_postrm() {
99 + use emacs && elisp-site-regen
100 +}