mail-client/neomutt: Version bump to neomutt-20171013
authorNicolas Bock <nicolasbock@gentoo.org>
Fri, 13 Oct 2017 16:04:30 +0000 (10:04 -0600)
committerNicolas Bock <nicolasbock@gentoo.org>
Fri, 13 Oct 2017 16:04:30 +0000 (10:04 -0600)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

mail-client/neomutt/Manifest
mail-client/neomutt/neomutt-20171013.ebuild [new file with mode: 0644]
mail-client/neomutt/neomutt-9999.ebuild

index 273709d7264233bf8154d7e1cedb7f87fccb4e70..34234a54a742635d9a991150363166c635f44b7d 100644 (file)
@@ -1,3 +1,4 @@
 DIST neomutt-20170714.tar.gz 2509160 SHA256 40d48920f95ca49ab96eb109b658f5cf6e1c222320c58bdd03769c1355d7a383 SHA512 eb31d2f23b7211904cd66ba293c008f953778b37f13fd09d4db571d013f1c8e6449fccd827872f3ad0a2c8e62555f92b3f9591a1f0f4ac37ab362a4681abaaa0 WHIRLPOOL 455495501a2ab1989d5f3bfa75aa2370896956cdfd7d2e852e225c96aa23a1abdaf2dbb9d886d1d96486d19b2b38c225e8263f268ebafcef8cbd0024885189f3
 DIST neomutt-20170912.tar.gz 2533245 SHA256 9f0d128fe8dbbbddb67e2b629f8b5e52a9d892f82c735845c1708c14e3046657 SHA512 7551da47029667443257d9d370af7217846abf988d1469c4e08f367ef0bce2dfb658321df27176622bbd07e6d46c320380749d4ce05ee39cb1e8d9b6c3e1d7e6 WHIRLPOOL 0dad6380acf5b6f891bcb77388023de27d23e4ea8ad0eb3563c1704de555a2fc54604d47b9b67557c6ab0310e1c365c786a1952f6794b2012594f1c19033ad3c
 DIST neomutt-20171006.tar.gz 2706019 SHA256 86e9d945919438a377828b15f03c8690f639062e44151e219e2f8443ae27147c SHA512 adfa702ee642ce58b11dab1d2b805626d8f90e8cc88731cb7e051df5b785010ac43d90eb14d2a5ace02d3abaf921c9f36f86f627063036bcb7f5724912ca134d WHIRLPOOL 75f2a0c8881b769f1a7acd8c0e7724baf0a2943a68a4029d74d32a5a5ed3203c32ce3704b3271a8e05f02c233273319437a593ffad9df5e1b988f8725f0f2433
+DIST neomutt-20171013.tar.gz 2706753 SHA256 5a7c6302d623b620db03d923a7cd7cf967123a67fc42c117a0dd4b45612e9a55 SHA512 9e4499b165f25091d73868c62b14f950bdfc032444c0cb3619e99a8299d29c3d1f24078e15537e693a3af69ae0681d59e25a73b857882cce2653be593231ffac WHIRLPOOL fde9e7833bc6a469882716d7c9deb4d5146d0a6ffd5769e7d76d952096165b05d29584e057503a1ba3a4887c8afd0efe26401fc9d533250c597527bce8500634
diff --git a/mail-client/neomutt/neomutt-20171013.ebuild b/mail-client/neomutt/neomutt-20171013.ebuild
new file mode 100644 (file)
index 0000000..af4dc6a
--- /dev/null
@@ -0,0 +1,112 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic
+
+SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="A small but very powerful text-based mail client"
+HOMEPAGE="https://www.neomutt.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="berkdb crypt debug doc gdbm gnutls gpg idn kerberos kyotocabinet
+       libressl lmdb nls notmuch qdbm sasl selinux slang smime ssl +symlink
+       tokyocabinet"
+
+CDEPEND="
+       app-misc/mime-types
+       berkdb? ( >=sys-libs/db-4:= )
+       gdbm? ( sys-libs/gdbm )
+       kyotocabinet? ( dev-db/kyotocabinet )
+       lmdb? ( dev-db/lmdb )
+       nls? ( virtual/libintl )
+       qdbm? ( dev-db/qdbm )
+       tokyocabinet? ( dev-db/tokyocabinet )
+       gnutls? ( >=net-libs/gnutls-1.0.17 )
+       gpg? ( >=app-crypt/gpgme-0.9.0 )
+       idn? ( net-dns/libidn )
+       kerberos? ( virtual/krb5 )
+       notmuch? ( net-mail/notmuch )
+       sasl? ( >=dev-libs/cyrus-sasl-2 )
+       !slang? ( sys-libs/ncurses:0 )
+       slang? ( sys-libs/slang )
+       ssl? (
+               !libressl? ( >=dev-libs/openssl-0.9.6:0 )
+               libressl? ( dev-libs/libressl )
+       )
+"
+DEPEND="${CDEPEND}
+       net-mail/mailbase
+       doc? (
+               dev-libs/libxml2
+               dev-libs/libxslt
+               app-text/docbook-xsl-stylesheets
+               || ( www-client/lynx www-client/w3m www-client/elinks )
+       )"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-mutt )
+"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_prepare() {
+       eapply_user
+       eautoreconf
+}
+
+src_configure() {
+       local myconf=(
+               "$(use_enable crypt pgp)"
+               "$(use_enable debug)"
+               "$(use_enable doc)"
+               "$(use_enable gpg gpgme)"
+               "$(use_enable nls)"
+               "$(use_enable smime)"
+               "$(use_enable notmuch)"
+               "$(use_with idn)"
+               "$(use_with kerberos gss)"
+               "$(use_with sasl)"
+               "$(use_with tokyocabinet)"
+               "$(use_with kyotocabinet)"
+               "$(use_with qdbm)"
+               "$(use_with gdbm)"
+               "$(use_with berkdb bdb)"
+               "$(use_with lmdb)"
+               "--with-$(usex slang slang curses)"
+               "--sysconfdir=${EPREFIX}/etc/${PN}"
+               "--with-docdir=${EPREFIX}/usr/share/doc/${PF}"
+       )
+
+       if use gnutls; then
+               myconf+=( "--with-gnutls" )
+       elif use ssl; then
+               myconf+=( "--with-ssl" )
+       fi
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+
+       # A newer file is provided by app-misc/mime-types. So we link it.
+
+       # A man-page is always handy, so fake one
+       if use !doc; then
+               emake -C doc neomuttrc.man
+               # make the fake slightly better, bug #413405
+               sed -e 's#@docdir@/manual.txt#http://www.neomutt.org/guide#' \
+                       -e 's#in @docdir@,#at http://www.neomutt.org/,#' \
+                       -e "s#@sysconfdir@#${EPREFIX}/etc/${PN}#" \
+                       -e "s#@bindir@#${EPREFIX}/usr/bin#" \
+                       doc/neomutt.man > neomutt.1 || die
+               cp doc/neomuttrc.man neomuttrc.5 || die
+               doman neomutt.1 neomuttrc.5
+       fi
+
+       dodoc COPYRIGHT LICENSE* ChangeLog* README*
+}
index 590236b4e3e5039e41761590640fbf4ee11645d8..43cb3fef759599cad81819a66f5da10de5be4526 100644 (file)
@@ -94,10 +94,6 @@ src_configure() {
 src_install() {
        emake DESTDIR="${D}" install
 
-       # A newer file is provided by app-misc/mime-types. So we link it.
-       #rm "${ED}"/etc/${PN}/mime.types || die
-       #dosym "${EPREFIX}/etc/mime.types" /etc/${PN}/mime.types
-
        # A man-page is always handy, so fake one
        if use !doc; then
                emake -C doc neomuttrc.man