commit:     05df5805b608a906b01e871ca45114dec89fda68
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 23 20:11:49 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Aug 23 21:05:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05df5805

mail-mta/proton-mail-bridge: remove IUSE=gui from 3.1.3

It never did anything anyway. We could of course simply drop this
version, however this is the last one without built-in telemetry support
so I'd rather keep it around for a while.

Closes: https://bugs.gentoo.org/912887
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 .../proton-mail-bridge/proton-mail-bridge-3.1.3.ebuild   | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.1.3.ebuild 
b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.1.3.ebuild
index 3b00a1442737..cc717399d90f 100644
--- a/mail-mta/proton-mail-bridge/proton-mail-bridge-3.1.3.ebuild
+++ b/mail-mta/proton-mail-bridge/proton-mail-bridge-3.1.3.ebuild
@@ -16,7 +16,6 @@ 
SRC_URI="https://github.com/ProtonMail/${MY_PN}/archive/refs/tags/v${PV}.tar.gz
 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"
@@ -33,12 +32,7 @@ src_prepare() {
 }
 
 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
+       emake build-nogui
 }
 
 src_test() {
@@ -53,11 +47,3 @@ src_install() {
 
        einstalldocs
 }
-
-pkg_postinst() {
-       use gui && xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       use gui && xdg_icon_cache_update
-}

Reply via email to