commit:     ffb878705aa8eded20fc77d7ec3adc5ae7841d24
Author:     Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name>
AuthorDate: Thu Apr  3 21:31:47 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 08:17:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb87870

net-p2p/bitcoin-core-28.1: drop IUSE="kde"; omit unneeded KIO .protocol file

There doesn't seem to be any need for a KIO protocol helper since the desktop
entry for Bitcoin-Qt specifies MimeType=x-scheme-handler/bitcoin;.

See: https://github.com/gentoo/gentoo/pull/41395#pullrequestreview-2734109680
Signed-off-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/41395
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/bitcoin-core/bitcoin-core-28.1-r1.ebuild | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/net-p2p/bitcoin-core/bitcoin-core-28.1-r1.ebuild 
b/net-p2p/bitcoin-core/bitcoin-core-28.1-r1.ebuild
index 3437fb624095..6a8ebf6e91b1 100644
--- a/net-p2p/bitcoin-core/bitcoin-core-28.1-r1.ebuild
+++ b/net-p2p/bitcoin-core/bitcoin-core-28.1-r1.ebuild
@@ -19,12 +19,11 @@ SLOT="0"
 if [[ "${PV}" != *_rc* ]] ; then
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 fi
-IUSE="+asm +berkdb +cli +daemon dbus examples +external-signer gui kde nat-pmp 
qrcode +sqlite +system-libsecp256k1 systemtap test test-full upnp zeromq"
+IUSE="+asm +berkdb +cli +daemon dbus examples +external-signer gui nat-pmp 
qrcode +sqlite +system-libsecp256k1 systemtap test test-full upnp zeromq"
 RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
        dbus? ( gui )
-       kde? ( gui )
        qrcode? ( gui )
        test-full? ( test )
 "
@@ -263,11 +262,6 @@ src_install() {
                newins src/qt/res/src/bitcoin.svg bitcoin128.svg
 
                domenu "${FILESDIR}/org.bitcoin.bitcoin-qt.desktop"
-
-               if use kde ; then
-                       insinto /usr/share/kservices5
-                       doins "${FILESDIR}/bitcoin-qt.protocol"
-               fi
        fi
 
        if use examples ; then
@@ -296,10 +290,6 @@ pkg_preinst() {
                        dosym -r /var/lib/bitcoin{/.bitcoin,d}
                fi
        fi
-
-       if use kde && [[ -d "${EROOT}/usr/share/kde4" ]] ; then
-               dosym -r 
/usr/share/{kservices5,kde4/services}/bitcoin-qt.protocol
-       fi
 }
 
 pkg_postinst() {

Reply via email to