summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-07-18 12:35:48 -0500
committerWilliam Hubbs <williamh@gentoo.org>2024-07-18 12:35:48 -0500
commitd446137e6ac8216941e3dd826527ca0a2eebecb6 (patch)
tree9fbd6db514d9ce7cf6856aa4f2aa2a457925bd5e /mail-client
parentwww-apps/sonarr-bin: drop 4.0.8.1893 (diff)
downloadgentoo-d446137e6ac8216941e3dd826527ca0a2eebecb6.tar.gz
gentoo-d446137e6ac8216941e3dd826527ca0a2eebecb6.tar.bz2
gentoo-d446137e6ac8216941e3dd826527ca0a2eebecb6.zip
mail-client/aerc: add 0.18.1
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/aerc/Manifest2
-rw-r--r--mail-client/aerc/aerc-0.18.1.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest
index c409718f51b6..8c4643d5a489 100644
--- a/mail-client/aerc/Manifest
+++ b/mail-client/aerc/Manifest
@@ -6,3 +6,5 @@ DIST aerc-0.16.0-deps.tar.xz 47250564 BLAKE2B 27c3d7b8276ef4b56f14b187ed707ce1e7
DIST aerc-0.16.0.tar.gz 387833 BLAKE2B b001ea88f07aafba115ffa08f176f4c96f219c86fcaee1aee2eca7d9d7469d861b74376dffc4e5bc2c3110020cc350df64758386e10548b6c1ef95362fcc1181 SHA512 8196424915f8f6dc80bad0f936e34b7f51298665af3579ae8c06699a4f1caf962258185a432909911920ec1eb089c9f178c9086c54c0e799a44e1e0dac907fd8
DIST aerc-0.17.0-deps.tar.xz 17227844 BLAKE2B b6222043e437ace7ab97c27109711ebe9bd306f08caee83b2236c8c08d653f7dcc0f99f6a2e54c4541c5f4423bfa7099381a7f6cb4a58ff8b647ce964ccd0411 SHA512 8fea417f0c731859496108e4fac052180cb4efc707d61de9b2c55217146aba88a7703cdc4f456e2937df083bfa548e766bc59e3becf7b481e441fc4fc603bf5a
DIST aerc-0.17.0.tar.gz 419228 BLAKE2B 6426f4b4f685ef18d8325eb67a2a06678f8da4d0768e8706362935ebc78b53d6fe3417a8b26d0785c7174d867c538a043bd283d92e70e8f52fd0a0b859739571 SHA512 6648123c37da36f932825e7caec268765bf285124a4473055b86ac48cfa937a250b03d2404764c2c93a978bb56dc9279550e5bf66aa0ff09f90525c5ead7c062
+DIST aerc-0.18.1-deps.tar.xz 19518312 BLAKE2B cf504bc945f2ea20351829f8fea49d0c057e420916b9ed7d73ce8bc60be7f4a64bb73655470caa66a7b8cc25f204236c775934bc52e417716f8538786e1f473c SHA512 8b8c487b73c96036e61648007b06e67af6c6b608810c36e0f92dc64bec7228a1a9782ab452de3ba1063ce693558a554d683cb2fc5f41e84700b9f31e8ff51f55
+DIST aerc-0.18.1.tar.gz 447293 BLAKE2B 4284611f510c47003f895e82bea5bcb6959b08de47cfd88c5dcda455190b94d5855a2f1a514f99b4120a25ffd2b53323de9dd5f960f81214edfc1fb6eafeb2f9 SHA512 38429da656e82cbf63ebfcce655644d4bb7b390c22a2bf93e0bd77448f20a5513aa7dad687e9188ebc222edecc488cee025362e5fa3abd484d1b574261c93c98
diff --git a/mail-client/aerc/aerc-0.18.1.ebuild b/mail-client/aerc/aerc-0.18.1.ebuild
new file mode 100644
index 000000000000..51bfaed44158
--- /dev/null
+++ b/mail-client/aerc/aerc-0.18.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2019-2024 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"
+
+DEPEND="notmuch? ( net-mail/notmuch:= )"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ >=app-text/scdoc-1.11.3
+ >=dev-lang/go-1.18
+"
+
+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
+}