mail-client/mutt: add USE=notmuch for latest version based on neomutt
authorFabian Groffen <grobian@gentoo.org>
Tue, 28 Jun 2016 17:17:16 +0000 (19:17 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 28 Jun 2016 17:17:16 +0000 (19:17 +0200)
Package-Manager: portage-2.2.28

mail-client/mutt/metadata.xml
mail-client/mutt/mutt-1.6.1-r2.ebuild

index b49c4260d0321a35aee829c6fad6f55707248e38..480b414a07a46e780fcb6bc21b7e045be9e246c3 100644 (file)
@@ -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
index 2d0f8ea95b89b63e999ccca2cc6a30ba2845bb18..a3d89b22c43e651a4f377541596ebb23ffaca9b8 100644 (file)
@@ -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) \