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@mattwhitlock.name>
Closes: https://github.com/gentoo/gentoo/pull/41395
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Matt Whitlock
2025-04-03 17:31:47 -04:00
committed by Sam James
parent 0675f8f5bf
commit ffb878705a

View File

@@ -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() {