commit:     09bd028c885862c02c44efeaed8f5143f3f3e8e7
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 17:17:16 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 17:17:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bd028c

mail-client/mutt: add USE=notmuch for latest version based on neomutt

Package-Manager: portage-2.2.28

 mail-client/mutt/metadata.xml         | 5 +++--
 mail-client/mutt/mutt-1.6.1-r2.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/mail-client/mutt/metadata.xml b/mail-client/mutt/metadata.xml
index b49c426..480b414 100644
--- a/mail-client/mutt/metadata.xml
+++ b/mail-client/mutt/metadata.xml
@@ -10,8 +10,9 @@
   </maintainer>
   <use>
     <flag name="gpg">Enable support for <pkg>app-crypt/gpgme</pkg></flag>
-    <flag name="pop">Enable support for pop</flag>
-    <flag name="sidebar">Use the vanilla tree + sidebar patch</flag>
+    <flag name="pop">Enable support for POP3</flag>
+       <flag name="notmuch">Enable support for 
<pkg>net-mail/notmuch</pkg></flag>
+    <flag name="sidebar">Enable the sidebar feature</flag>
     <flag name="smime">Enable support for smime</flag>
     <flag name="smtp">Enable support for smtp</flag>
     <flag name="tokyocabinet">Enable tokyocabinet database backend for header

diff --git a/mail-client/mutt/mutt-1.6.1-r2.ebuild 
b/mail-client/mutt/mutt-1.6.1-r2.ebuild
index 2d0f8ea..a3d89b2 100644
--- a/mail-client/mutt/mutt-1.6.1-r2.ebuild
+++ b/mail-client/mutt/mutt-1.6.1-r2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="http://www.mutt.org/";
 SRC_URI="ftp://ftp.mutt.org/pub/mutt/${P}.tar.gz
        https://bitbucket.org/${PN}/${PN}/downloads/${P}.tar.gz
        https://github.com/neomutt/integration/archive/${NEOMUTT}.zip -> 
${P}-neomutt-patches-${NEOMUTT}.zip"
-IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos libressl mbox 
nls nntp pop qdbm sasl selinux sidebar slang smime smtp ssl tokyocabinet"
+IUSE="berkdb crypt debug doc gdbm gnutls gpg idn imap kerberos libressl mbox 
nls nntp notmuch pop qdbm sasl selinux sidebar slang smime smtp ssl 
tokyocabinet"
 SLOT="0"
 LICENSE="GPL-2"
 # this needs some testing due to full-on neomutt changes
@@ -66,6 +66,7 @@ CDEPEND="
                !libressl? ( >=dev-libs/openssl-0.9.6:0 )
                libressl? ( dev-libs/libressl )
        )
+       notmuch? ( net-mail/notmuch )
        slang? ( sys-libs/slang )
        !slang? ( >=sys-libs/ncurses-5.2:0 )
 "
@@ -142,6 +143,7 @@ src_configure() {
                $(use_enable sidebar) \
                $(use_enable smime) \
                $(use_enable smtp) \
+               $(use_enable notmuch) \
                $(use_with idn) \
                $(use_with kerberos gss) \
                $(use slang && echo --with-slang=${EPREFIX}/usr) \

Reply via email to