summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-09-13 11:59:43 -0500
committerWilliam Hubbs <williamh@gentoo.org>2022-09-13 12:02:01 -0500
commit2f08e267322e1c783206526e6e5be2efe9e13cbe (patch)
treea2dd5f001016413b45a61cff6f49444d544dc6e8 /mail-client/aerc
parentdev-util/edb-debugger: fix build with Capstone 5 (diff)
downloadgentoo-2f08e267322e1c783206526e6e5be2efe9e13cbe.tar.gz
gentoo-2f08e267322e1c783206526e6e5be2efe9e13cbe.tar.bz2
gentoo-2f08e267322e1c783206526e6e5be2efe9e13cbe.zip
mail-client/aerc: add 0.12.0
Closes: https://bugs.gentoo.org/869689 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'mail-client/aerc')
-rw-r--r--mail-client/aerc/Manifest2
-rw-r--r--mail-client/aerc/aerc-0.12.0.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/mail-client/aerc/Manifest b/mail-client/aerc/Manifest
index ed9331b10e1c..fa85c71fd131 100644
--- a/mail-client/aerc/Manifest
+++ b/mail-client/aerc/Manifest
@@ -2,5 +2,7 @@ DIST aerc-0.10.0-deps.tar.xz 117874916 BLAKE2B fc9921f245be1be740f145ab1e067c3f6
DIST aerc-0.10.0.tar.gz 209836 BLAKE2B 2d51d0d9db90e41cce76ccd3cb802218777a6463a0211eb39378542caec9d2c9468f5f6d18d27d130b1153fa19d1633a9fe93730dcb51ec1afdb92a32cfc5893 SHA512 016182847e1fb8198973aa8522d9a205a8589760d40b0177cb41a9b236277fb4aa11d2c0f14bd836be5a53f4b4d5ef65b407407e09399a2ad025fbf22d53bfbb
DIST aerc-0.11.0-deps.tar.xz 119175388 BLAKE2B daf4addd0d80ecc14485c5e7e32043a64f98936fb87f93586ec2dbb775c68232ade979c33dfeaef8495fac5a9687f5907b17b4e425de5f4609b1be2642325624 SHA512 fd779454dd551a875584879e24a910b68939e8fdf18009211c1eb4e1c7cc0eb7cff8780b1bf90f81489c199a46a10e533596589d5a5a09946fe309c7dd0cb39e
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.9.0-deps.tar.xz 117828944 BLAKE2B 9d5e8561ecc4cae5568655cfb8491b970a0ff8640d35f0d1ae6493ed1d59fc03051556526c2699afea5b27ddb8f25c948fdd5115695935977e5e09fffb1df02a SHA512 7f66ad4124d4da9a295aa096105e4bef2487c393e7b0299fc0da3aacb8dc87cab2b34057419a9ae4f18c3e1385725fc31bae640325b99957782f0aa3eef51e12
DIST aerc-0.9.0.tar.gz 184022 BLAKE2B 5555523228d08361434690c6c565746408ac50061ee12fc9983c0831beac8d4badc6196a5f3186f3a7c5e63b3eaae51f9af230804e093dd87f425412c5877541 SHA512 5821a35bc9c893ac800532b24cce0dcee5113fe41cce057e3ce952c7d7e9add680cbb11b4700cc8896d852817534d979df44f1cb82d93ae5438ebed826bab7bb
diff --git a/mail-client/aerc/aerc-0.12.0.ebuild b/mail-client/aerc/aerc-0.12.0.ebuild
new file mode 100644
index 000000000000..1e55250f13bc
--- /dev/null
+++ b/mail-client/aerc/aerc-0.12.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2019-2022 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.13
+"
+
+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 PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" 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
+}