diff options
Diffstat (limited to 'net-mail/mu')
-rw-r--r-- | net-mail/mu/Manifest | 4 | ||||
-rw-r--r-- | net-mail/mu/metadata.xml | 9 | ||||
-rw-r--r-- | net-mail/mu/mu-1.3.3.ebuild | 86 |
3 files changed, 97 insertions, 2 deletions
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest index c35b43f08144..51518d3f4515 100644 --- a/net-mail/mu/Manifest +++ b/net-mail/mu/Manifest @@ -1,6 +1,8 @@ AUX 70mu-gentoo.el 76 BLAKE2B 478ebba49409f7b1fd601e4c6019cb9da7cc8c6f9b4f7318155225fa84ebd82cb73ba79637c0aa2dda9d9779e525b0577bc940a0d613a3fa64031e35f3178a46 SHA512 61cc2bf611a0d1f2aa53b4624c52e1aa9672a81b4b8d7386aad1bf70b0b0db6ee19e011acc5a1a28b220d99eb3683140a2ff02dc3e01ea68f512ee05ec7bc23e DIST mu-0.9.18.tar.gz 2250319 BLAKE2B 7eb83a797eccff706ac6b264a7d56feae80e40f370e190e0a94f2524dd73a8bfdb35599909f90d0a2b87fc513bbcf2b00fa307a3e4d0b6718ebdc7f7fcdc6df0 SHA512 47104d18547de0871782abc4e1c6dbf1f9b2489410e5716043861bf8d973d33d2138de7d7ac568b300ca86ae9f1a0fda0fa9555ad9a5938771336ef958183546 DIST mu-1.0.tar.gz 2273670 BLAKE2B a771b00159142fa4a671d07cf9de6f0f941c432ddee31f19606c260ba3dfef857a36a333f5ede4ca30be88d7b7eae28e996e15a8deebd96971b341f0f72bfbbb SHA512 49b0b86f22e9a6ace1fc3fd6e7a8a523aa9edf092b953d59f59a1ef7311c8c546a261a1a186e3285cea788be20c816c70ac08d1514f700ff97258a2012ad394d +DIST mu-1.3.3.tar.gz 2304029 BLAKE2B e2bbf3f7aa22ba2e1fd64b0e35df3e857dd3ec7874d08d36350a5d80abb36c667dee3cb43adf481dfbabd2a7944e84207d1913cb2525e637878a86fa70b213af SHA512 ab7844aef1ee6526a8b4ac1b98f6dc323fa01be6ac999f7b8a57b1c2aee6eec60a5643589c0477e8fede2f5140a8aa9050f00e52a30aaa1cd6b1cdbd66e441bf EBUILD mu-0.9.18-r2.ebuild 1967 BLAKE2B 2fc80cbf26459398f0f12824cb310eafe4b0af676dfaf1d680bbff480ff7bcbd363ef6db1b022d87b6fa6333be33c47e47baa2a04db9d00653062724075243d2 SHA512 d2d2aaf0e23a3edb2871353eea2beee972aad3a06d1ad30dedb94d0c283850a2ebbf537dd3245e447968ee202105fa0ff1f8b965964765d3e0312cf9f7f1a824 EBUILD mu-1.0.ebuild 1970 BLAKE2B 1f0d0ec3b5cc6c79a0a83c4c5d0488e81e92304e15134dd4902aa78f63ca77a120a7d10930261eb061f425bdff3d985d0d9fee63f7952abf10a65768fbdbb39c SHA512 1c9522b996bc308452352ecd6343280e95ddc3ce2684918c18f032537d92f1327f9a1271a1abc30ace3469985c628c0eb1c567e61fd634d87e30fb3f0c1f36a8 -MISC metadata.xml 630 BLAKE2B 0a24656b86c87b2af1d9b00fc8be0fdccaa2fa28d6b1d8a4146b3d4df7a9edfa3934b28f54615115e1369da32b10e52fefc9ede45b5b59e4c5055d43f797427b SHA512 644b98b1c92e4a8b3e51a9d75d815869f84908aa0fd434c6ac24ca327820e6a2eed31013351a89f33aac9a8a0db91636e8912e5b0417556b45d888e3b1b7ac62 +EBUILD mu-1.3.3.ebuild 2099 BLAKE2B 863cb8a39459777dbae5fd4601fbb88a51d1fa3bdd97f76699f798484a715677e8b8c6fbae080ae2265ca078e13d9267c023bf06073053377ed25cd941441385 SHA512 f120292c849d27aa15a67fa84fc7f485b076d86565be96f42295115cb04daa55fb69d7b71be50b81aaa7de038fad5020c3c404dea64f8a200f1cd2715ad3c31d +MISC metadata.xml 823 BLAKE2B de3b4bd9c6633407c16cf0cc5704a3d7fa6a67886139adaa7b23e1b1eea82e3ba19bcc53beaebdacc8d7a2da71539c216f7c62210d698b10ffe33215783e23ee SHA512 bd2265c198b8342c47c5cc428811993f8187b8dee981df72531097b9d8f2c01e21bc2ec39ab1a1f291e189ef2bdb788153f0bfe5f2479e6faa1cb9e6ce0079ae diff --git a/net-mail/mu/metadata.xml b/net-mail/mu/metadata.xml index f5c66685bfc7..52409e491151 100644 --- a/net-mail/mu/metadata.xml +++ b/net-mail/mu/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>matt@offtopica.uk</email> + <name>Matt Smith</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <longdescription lang="en"> 'mu' is a set of command-line tools for Linux/Unix that enable you to quickly find the e-mails you are looking for, assuming that you store your e-mails in Maildirs. It also includes an emacs based mail client mu4e. diff --git a/net-mail/mu/mu-1.3.3.ebuild b/net-mail/mu/mu-1.3.3.ebuild new file mode 100644 index 000000000000..96b9d5115927 --- /dev/null +++ b/net-mail/mu/mu-1.3.3.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools elisp-common + +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing" +HOMEPAGE="http://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu" +SRC_URI="https://github.com/djcb/mu/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="emacs guile" + +# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody +# really wants both installed at the same time. +DEPEND=" + dev-libs/gmime:3.0 + >=dev-libs/xapian-1.4 + dev-libs/glib:2 + emacs? ( >=virtual/emacs-24.4 ) + guile? ( >=dev-scheme/guile-2.0 ) + !net-mail/mailutils" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +SITEFILE="70mu-gentoo.el" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # Note: Author recommends that packages do not build the webkit toy + # Todo: Add gtk USE-flag + + econf --disable-gtk \ + --disable-webkit \ + $(use_enable emacs mu4e) \ + $(use_enable guile) +} + +src_install () { + dobin mu/mu + dodoc AUTHORS HACKING NEWS NEWS.org TODO README README.org ChangeLog + if use emacs; then + elisp-install ${PN} mu4e/*.el mu4e/*.elc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + doinfo mu4e/mu4e.info + fi + + doman man/mu-add.1 man/mu-bookmarks.5 man/mu-cfind.1 man/mu-easy.1 \ + man/mu-extract.1 man/mu-find.1 man/mu-help.1 man/mu-index.1 \ + man/mu-mkdir.1 man/mu-query.7 man/mu-remove.1 \ + man/mu-script.1 man/mu-server.1 man/mu-verify.1 \ + man/mu-view.1 man/mu.1 + + if use guile; then + doinfo guile/mu-guile.info + fi +} + +src_test () { + # Note: Fails with parallel make + emake -j1 check +} + +pkg_postinst() { + if use emacs; then + einfo "To use mu4e you need to configure it in your .emacs file" + einfo "See the manual for more information:" + einfo "http://www.djcbsoftware.nl/code/mu/mu4e/" + fi + + elog "If you upgrade from an older major version," + elog "then you need to rebuild your mail index." + + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |