From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1713257-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1B4BE1580E0
	for <garchives@archives.gentoo.org>; Tue, 28 Jan 2025 00:37:07 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 037D0343488
	for <garchives@archives.gentoo.org>; Tue, 28 Jan 2025 00:37:07 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id EF23611046F;
	Tue, 28 Jan 2025 00:37:05 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id E120C11046F
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 00:37:05 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 89AA4343488
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 00:37:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B951115B5
	for <gentoo-commits@lists.gentoo.org>; Tue, 28 Jan 2025 00:37:03 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1738024421.e762956b0a523a0f882ace72b88aa465b8631d9d.williamh@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/aerc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-client/aerc/Manifest mail-client/aerc/aerc-0.20.1.ebuild
X-VCS-Directories: mail-client/aerc/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: e762956b0a523a0f882ace72b88aa465b8631d9d
X-VCS-Branch: master
Date: Tue, 28 Jan 2025 00:37:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a141c322-1eb0-47ea-872a-a5936c0d5ec4
X-Archives-Hash: c55f4dae3f58cef96c6441e7042a4b2b

commit:     e762956b0a523a0f882ace72b88aa465b8631d9d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 00:33:41 2025 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 00:33:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e762956b

mail-client/aerc: add 0.20.1

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 mail-client/aerc/Manifest           |  2 ++
 mail-client/aerc/aerc-0.20.1.ebuild | 72 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest
index 9e910592daae..fab87e33eee8 100644
--- a/mail-client/aerc/Manifest
+++ b/mail-client/aerc/Manifest
@@ -1,2 +1,4 @@
 DIST aerc-0.18.2-deps.tar.xz 19518064 BLAKE2B efc0b54852e96f1a4eaa3c6d0846df022f36670167d1b0042ae443a1216a8b42ae11624eabbac56956c5fa164fe4494942dd9dbabd37d8b4fde1823162b0ea34 SHA512 f2b3204912c7a81fe5e533fe22e293c59f28192cf05f517a4205b0e92337994157f7f9f031fc33c5a8ace67003afc44606b6faca0c9c26b13d9639934ab39ee3
 DIST aerc-0.18.2.tar.gz 447348 BLAKE2B e5979dfe6a0d5c9335eae758c085dc0fd9d45298a537a41e6e3999407395e3ad936e9917c2140d47fcd295cbfc4e8233c4621830b399d70fab0a0c3fa8878315 SHA512 accce8bf2d5e90bffa615e58c68cb187e2eb0ede64bbebe69735c1367c51f286d2dfa505f6b0c67a5958f32afacb9903b1c12e397e64e49403807b78d3bad25c
+DIST aerc-0.20.1-deps.tar.xz 19015028 BLAKE2B 7202471091eed2ac76b8c20b55397dbb7c7ffcd321c45448de5c1ae43fdbd2a633e23a8cd30aabe1256d33ba0200f729eb1c5f074177547e0148382eed5cae12 SHA512 05ad9b250e2f58a6790adbbb7a7eb3a823c302ddcec4227c7bad74f62f9a75d76d7f224108b4d8c24f44018f62c0eb66e2090ffaa0fa61948cb1301b25bb22ab
+DIST aerc-0.20.1.tar.gz 474975 BLAKE2B bfe91f5b6f3ba2c0599193cf38a1a9c97466442b9d97ff5868f6ad7f16aaab4247e167e1b02f86b0a44121ebb21b98a55da999a43b5556fd56384977a62f0996 SHA512 7221217b7f0e6f92b589864b2e214b3edad3a2f702ab1d6b83f11eba6bb443bf334e76dbb61a67a13a9673e5e5106428ea3ba0ade940dc7f2cf488076783f4a5

diff --git a/mail-client/aerc/aerc-0.20.1.ebuild b/mail-client/aerc/aerc-0.20.1.ebuild
new file mode 100644
index 000000000000..f831710a5855
--- /dev/null
+++ b/mail-client/aerc/aerc-0.20.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module xdg
+
+DESCRIPTION="Email client for your terminal"
+HOMEPAGE="https://aerc-mail.org"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.sr.ht/~rjarry/aerc"
+else
+	SRC_URI="https://git.sr.ht/~rjarry/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+	KEYWORDS="~amd64 ~ppc64"
+fi
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+IUSE="notmuch"
+
+COMMON_DEPEND="notmuch? ( net-mail/notmuch:= )"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=app-text/scdoc-1.11.3"
+
+src_unpack() {
+	if [[ ${PV} == *9999 ]]; then
+		git-r3_src_unpack
+		go-module_live_vendor
+	else
+		go-module_src_unpack
+	fi
+}
+
+src_compile() {
+	unset LDFLAGS
+	emake GOFLAGS="$(usex notmuch "-tags=notmuch" "")" \
+		PREFIX="${EPREFIX}/usr" VERSION=${PV}  all
+}
+
+src_install() {
+	emake GOFLAGS="$(usex notmuch "-tags=notmuch" "")" \
+		DESTDIR="${ED}" PREFIX="${EPREFIX}/usr" VERSION="${PV}" install
+	einstalldocs
+	dodoc CHANGELOG.md
+}
+
+src_test() {
+	emake tests
+}
+
+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
+	xdg_pkg_postinst
+}