aboutsummaryrefslogtreecommitdiffstats
path: root/net-mail/mu
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-01-13 16:12:56 +0100
committerWynn Wolf Arbor2020-01-13 16:12:56 +0100
commit741952f7a6b83e595bdcb1a9daf01298c8ac52fa (patch)
tree1fbc677f936fa023a7a5426aee1a209ae5fe1166 /net-mail/mu
parent90b60b5044587535e792ed5410acbf10a76963e7 (diff)
downloadpramantha-741952f7a6b83e595bdcb1a9daf01298c8ac52fa.tar.gz
net-mail/mu: Add 1.3.6 without net-mail/mailutils block
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Diffstat (limited to 'net-mail/mu')
-rw-r--r--net-mail/mu/Manifest4
-rw-r--r--net-mail/mu/files/70mu-gentoo.el3
-rw-r--r--net-mail/mu/metadata.xml24
-rw-r--r--net-mail/mu/mu-1.3.6.ebuild96
4 files changed, 127 insertions, 0 deletions
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
new file mode 100644
index 0000000..885adca
--- /dev/null
+++ b/net-mail/mu/Manifest
@@ -0,0 +1,4 @@
+AUX 70mu-gentoo.el 76 BLAKE2B 478ebba49409f7b1fd601e4c6019cb9da7cc8c6f9b4f7318155225fa84ebd82cb73ba79637c0aa2dda9d9779e525b0577bc940a0d613a3fa64031e35f3178a46 SHA512 61cc2bf611a0d1f2aa53b4624c52e1aa9672a81b4b8d7386aad1bf70b0b0db6ee19e011acc5a1a28b220d99eb3683140a2ff02dc3e01ea68f512ee05ec7bc23e
+DIST mu-1.3.6.tar.gz 2305653 BLAKE2B b9a556c1b374e0b72b6b0c40beba581dc3fe0e0a654a881db3a47582481ef00831e18bcd771e24b231ef843e97f14f7401ad8d041c077617b865f1fa971d1a0f SHA512 c889dc3fc1b7f1333f2adc3891f23ea8977c77ac6af532fec37c6570b4fbb2ce8dda0776568d61dedfa34f0519bb5bba89b90002503c3191a0d633ecfb9d5c87
+EBUILD mu-1.3.6.ebuild 2031 BLAKE2B c9c0e28bfbe1c500429e2ed5685a4d0903b54ae35a5bcb9b54aa9a2b702b022761d1db83419ca4abdcc3b8620ccbf14967697caf4cb65ef4437ba001a84a44a3 SHA512 56a04f59916a23ce336d5397ac9d6162562eb8e39c53e16e67571e55f9fce660ac1410423bb284d2dc0392fb43e66f30a12af4a351065c183ba442609cd84a91
+MISC metadata.xml 895 BLAKE2B 2a8d3f5aa6673c03df5bcf495aded3bb07316b4833ed84ec3e2d7030f5cbab8333865da6a4bd67bc8ee69e39bc6540d4a77bd7ddf3b1b9fdd7b5a6dfb7278fe6 SHA512 e5e1e9f3084189fbdbc8fb55127b8b3eec4acd7685b0d4c9ab564644f21fcc53520b89f7ced7bb3972c13d577a030175a9665d30ba513112125409082a7ad7c0
diff --git a/net-mail/mu/files/70mu-gentoo.el b/net-mail/mu/files/70mu-gentoo.el
new file mode 100644
index 0000000..ce445f1
--- /dev/null
+++ b/net-mail/mu/files/70mu-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")
+(require 'mu4e)
+
diff --git a/net-mail/mu/metadata.xml b/net-mail/mu/metadata.xml
new file mode 100644
index 0000000..9d458cf
--- /dev/null
+++ b/net-mail/mu/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <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.
+ </longdescription>
+ <use>
+ <flag name="emacs">Install the mu4e mail client</flag>
+ <flag name="mug">Install the mug toy client, not for normal use</flag>
+ </use>
+ <upstream>
+ <remote-id type="google-code">mu0</remote-id>
+ <remote-id type="github">djcb/mu</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-mail/mu/mu-1.3.6.ebuild b/net-mail/mu/mu-1.3.6.ebuild
new file mode 100644
index 0000000..790531d
--- /dev/null
+++ b/net-mail/mu/mu-1.3.6.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2020 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 mug"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-libs/gmime:3.0
+ >=dev-libs/xapian-1.4
+ emacs? ( >=app-editors/emacs-24.4:* )
+ guile? ( >=dev-scheme/guile-2.0 )
+ mug? (
+ net-libs/webkit-gtk:4
+ x11-libs/gtk+:3
+ )"
+RDEPEND="
+ ${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+SITEFILE="70mu-gentoo.el"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable emacs mu4e)
+ $(use_enable mug gtk)
+ $(use_enable mug webkit)
+ $(use_enable guile)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+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
+
+ if use mug; then
+ dobin toys/mug/mug
+ fi
+}
+
+src_test() {
+ emake check
+}
+
+pkg_preinst() {
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ elog "After upgrading from an old major version, you should"
+ elog "rebuild your mail index."
+ fi
+}
+
+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
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}