1 |
commit: ca59a6c3a1051e8c69ee01a6a1efbcfbd4d7cba6 |
2 |
Author: Vikraman Choudhury <vikraman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 4 22:41:54 2018 +0000 |
4 |
Commit: Vikraman Choudhury <vikraman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 4 22:42:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca59a6c3 |
7 |
|
8 |
net-mail/mu: Bump to version 1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
net-mail/mu/Manifest | 1 + |
13 |
net-mail/mu/mu-1.0.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 79 insertions(+) |
15 |
|
16 |
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest |
17 |
index 90674d94512..a4ab9d3799f 100644 |
18 |
--- a/net-mail/mu/Manifest |
19 |
+++ b/net-mail/mu/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST mu-0.9.15.tar.gz 2203193 BLAKE2B f639af3d851ba72605840ef969ff046ba59eba656d |
21 |
DIST mu-0.9.16.tar.gz 2212969 BLAKE2B b56fe468ad1e077f7f66bdd0afb6e81f7ba500aaf55a867ea4b44f78f9b7f8d723905075515692da38918c3b7b89d3679e473774fe03efbea1210b3b75b954fd SHA512 8cf9b83aea287ee79b5160ed19e7dc6ef27f0784143b5eac9cf55d07b7718bc777624d752e0b407258b5078e998544d18dbb258a7eb03cafe55596f07a60d1f4 |
22 |
DIST mu-0.9.18.tar.gz 2250319 BLAKE2B 7eb83a797eccff706ac6b264a7d56feae80e40f370e190e0a94f2524dd73a8bfdb35599909f90d0a2b87fc513bbcf2b00fa307a3e4d0b6718ebdc7f7fcdc6df0 SHA512 47104d18547de0871782abc4e1c6dbf1f9b2489410e5716043861bf8d973d33d2138de7d7ac568b300ca86ae9f1a0fda0fa9555ad9a5938771336ef958183546 |
23 |
DIST mu-0.9.9.6.tar.gz 2172349 BLAKE2B 371db6a38e7a099e5d4f16b097c450be608390ebcd2edf02f316f308c06b102999be24c1ab3f29975a9a153ee2443e4833f404e5613123b7ed4e3d27bead9f67 SHA512 0213033aa7599a5120c38a4b9ec018357ebd63a3c4828e0f9d7af41529dc1b001db8d506408b0341e0efe9835fbd21dbf23c836920c98ae2caabcb0cdc7dac2b |
24 |
+DIST mu-1.0.tar.gz 2273670 BLAKE2B a771b00159142fa4a671d07cf9de6f0f941c432ddee31f19606c260ba3dfef857a36a333f5ede4ca30be88d7b7eae28e996e15a8deebd96971b341f0f72bfbbb SHA512 49b0b86f22e9a6ace1fc3fd6e7a8a523aa9edf092b953d59f59a1ef7311c8c546a261a1a186e3285cea788be20c816c70ac08d1514f700ff97258a2012ad394d |
25 |
DIST mu4e-manual-0.9.9.5.pdf 396250 BLAKE2B 83bcc3a5b70dc6480189a803748b530b7a3ba11187f418e45e81dc7e67501086ebccf82859600d123137901feede75270dbc1df9c59ce4020c4f75c2999e0a95 SHA512 ef9d36a1d9c7a397d89ce5a01072408165dc37b1cc7bb90658f35421cd0dfe28c8fa932cc602f5150c7947aa09c94a470924c98fcae3d9caa7d92fb1d47f7e7e |
26 |
|
27 |
diff --git a/net-mail/mu/mu-1.0.ebuild b/net-mail/mu/mu-1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..2ffb7d2dbe8 |
30 |
--- /dev/null |
31 |
+++ b/net-mail/mu/mu-1.0.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools elisp-common |
39 |
+ |
40 |
+DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" |
41 |
+HOMEPAGE="http://www.djcbsoftware.nl/code/mu/" |
42 |
+SRC_URI="https://github.com/djcb/mu/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="emacs" |
48 |
+ |
49 |
+# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody |
50 |
+# really wants both installed at the same time. |
51 |
+DEPEND=" |
52 |
+ dev-libs/gmime:2.6 |
53 |
+ dev-libs/xapian |
54 |
+ dev-libs/glib:2 |
55 |
+ emacs? ( >=virtual/emacs-23 ) |
56 |
+ !net-mail/mailutils" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+SITEFILE="70mu-gentoo.el" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ # Todo: Make a guile USE-flag as soon as >=guile-2 is avaiable |
68 |
+ # Note: --disable-silent-rules is included in EAPI-5 |
69 |
+ econf --disable-guile \ |
70 |
+ --disable-gtk \ |
71 |
+ --disable-webkit \ |
72 |
+ $(use_enable emacs mu4e) |
73 |
+} |
74 |
+ |
75 |
+src_install () { |
76 |
+ dobin mu/mu |
77 |
+ dodoc AUTHORS HACKING NEWS NEWS.org TODO README README.org ChangeLog |
78 |
+ if use emacs; then |
79 |
+ elisp-install ${PN} mu4e/*.el mu4e/*.elc |
80 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
81 |
+ doinfo mu4e/mu4e.info |
82 |
+ fi |
83 |
+ # TODO: Add guile man page when guile-2 is available. |
84 |
+ doman man/mu-add.1 man/mu-bookmarks.5 man/mu-cfind.1 man/mu-easy.1 \ |
85 |
+ man/mu-extract.1 man/mu-find.1 man/mu-help.1 man/mu-index.1 \ |
86 |
+ man/mu-mkdir.1 man/mu-remove.1 man/mu-server.1 man/mu-verify.1 \ |
87 |
+ man/mu-view.1 man/mu.1 |
88 |
+} |
89 |
+ |
90 |
+src_test () { |
91 |
+ # Note: Fails with parallel make |
92 |
+ emake -j1 check |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ if use emacs; then |
97 |
+ einfo "To use mu4e you need to configure it in your .emacs file" |
98 |
+ einfo "See the manual for more information:" |
99 |
+ einfo "http://www.djcbsoftware.nl/code/mu/mu4e/" |
100 |
+ fi |
101 |
+ |
102 |
+ elog "If you upgrade from an older major version," |
103 |
+ elog "then you need to rebuild your mail index." |
104 |
+ |
105 |
+ use emacs && elisp-site-regen |
106 |
+} |
107 |
+ |
108 |
+pkg_postrm() { |
109 |
+ use emacs && elisp-site-regen |
110 |
+} |