aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2019-05-05 14:26:02 +0200
committerAstroFloyd <AstroFloyd@gmail.com>2019-05-05 14:26:02 +0200
commit0c44ec0396ca276faa6e8353ab8263c004cb1ed0 (patch)
tree0d840897b446d130fd400c0f66ca371fb87ea425
parentmedia-video: remove obsolete media-video/xanim (diff)
downloadAstroFloyd-0c44ec0396ca276faa6e8353ab8263c004cb1ed0.tar.gz
AstroFloyd-0c44ec0396ca276faa6e8353ab8263c004cb1ed0.tar.bz2
AstroFloyd-0c44ec0396ca276faa6e8353ab8263c004cb1ed0.zip
net-mail/mu: version bump from v1.0 (unstable portage) to 1.2 + 1.3.1
Signed-off-by: AstroFloyd <AstroFloyd@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11
-rw-r--r--net-mail/mu/ChangeLog6
-rw-r--r--net-mail/mu/Manifest7
-rw-r--r--net-mail/mu/files/70mu-gentoo.el3
-rw-r--r--net-mail/mu/metadata.xml16
-rw-r--r--net-mail/mu/mu-1.2.ebuild78
-rw-r--r--net-mail/mu/mu-1.3.1.ebuild78
6 files changed, 188 insertions, 0 deletions
diff --git a/net-mail/mu/ChangeLog b/net-mail/mu/ChangeLog
new file mode 100644
index 0000000..ee6a86d
--- /dev/null
+++ b/net-mail/mu/ChangeLog
@@ -0,0 +1,6 @@
+*mu-1.2 (05 May 2019)
+*mu-1.3.1 (05 May 2019)
+
+ 05 May 2019; AstroFloyd <AstroFloyd@gmail.com> +files/70mu-gentoo.el,
+ +metadata.xml, +mu-1.2.ebuild, +mu-1.3.1.ebuild:
+ net-mail/mu: version bump from v1.0 (unstable portage) to 1.2 + 1.3.1
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
new file mode 100644
index 0000000..5621b43
--- /dev/null
+++ b/net-mail/mu/Manifest
@@ -0,0 +1,7 @@
+AUX 70mu-gentoo.el 76 BLAKE2B 478ebba49409f7b1fd601e4c6019cb9da7cc8c6f9b4f7318155225fa84ebd82cb73ba79637c0aa2dda9d9779e525b0577bc940a0d613a3fa64031e35f3178a46 SHA512 61cc2bf611a0d1f2aa53b4624c52e1aa9672a81b4b8d7386aad1bf70b0b0db6ee19e011acc5a1a28b220d99eb3683140a2ff02dc3e01ea68f512ee05ec7bc23e
+DIST mu-1.2.tar.gz 2297571 BLAKE2B 79e6ab6bfcc62d30837f90fdb84e66b537262ba322c72621eff41aa20ae8462256efe8f605d727b84ff2103edd8ee02b26e4d5311802f377ba901ed44cee6005 SHA512 eadebbaf2d6b6c604c9cebc72621fe64bd4fa7b793d02b0a029a3e970c076430e2067a05ab215652f9fc52e77e4e80401476ca5b39b294eb0b14d9082118d99a
+DIST mu-1.3.1.tar.gz 2297142 BLAKE2B c3979920a3ec4df0117576610e752cd18c32df93b7dd412670740c6b966e3d343a5df211b974896e2b79dd7502031e7a1fa6adf8ee2e3e500b211ee7d0385bad SHA512 95a7cdd2a7e01d7b2112c87458ab51a528ead21c75ab6d00e22b52a207cb3bbddb0a739bceb0021a3cc528fcc47863dfedaf28d4ff737217f6bc15636c972a43
+EBUILD mu-1.2.ebuild 1966 BLAKE2B ab3594b25420c54b77fc9773da84295c266f3d54e3803ca344c189c4d8ddd8ff06cf22325dd64e7c5b9eda203bd2180aa8cb67c1e0740cfcb306560e3c37aff1 SHA512 7ba4559263cc4995f9c5270d93ea2c5c4c24b43e82e84e68816fda19c46e1980364ff42f11586695482a2aa0674214b65e7217362fac4ba24d9d1516bfaab0eb
+EBUILD mu-1.3.1.ebuild 1966 BLAKE2B ab3594b25420c54b77fc9773da84295c266f3d54e3803ca344c189c4d8ddd8ff06cf22325dd64e7c5b9eda203bd2180aa8cb67c1e0740cfcb306560e3c37aff1 SHA512 7ba4559263cc4995f9c5270d93ea2c5c4c24b43e82e84e68816fda19c46e1980364ff42f11586695482a2aa0674214b65e7217362fac4ba24d9d1516bfaab0eb
+MISC ChangeLog 242 BLAKE2B 5a50f2817ef50af57f3ae79ffb5c9c49c22287d88462df2c55f714debfee75232e68095e5a06efab2dfa8f266ba37dd45a017baa965ca597cd133366a80c64d1 SHA512 58be4bba5a1f7183d5b9bcf03a5ea1604b2ec89f5889845ae6f9ac85aa7bb52e298ed86ef1a331752d1cd4678706df20b034a57f7aeba7204e6aac53bb4d658e
+MISC metadata.xml 630 BLAKE2B 0a24656b86c87b2af1d9b00fc8be0fdccaa2fa28d6b1d8a4146b3d4df7a9edfa3934b28f54615115e1369da32b10e52fefc9ede45b5b59e4c5055d43f797427b SHA512 644b98b1c92e4a8b3e51a9d75d815869f84908aa0fd434c6ac24ca327820e6a2eed31013351a89f33aac9a8a0db91636e8912e5b0417556b45d888e3b1b7ac62
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..f5c6668
--- /dev/null
+++ b/net-mail/mu/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <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>
+ </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.2.ebuild b/net-mail/mu/mu-1.2.ebuild
new file mode 100644
index 0000000..537cc1b
--- /dev/null
+++ b/net-mail/mu/mu-1.2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common
+
+DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
+HOMEPAGE="http://www.djcbsoftware.nl/code/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"
+
+# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody
+# really wants both installed at the same time.
+DEPEND="
+ dev-libs/gmime:2.6
+ dev-libs/xapian
+ dev-libs/glib:2
+ emacs? ( >=virtual/emacs-23 )
+ !net-mail/mailutils"
+RDEPEND="${DEPEND}"
+
+SITEFILE="70mu-gentoo.el"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Todo: Make a guile USE-flag as soon as >=guile-2 is avaiable
+ # Note: --disable-silent-rules is included in EAPI-5
+ econf --disable-guile \
+ --disable-gtk \
+ --disable-webkit \
+ $(use_enable emacs mu4e)
+}
+
+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
+ # TODO: Add guile man page when guile-2 is available.
+ 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-remove.1 man/mu-server.1 man/mu-verify.1 \
+ man/mu-view.1 man/mu.1
+}
+
+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
+}
diff --git a/net-mail/mu/mu-1.3.1.ebuild b/net-mail/mu/mu-1.3.1.ebuild
new file mode 100644
index 0000000..537cc1b
--- /dev/null
+++ b/net-mail/mu/mu-1.3.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools elisp-common
+
+DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
+HOMEPAGE="http://www.djcbsoftware.nl/code/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"
+
+# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody
+# really wants both installed at the same time.
+DEPEND="
+ dev-libs/gmime:2.6
+ dev-libs/xapian
+ dev-libs/glib:2
+ emacs? ( >=virtual/emacs-23 )
+ !net-mail/mailutils"
+RDEPEND="${DEPEND}"
+
+SITEFILE="70mu-gentoo.el"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # Todo: Make a guile USE-flag as soon as >=guile-2 is avaiable
+ # Note: --disable-silent-rules is included in EAPI-5
+ econf --disable-guile \
+ --disable-gtk \
+ --disable-webkit \
+ $(use_enable emacs mu4e)
+}
+
+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
+ # TODO: Add guile man page when guile-2 is available.
+ 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-remove.1 man/mu-server.1 man/mu-verify.1 \
+ man/mu-view.1 man/mu.1
+}
+
+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
+}