From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F0B75138350 for ; Thu, 5 Mar 2020 06:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D87CAE092E; Thu, 5 Mar 2020 06:09:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2AB06E092E for ; Thu, 5 Mar 2020 06:09:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E0AFD34E95B for ; Thu, 5 Mar 2020 06:09:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD092169 for ; Thu, 5 Mar 2020 06:09:45 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1583388560.c502ba7ee66f140b7878f241da84d379e76cef23.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-client/aerc/aerc-9999.ebuild mail-client/aerc/metadata.xml X-VCS-Directories: mail-client/aerc/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c502ba7ee66f140b7878f241da84d379e76cef23 X-VCS-Branch: master Date: Thu, 5 Mar 2020 06:09:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84bfcb6c-00bd-491f-9838-e641a6a6a336 X-Archives-Hash: f9bb47de4754d7c2b48158c542c86993 commit: c502ba7ee66f140b7878f241da84d379e76cef23 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Mar 5 06:08:22 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Mar 5 06:09:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c502ba7e mail-client/aerc: add live ebuild notmuch support not much tested, open bugs if you encounter issues! Package-Manager: Portage-2.3.92, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev gentoo.org> mail-client/aerc/aerc-9999.ebuild | 52 +++++++++++++++++++++++++++++++++++++++ mail-client/aerc/metadata.xml | 3 +++ 2 files changed, 55 insertions(+) diff --git a/mail-client/aerc/aerc-9999.ebuild b/mail-client/aerc/aerc-9999.ebuild new file mode 100644 index 00000000000..455ac923f0d --- /dev/null +++ b/mail-client/aerc/aerc-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 go-module + +DESCRIPTION="Email client for your terminal" +HOMEPAGE="https://aerc-mail.org" + +EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/aerc" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +IUSE="notmuch" + +BDEPEND=">=app-text/scdoc-1.9.7" +DEPEND="notmuch? ( net-mail/notmuch:= )" +RDEPEND="${DEPEND}" + +src_unpack() { + git-r3_src_unpack + go-module_live_vendor +} + +src_compile() { + use notmuch && export GOFLAGS="-tags=notmuch" + emake PREFIX="${EPREFIX}/usr" +} + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install + einstalldocs +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "If you want to allow your users to activate html email" + elog "processing via w3m as shown in the tutorial, make sure you" + elog "emerge net-proxy/dante and www-client/w3m" + fi + + local v + for v in ${REPLACING_VERSIONS}; do + if ver_test $v -lt 0.3.0-r1; then + elog "The dependencies on net-proxy/dante and www-client/w3m" + elog "have been removed since they are optional." + elog "Please emerge them before the next --depclean if you" + elog "need to use them." + fi + done +} diff --git a/mail-client/aerc/metadata.xml b/mail-client/aerc/metadata.xml index e0d10bf223c..b9e1b88aa68 100644 --- a/mail-client/aerc/metadata.xml +++ b/mail-client/aerc/metadata.xml @@ -5,6 +5,9 @@ gyakovlev@gentoo.org Georgy Yakovlev + + Enable support for net-mail/notmuch + Terminal email client with Vim-style keybindings, git awareness and other advanced features.