Gentoo Archives: gentoo-commits

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