public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/protonmail-bridge/
Date: Mon, 30 May 2022 10:42:44 +0000 (UTC)	[thread overview]
Message-ID: <1653907355.54bbebe723023620f731c7e3ce95ffdc8e01c54a.marecki@gentoo> (raw)

commit:     54bbebe723023620f731c7e3ce95ffdc8e01c54a
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon May 30 10:40:08 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon May 30 10:42:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bbebe7

mail-mta/protonmail-bridge: add 2.2.0

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 mail-mta/protonmail-bridge/Manifest                |  2 +
 .../protonmail-bridge-2.2.0.ebuild                 | 67 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/mail-mta/protonmail-bridge/Manifest b/mail-mta/protonmail-bridge/Manifest
index d555c945b30f..1bb0c8aea557 100644
--- a/mail-mta/protonmail-bridge/Manifest
+++ b/mail-mta/protonmail-bridge/Manifest
@@ -1,2 +1,4 @@
 DIST protonmail-bridge-2.1.1-vendor.tar.xz 3778060 BLAKE2B 4350201ec1890eb398360df82d2b623800399e0d536545030254d4e17bac55729fe5d9d6238250b5599a5d4f59014804f442d9bf804a589ecf3be13b248e9bb3 SHA512 736a4c7e3536d8aff48a3987ef46ba0b1ca1aeb5f0346b78ecde93e989f921affa56dd63e70b66b026bdae8c843c7540a07623a744662958dca243e614421a5c
 DIST protonmail-bridge-2.1.1.tar.gz 2034768 BLAKE2B 8748650cd90610803bbba4ed503a01be308225367a82da403ed209f0ed593f2202dc3424ba3c2bc09b3fcfa19ff04cb67351e840aac9fc35f17bc6d512962774 SHA512 c280c61d7a8aaf6e7063183431184e2807e8cdb9ba68cb1a14e45529ccac2b2df7e6ee5b71d7e01341a4b625546ea8cf48ade7cbec64abd998cf8227d9b684de
+DIST protonmail-bridge-2.2.0-deps.tar.xz 237226036 BLAKE2B bb1eabb4a56c19ff6c79b4543ad39f94fe5821d02cf246110a1a41b64c55271c5cfc0be18e496f8f7a76d02d180567ac8dbaba520b27dd38c08708d885c66c1f SHA512 4a3da64b27732d55aaaff8850b9ce0e6c03deecbc8a051338a3bee4066250f10b99fb5f25d9d2cd5541b8de94ee2c11a2805b4344f28764b494e2b645c60b175
+DIST protonmail-bridge-2.2.0.tar.gz 3098013 BLAKE2B 310c84eab7973174a331247bde6f64dad03a3ed05ad241300e5c2c2f7361e5d7c4598201400c6f51a0df49e7ccb57a6230fc1b1c4b749e29d2f2796d3d4c8b81 SHA512 ca0941b37fccbdf8a581426e69ec0c8840ed384bc4fc64592fcf0f228303a3f9f46d41ad56310bc0f99e1bb633ff8c9fcd3c3ab11b5ba34ad6960342111e8fe2

diff --git a/mail-mta/protonmail-bridge/protonmail-bridge-2.2.0.ebuild b/mail-mta/protonmail-bridge/protonmail-bridge-2.2.0.ebuild
new file mode 100644
index 000000000000..3eb8df2b3026
--- /dev/null
+++ b/mail-mta/protonmail-bridge/protonmail-bridge-2.2.0.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd xdg-utils
+
+MY_PN="proton-bridge"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Serves ProtonMail to IMAP/SMTP clients"
+HOMEPAGE="https://proton.me/mail/bridge https://github.com/ProtonMail/proton-bridge/"
+SRC_URI="https://github.com/ProtonMail/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+	https://dev.gentoo.org/~marecki/dists/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 GPL-3+ ISC LGPL-3+ MIT MPL-2.0 Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gui"
+
+# Quite a few tests require Internet access
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="app-crypt/libsecret"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+	xdg_environment_reset
+	default
+}
+
+src_compile() {
+	if use gui; then
+		emake \
+			QT_DOC_DIR="/usr/share/qt5-doc" \
+			QT_PKG_CONFIG=true \
+			build
+	else
+		emake build-nogui
+	fi
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	exeinto /usr/bin
+	newexe ${MY_PN} ${PN}
+
+	systemd_douserunit "${FILESDIR}"/${PN}.service
+
+	# FIXME: USE=gui will probably need more files
+
+	einstalldocs
+}
+
+pkg_postinst() {
+	use gui && xdg_icon_cache_update
+}
+
+pkg_postrm() {
+	use gui && xdg_icon_cache_update
+}


             reply	other threads:[~2022-05-30 10:42 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-30 10:42 Marek Szuba [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-09 10:31 [gentoo-commits] repo/gentoo:master commit in: mail-mta/protonmail-bridge/ Marek Szuba
2022-08-09 10:31 Marek Szuba
2022-03-01 16:47 Marek Szuba
2022-03-01 16:47 Marek Szuba
2022-02-21 15:40 Marek Szuba
2022-02-09 16:28 Marek Szuba
2022-02-09  8:18 Marek Szuba
2022-02-09  8:18 Marek Szuba
2022-01-01 18:37 Marek Szuba
2021-12-31 23:59 Marek Szuba
2021-11-17 13:03 Marek Szuba
2021-09-15 14:16 Marek Szuba
2021-07-01 11:02 Marek Szuba
2021-06-04 23:29 Marek Szuba
2021-06-04 23:29 Marek Szuba
2021-05-25 12:31 Marek Szuba
2021-05-13 15:48 Marek Szuba
2021-04-27 11:20 Marek Szuba
2021-04-27 11:05 Marek Szuba
2021-04-27 11:05 Marek Szuba
2021-03-04 14:47 Marek Szuba
2021-03-04 14:47 Marek Szuba
2021-02-17 22:23 Marek Szuba
2021-01-25 14:39 Marek Szuba
2021-01-21 16:17 Marek Szuba
2021-01-21 16:17 Marek Szuba
2021-01-19 14:09 Marek Szuba
2020-11-30 13:29 Marek Szuba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1653907355.54bbebe723023620f731c7e3ce95ffdc8e01c54a.marecki@gentoo \
    --to=marecki@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox