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: Thu, 26 Aug 2021 22:21:22
Message-Id: 1630016455.01770fc7ec858e9ba957c50adfe8c83210064284.sam@gentoo
1 commit: 01770fc7ec858e9ba957c50adfe8c83210064284
2 Author: Matt Smith <matt <AT> offtopica <DOT> uk>
3 AuthorDate: Thu Aug 26 20:21:14 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 26 22:20:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01770fc7
7
8 net-mail/mu: Bump to 1.6.5
9
10 Package-Manager: Portage-3.0.22, Repoman-3.0.3
11 Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
12 Closes: https://github.com/gentoo/gentoo/pull/22120
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 net-mail/mu/Manifest | 1 +
16 net-mail/mu/mu-1.6.5.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 61 insertions(+)
18
19 diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
20 index 8e7443940a6..deca0d5bb4e 100644
21 --- a/net-mail/mu/Manifest
22 +++ b/net-mail/mu/Manifest
23 @@ -2,3 +2,4 @@ DIST mu-1.4.15.tar.gz 2309695 BLAKE2B 9808e59b758525937ec97e0ca6515108c1fb4287f3
24 DIST mu-1.4.15.tar.xz 846052 BLAKE2B 933d04696c4ac145f20ca6c84f6fbe62f70fa3e45e50dfdf2e48a7007acecc56d8650f965dc6810fc7f8bbdae6595b7b7349f2675b08cd9fb619ee9eb24eb251 SHA512 e7741b77bce5c7c1c818549e803fb386f0b8727b995a7ac9b961b74e89cc7dbeed52b45d70895995a1640cfd36a49b052eeeed9be6c48999f2182a68bf5c205e
25 DIST mu-1.6.1.tar.xz 866044 BLAKE2B ed6464e2ef63d37c42783235a0537cd20c7442333d4a6b59af0d257db8e3e6d85db7106ae2f89aa5f1536e50afadd40c89a8215a288080130d14e3ceb79b1638 SHA512 d894f302cabef86ff6b1d85eb945b2aca27729eaa6558598076c8f065d584592d5e601fe6a6045cea9b8a1466320c838f995ffdfd564447683538a5e48f8d7b0
26 DIST mu-1.6.3.tar.xz 867224 BLAKE2B dffe67df4731028fa5e77d62d32fb787639b25d43a48aaac0c0e446c14cd3c5f79ad5559968446603782f1a7df9c129b2c3e1c3576e01d162a59693a2abd960e SHA512 73bfc85561cbc31d8c8ba6043ad79b7c17ac33edbbfcb3f09d460b291454c7696b282ee98c7738e05a9842963169c3f87eff56c3f6729cb22cdb6136ae8b95e3
27 +DIST mu-1.6.5.tar.xz 867240 BLAKE2B d3e8ad88b38f1329e4a5716f981c97e62c2042835e81910dab02b1219abfc670fe84a68f992fd08dce282a3288aaa91a465ce881f79e7ece917ba089c2ad0348 SHA512 b25203d281fa43b22abacb442caa56d797489d32bfc1dde874d23035510cbc8fb331b45574ea74d4a01e4af0a706c1a84656d8b8d6e60f518b2ea75fa27361ea
28
29 diff --git a/net-mail/mu/mu-1.6.5.ebuild b/net-mail/mu/mu-1.6.5.ebuild
30 new file mode 100644
31 index 00000000000..94eaeb52fa2
32 --- /dev/null
33 +++ b/net-mail/mu/mu-1.6.5.ebuild
34 @@ -0,0 +1,60 @@
35 +# Copyright 1999-2021 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=8
39 +
40 +inherit elisp-common
41 +
42 +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
43 +HOMEPAGE="https://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
44 +SRC_URI="https://github.com/djcb/mu/releases/download/${PV}/mu-${PV}.tar.xz"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~x64-macos"
49 +IUSE="emacs guile readline"
50 +
51 +DEPEND="
52 + dev-libs/glib:2
53 + dev-libs/gmime:3.0
54 + >=dev-libs/xapian-1.4:=
55 + emacs? ( >=app-editors/emacs-25.3:* )
56 + guile? ( >=dev-scheme/guile-2.2:* )
57 + readline? ( sys-libs/readline:= )"
58 +RDEPEND="${DEPEND}"
59 +BDEPEND="virtual/pkgconfig"
60 +
61 +SITEFILE="70mu-gentoo-autoload.el"
62 +
63 +src_configure() {
64 + local myeconfargs=(
65 + $(use_enable emacs mu4e)
66 + $(use_enable guile)
67 + $(use_enable readline)
68 + --disable-gtk
69 + --disable-webkit
70 + )
71 +
72 + econf "${myeconfargs[@]}"
73 +}
74 +
75 +pkg_preinst() {
76 + if [[ -n ${REPLACING_VERSIONS} ]]; then
77 + elog "After upgrading from an old major version, you should"
78 + elog "rebuild your mail index."
79 + fi
80 +}
81 +
82 +pkg_postinst() {
83 + if use emacs; then
84 + einfo "To use mu4e you need to configure it in your .emacs file"
85 + einfo "See the manual for more information:"
86 + einfo "https://www.djcbsoftware.nl/code/mu/mu4e/"
87 +
88 + elisp-site-regen
89 + fi
90 +}
91 +
92 +pkg_postrm() {
93 + use emacs && elisp-site-regen
94 +}