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