diff options
author | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-09 21:33:26 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2024-07-09 21:33:26 -0600 |
commit | f516658f978a66b58689d88e30df5bba5a690e60 (patch) | |
tree | 6c5000220ae365a52fe85b08d6cdea7757b70438 | |
parent | net-mail/hydroxide: drop 0.2.23, 0.2.24, 0.2.26 (diff) | |
download | guru-f516658f978a66b58689d88e30df5bba5a690e60.tar.gz guru-f516658f978a66b58689d88e30df5bba5a690e60.tar.bz2 guru-f516658f978a66b58689d88e30df5bba5a690e60.zip |
net-mail/hydroxide: add 0.2.29
Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
-rw-r--r-- | net-mail/hydroxide/Manifest | 3 | ||||
-rw-r--r-- | net-mail/hydroxide/hydroxide-0.2.29.ebuild | 54 | ||||
-rw-r--r-- | net-mail/hydroxide/hydroxide-9999.ebuild | 8 |
3 files changed, 61 insertions, 4 deletions
diff --git a/net-mail/hydroxide/Manifest b/net-mail/hydroxide/Manifest index ce496a1dc..fb50f1e9c 100644 --- a/net-mail/hydroxide/Manifest +++ b/net-mail/hydroxide/Manifest @@ -4,3 +4,6 @@ DIST hydroxide-0.2.27.tar.gz.sig 566 BLAKE2B 8af003819f369a2b68a1ed45f60a2bbebaf DIST hydroxide-0.2.28-deps.tar.xz 148997388 BLAKE2B 8a4d6ef87d3759b2b8cb4ecb135f77dc4bd2c93f03ed8e9382152050d70270261b605bc93b31d2379e351c04bbf3aa920ee014d40f54ae352b145002dfe2946e SHA512 dfb6244a8bb676df96ee23c873ef4371b95d2758f68b8f3a777251a5d8dfe2f9624c667f1c9d98f3d1ea40aec23f01cded9fb6f0f16ee40ea31baf9f50f97cb9 DIST hydroxide-0.2.28.tar.gz 45318 BLAKE2B a63568405e58746719a2726d959bc5f1a67357831a78827b5d4c27c417cf52ea6cfa8e990d4816176b192ac9044d01ea6a1b40a5b617f299c01e3b712c63ca25 SHA512 55472d5f081eb2827cd37ebb02e66c5831cfde7f375c1800142cb888837bb05ae07da873ddca33b4b83a0ed2adb4587d90d43e05c1478e2696de9b7871e213f0 DIST hydroxide-0.2.28.tar.gz.sig 566 BLAKE2B 7215a833a084bc5331e8c133a05669178c751a3998f40e3a5ae0ff7ad1b0ebeefa42dfc9ae8b373823973b876462695b11c52ab5d629b9677a1cf853f9d27a08 SHA512 34a5dccae951f26a1b18ed6e274c046d7946ea3255214d8891744049ff79d76dc613985dec89d4396be458aa4ba57c317fb3de84bb42b4204ca8b1ed52d0d306 +DIST hydroxide-0.2.29-deps.tar.xz 149650952 BLAKE2B a9f6826dcf3fd5a14669a30320b41407678d5d19721e8bc65c6417511cb4b7d8091aebcc6a58e111b7ca26e76d5566887566c1b05e5fea78f1d325ca65f8b396 SHA512 d50d32d56ada23928a94d5bc830a2b8c5f7dee1497959aa1a4f975fdaa59224f935e0655ad48e5ec0ba77ba8d683fa0c1b36e48b10c405b9c606a94f84b84744 +DIST hydroxide-0.2.29.tar.gz 45800 BLAKE2B f6ed6e35be661317f84afb34f89e093d6e9e84bab55d3debc192d1a667e7fc6bc44d33bbd142b81e93153d0416a7936aeee0798c20b534d2622bf8a776cdf416 SHA512 f35b75aef6d4fa16b1af96cb4b568915af76d938d1bf1e397e6488360366c9d4ea5216a4f83cbc91800141cc791858913f4c0b5991260e0dde40ec5653c7870b +DIST hydroxide-0.2.29.tar.gz.sig 566 BLAKE2B d34aecea8ca5591a519c79adf86000e19950c1ec5412db1903ee6ac9992315c3f5da4a0b8efb7d639334cad04a73e8b69cf7c2c6ca53da4ed526a04d87b5da3c SHA512 da1b55f24274d3f33a84a78d5aaf7a84730453e3659030e5e0ef666967b05e1ed1adf70fc57fbde8fbf63238a3276cd87d2cd166f519cf7d7ecee30d143a899f diff --git a/net-mail/hydroxide/hydroxide-0.2.29.ebuild b/net-mail/hydroxide/hydroxide-0.2.29.ebuild new file mode 100644 index 000000000..6b050e289 --- /dev/null +++ b/net-mail/hydroxide/hydroxide-0.2.29.ebuild @@ -0,0 +1,54 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module multiprocessing + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/emersion/hydroxide.git" +else + inherit verify-sig + SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz + verify-sig? ( https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz.sig ) + https://github.com/sevz17/go-deps/releases/download/${P}/${P}-deps.tar.xz + " + VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-emersion )" + KEYWORDS="~amd64" +fi + +DESCRIPTION="A third-party, open-source ProtonMail CardDAV, IMAP and SMTP bridge" +HOMEPAGE="https://github.com/emersion/hydroxide" + +LICENSE="MIT BSD" +SLOT="0" + +src_unpack() { + if [[ ${PV} == *9999* ]]; then + git-r3_src_unpack + go-module_live_vendor + else + if use verify-sig; then + verify-sig_verify_detached "${DISTDIR}/${P}".tar.gz{,.sig} + fi + go-module_src_unpack + fi +} + +src_compile() { + ego build -v -x -p "$(makeopts_jobs)" ./cmd/hydroxide +} + +src_install() { + default + dobin "${PN}" +} + +pkg_postinst() { + elog "" + elog "In order to use ${PN} you need to read" + elog "https://github.com/emersion/hydroxide#installing" + elog "" +} diff --git a/net-mail/hydroxide/hydroxide-9999.ebuild b/net-mail/hydroxide/hydroxide-9999.ebuild index 47fed29f3..6b050e289 100644 --- a/net-mail/hydroxide/hydroxide-9999.ebuild +++ b/net-mail/hydroxide/hydroxide-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ else https://github.com/sevz17/go-deps/releases/download/${P}/${P}-deps.tar.xz " VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/emersion.asc" - BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-emersion )" + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-emersion )" KEYWORDS="~amd64" fi @@ -26,12 +26,12 @@ LICENSE="MIT BSD" SLOT="0" src_unpack() { - if [[ "${PV}" == "9999" ]]; then + if [[ ${PV} == *9999* ]]; then git-r3_src_unpack go-module_live_vendor else if use verify-sig; then - verify-sig_verify_detached "${DISTDIR}"/"${P}".tar.gz{,.sig} + verify-sig_verify_detached "${DISTDIR}/${P}".tar.gz{,.sig} fi go-module_src_unpack fi |