diff options
author | William Hubbs <williamh@gentoo.org> | 2023-01-11 13:03:42 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-01-11 13:23:59 -0600 |
commit | 651b2e34295b66e43bf284ae701b71398eb6c7e8 (patch) | |
tree | 70a8c7a13283f5601c7b68283142b9bf63890266 /mail-client | |
parent | dev-python/snakeoil: Stabilize 0.10.4 ALLARCHES, #890507 (diff) | |
download | gentoo-651b2e34295b66e43bf284ae701b71398eb6c7e8.tar.gz gentoo-651b2e34295b66e43bf284ae701b71398eb6c7e8.tar.bz2 gentoo-651b2e34295b66e43bf284ae701b71398eb6c7e8.zip |
mail-client/aerc: add 0.14.0
Closes: https://bugs.gentoo.org/889896
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/aerc/Manifest | 2 | ||||
-rw-r--r-- | mail-client/aerc/aerc-0.14.0.ebuild | 69 |
2 files changed, 71 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest index 8414cee0e88a..2403645945fb 100644 --- a/mail-client/aerc/Manifest +++ b/mail-client/aerc/Manifest @@ -2,3 +2,5 @@ DIST aerc-0.11.0-deps.tar.xz 119175388 BLAKE2B daf4addd0d80ecc14485c5e7e32043a64 DIST aerc-0.11.0.tar.gz 230891 BLAKE2B e598c04eebed7d8be201630546557be0820b81d90198c2c408d657bdf8135f58a3029f30f6245842ebbbdb713e61915fc7d57fc8aae05d4ecd6cedff45068a56 SHA512 141c0300e60d81b725426f98d59ee645a2c24f478359587259ec645b6a710e6d292d1b8319a9f57f94d5be2f98cd48171dc6d99b54a20e49f16ed77199a2e127 DIST aerc-0.12.0-deps.tar.xz 304180452 BLAKE2B 14f7d7e1a06bfd2b8692a4451623f657af919ac497d6119bf7fe5e6a8524b3bc25de4208566d7d92a74c267270021a13ccf6db05dee50a1d2c980e5e07b560df SHA512 d19d26f8ae62330f451261cace7ea0fc2a4af94c252f732bf9388d673b769b96c5d29640b992cc77a2cfaa8acaee628714206f01dd075e2788537b875bca8c63 DIST aerc-0.12.0.tar.gz 293215 BLAKE2B e7e7c156c464ae49eabe7b6ba3e79c3bbca240ace0a3323f8a740a5b872dbbf329127e4edf1395139588e3f0142280f24ef9783c25d3e00176359f82767b439a SHA512 3624a3e0583a1509e2400c9c2e73cbba505841b52fc222224b1ec3c6f3ff7bf44d7ff9e3b1cb25e7c0c522e9748572d2c4b37958de8c0ffb2d0e220de941c5db +DIST aerc-0.14.0-deps.tar.xz 312747732 BLAKE2B bfba50f224132b3f21cf052788c41d15d8e86d8b050e4007dd1dc4bb4462077bd1d5f54be5382983d1600d04f09f3abe6cd3bbacb8e786749bfc8075f5313997 SHA512 ed0917373203432b85a702dd0fa6a189b8002ed3173c9eaa6c48a5cb5fd6a390ecc9ad716120f9743f60c226637a476942a80b16261e1b04e79177cdfd194d96 +DIST aerc-0.14.0.tar.gz 332575 BLAKE2B 6d133c9c4cd21da610d271c60dcbc1654a35c7a7592791572283648101de9a60cb0da7b2642fde114acdfa2108e3405f4d2fec884e0f5fa5b7fc096704e5f9ff SHA512 d12502a809c5163bc81bfa3bfbd471a03f4e8e56084e00e7bb52619a8ac6f34df78342c0e8e82d6cdfd4fe1bc0c375dd65366a442875621b20bbd040a9025831 diff --git a/mail-client/aerc/aerc-0.14.0.ebuild b/mail-client/aerc/aerc-0.14.0.ebuild new file mode 100644 index 000000000000..c54807fff2de --- /dev/null +++ b/mail-client/aerc/aerc-0.14.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 2019-2023 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.9.7 + >=dev-lang/go-1.16 +" + +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 +} + +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 +} |