commit: 337cabfb1bbab31a4269ade23c4b859aff0a7cd8 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Wed Apr 27 20:11:20 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Apr 27 20:17:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337cabfb
net-misc/electrum: Fix .desktop file install Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> .../electrum/{electrum-4.2.1.ebuild => electrum-4.2.1-r1.ebuild} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-misc/electrum/electrum-4.2.1.ebuild b/net-misc/electrum/electrum-4.2.1-r1.ebuild similarity index 93% rename from net-misc/electrum/electrum-4.2.1.ebuild rename to net-misc/electrum/electrum-4.2.1-r1.ebuild index 04fce81901f4..7811b4d896ad 100644 --- a/net-misc/electrum/electrum-4.2.1.ebuild +++ b/net-misc/electrum/electrum-4.2.1-r1.ebuild @@ -56,8 +56,8 @@ distutils_enable_tests pytest src_prepare() { eapply "${FILESDIR}/3.1.2-no-user-root.patch" - # Prevent icon from being installed in the wrong location - sed -i '/icons_dirname/d' setup.py || die + # Prevent data files from being installed in the wrong location + sed -i -e '/icons_dirname/d' -e '/applications/d' setup.py || die # use backwards-compatible cryptodome API sed -i -e 's:Cryptodome:Crypto:' electrum/crypto.py || die @@ -80,6 +80,7 @@ src_prepare() { src_install() { doicon -s 128 electrum/gui/icons/${PN}.png + domenu electrum.desktop dodoc RELEASE-NOTES distutils-r1_src_install }