public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/
Date: Thu,  5 Mar 2020 06:09:45 +0000 (UTC)	[thread overview]
Message-ID: <1583388560.c502ba7ee66f140b7878f241da84d379e76cef23.gyakovlev@gentoo> (raw)

commit:     c502ba7ee66f140b7878f241da84d379e76cef23
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 06:08:22 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> 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 <gyakovlev <AT> 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 @@
 		<email>gyakovlev@gentoo.org</email>
 		<name>Georgy Yakovlev</name>
 	</maintainer>
+	<use>
+		<flag name="notmuch">Enable support for <pkg>net-mail/notmuch</pkg></flag>
+	</use>
 	<longdescription lang="en">
 		Terminal email client with Vim-style keybindings, git awareness and other advanced features.
 	</longdescription>


             reply	other threads:[~2020-03-05  6:09 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05  6:09 Georgy Yakovlev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27  1:54 [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/ William Hubbs
2025-02-22  9:38 Ulrich Müller
2025-01-28  0:37 William Hubbs
2024-12-11  1:43 William Hubbs
2024-10-29 16:11 William Hubbs
2024-08-07 13:46 William Hubbs
2024-08-07 13:44 William Hubbs
2024-07-18 17:35 William Hubbs
2024-07-18 17:35 William Hubbs
2024-05-03  9:37 Arthur Zamarin
2024-05-03  9:37 Arthur Zamarin
2023-11-10 17:24 William Hubbs
2023-05-25 15:20 William Hubbs
2023-05-25 15:20 William Hubbs
2023-01-11 19:49 William Hubbs
2023-01-11 19:24 William Hubbs
2022-09-20  4:06 William Hubbs
2022-09-20  2:04 William Hubbs
2022-09-13 17:02 William Hubbs
2022-08-14 20:06 Sam James
2022-07-16 19:38 William Hubbs
2022-05-24 14:03 Joonas Niilola
2022-05-24 14:03 Joonas Niilola
2022-05-11 15:48 William Hubbs
2022-04-03 16:20 William Hubbs
2022-03-19 16:54 William Hubbs
2022-03-06 16:10 William Hubbs
2022-03-06 15:43 William Hubbs
2022-02-27  2:48 William Hubbs
2022-02-11  6:26 William Hubbs
2022-02-11  6:26 William Hubbs
2021-02-21 23:09 William Hubbs
2021-01-11 15:41 William Hubbs
2020-07-11 15:51 William Hubbs
2020-07-11  6:03 Georgy Yakovlev
2020-06-11  2:00 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-05-20  6:16 Georgy Yakovlev
2020-03-22 19:07 William Hubbs
2019-12-11  1:50 Georgy Yakovlev
2019-12-02 20:14 Georgy Yakovlev
2019-12-02 20:14 Georgy Yakovlev
2019-12-02 20:14 Georgy Yakovlev
2019-11-21 23:11 Georgy Yakovlev
2019-08-17  2:06 Georgy Yakovlev
2019-08-01 16:37 Georgy Yakovlev
2019-08-01  7:03 Georgy Yakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1583388560.c502ba7ee66f140b7878f241da84d379e76cef23.gyakovlev@gentoo \
    --to=gyakovlev@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox