summaryrefslogtreecommitdiff
path: root/mail-mta/proton-mail-bridge
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-10 17:37:15 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-10 17:37:15 +0100
commitc7c8d625ecbe5f95c445995303ed9b0e1f0de507 (patch)
treef0e6e5b3d8a377cf309b6085c2c7a30e640f84a1 /mail-mta/proton-mail-bridge
parentd6fe3a53bdeea6b060d1755199cc2c27492dc14c (diff)
gentoo auto-resync : 10:04:2023 - 17:37:14
Diffstat (limited to 'mail-mta/proton-mail-bridge')
-rw-r--r--mail-mta/proton-mail-bridge/Manifest5
-rw-r--r--mail-mta/proton-mail-bridge/metadata.xml5
-rw-r--r--mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild63
3 files changed, 71 insertions, 2 deletions
diff --git a/mail-mta/proton-mail-bridge/Manifest b/mail-mta/proton-mail-bridge/Manifest
index 7c9a87f42849..f1c83419f007 100644
--- a/mail-mta/proton-mail-bridge/Manifest
+++ b/mail-mta/proton-mail-bridge/Manifest
@@ -1,5 +1,8 @@
AUX proton-mail-bridge.service 336 BLAKE2B 663919b03685d99f17f49bf0da4f6f10b09fce1e1e05966c3cfce3d19692b0d3744a0289a2908bdb40d57cfa7e089709417184e6c86c2afa618c71ad33cabf99 SHA512 af81c8cfd2399356715f3b52031d6b0be2fd8b436b6c55b1acf165846c7f3b240b8ea8ca6488cea487f22dc1bb9f3f6cef08844ab74f88aedb71149263a3ef7a
DIST proton-mail-bridge-2.3.0-deps.tar.xz 237367120 BLAKE2B 819ffc216017db8a02a189fdb1b4c78e26d38f1cde94bbc556e8603047e396ce0de3caa2b3cf18392a30fbaab525c305f6f0193fb1210baeb48f6a346ae2ba94 SHA512 63076459bf1e8c17775439a5ef1e22482684e0f37a45a4b6f9469c851e66b984f1bce5c19c1d4bfa8cbf5f9ae4fe21a5a20d8304254cdc4f215120dfe5b254e7
DIST proton-mail-bridge-2.3.0.tar.gz 5059969 BLAKE2B 3871ec75e69ce2976a3b588c9cb32dc61d5c6eaf28a8a7941fb91babbe74cf73f101a3fa9d87c999c659847a42b0a3d93298d6c692a06cfe2716a31fcbb0d469 SHA512 3e3a64d945577a4efc1cb1e9a3b029465f64fab37e80fa7d58e7ea94ba316281596e91a6b49fc37168a0275921f3f79567f58eb926a1d77fcc0b8b39a3cf8f5c
+DIST proton-mail-bridge-3.0.21-deps.tar.xz 169294240 BLAKE2B ee463d96d01e702180f86765a36bc59c72454f13caed22183e68a6875c1dad4b7614966dabdd43915b2762d3de69b8fb3cac1011a48bf50d8f3cc1dbf3a96420 SHA512 6bce4cfcdf1704a6599f925ff59fd367c6750f92f75bee886f656f609a5368eb75f865f642ae63e87bafe3609e7620b0c27dfbec40e281cc8a92221af24f9661
+DIST proton-mail-bridge-3.0.21.tar.gz 4416496 BLAKE2B 6199338b6265c8d3e7108cd7b149fa4e32e56e3ecb7f299e66f4d072d78d8b21a919e52c510c509613958adbacf32d8a4dccb2891a77efa4dec83d483e560266 SHA512 30adc2e4947309fb274a5f86ff450a41685d30b27854b9a00f033adc65d33bcbff19ee830c50ae5bea0c2ac178bc5a4960912486edd4954f928ff075b7441d82
EBUILD proton-mail-bridge-2.3.0.ebuild 1281 BLAKE2B 862313bc9b4d65d1c39c9f8a3f9532fe85e4dd55bf9939bd1dc60e433da83c8d6bcde581223df9a55695a1a9690260a569cf1844b3fad6238a3f89fba602ea68 SHA512 5a1cab17ac4a029dbfc3e7cff7af479626decb1f049babbe430016f54d7cb8c8fab4f7ffde78d1f61889fde0525e2d2f0a83eb737522f652e7456493d52cd34b
-MISC metadata.xml 619 BLAKE2B 3350b5193ecc34b4511694c91a0990dbfed6204fc1e2db2acd869da46249bb73acc690cd186771eff77968f6d4009991a23f3e3055b6e4f3092d0da6aac026ac SHA512 7f21301b2375c7173750bf67e4df84aede219a5a7dc4b4b55776a6486eda1f7e3693677a10cf7b6971335b2df3b275bf7e4f27e0b22e3cf23420a8db858eaef0
+EBUILD proton-mail-bridge-3.0.21.ebuild 1289 BLAKE2B d00f4bbd11e647d9ef893773707c5a98a8e51312e06308618e8b439f4ca8997a132c70c88636cebf987b461475f0e31abd4162b28c09af87a517bf43a5984318 SHA512 50b3a9d51528da7a85dea7f0c2a6740c6ea90a158cb6c8a485bfb347dc17b83b61175239a654626f7f72861fe6272c041f87f8e6438cf79626b074faadd69372
+MISC metadata.xml 707 BLAKE2B beafd2d519859dd89569526a7b0e7c5d45803bb110b537173566212e9e851d20e5bac4a7f6d83ea39bb797515dbfaca0309bfff12f186eca5e5cd71ba0f76f07 SHA512 b489c6aad17f194bbaaf9160472e7f26efba2250ff0e31cc3537230a16f2682c4480f85eb9f5d618df61f9d830cc9ebcd76ebadcf0aad537ff6acb5361d9a5ea
diff --git a/mail-mta/proton-mail-bridge/metadata.xml b/mail-mta/proton-mail-bridge/metadata.xml
index 8795413ea236..4341308d7149 100644
--- a/mail-mta/proton-mail-bridge/metadata.xml
+++ b/mail-mta/proton-mail-bridge/metadata.xml
@@ -11,7 +11,10 @@
</maintainer>
<longdescription>
ProtonMail bridge has been Open Source since April 2020. Note that this package
- is CLI-only for now, as we have run into some problems with Qt5 vendoring
+ is CLI-only for now, as we have run into some problems with Qt vendoring
(see https://github.com/ProtonMail/proton-bridge/issues/16).
</longdescription>
+ <upstream>
+ <remote-id type="github">ProtonMail/proton-bridge</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild
new file mode 100644
index 000000000000..a9020b672022
--- /dev/null
+++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.0.21.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module systemd xdg-utils
+
+MY_PN="${PN/-mail/}"
+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
+ eerror "Since version 3.0.0, GUI support in ${PN} requires Qt6 and is therefore currently not available"
+ die "USE=gui requires Qt6"
+ else
+ emake build-nogui
+ fi
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ exeinto /usr/bin
+ newexe bridge ${PN}
+
+ systemd_douserunit "${FILESDIR}"/${PN}.service
+
+ einstalldocs
+}
+
+pkg_postinst() {
+ use gui && xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ use gui && xdg_icon_cache_update
+}