summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-01-06 04:04:28 -0800
committerZac Medico <zmedico@gentoo.org>2018-01-06 04:07:01 -0800
commit56204685beaa524ee15f791ef996d06e9010454b (patch)
treec1200ab1085e02f8f652a26eb908f6bd7f507665 /net-misc/electron-cash
parentprofiles/package.mask: drop obsolete sys-kernel/tuxonice-sources entry (diff)
downloadgentoo-56204685beaa524ee15f791ef996d06e9010454b.tar.gz
gentoo-56204685beaa524ee15f791ef996d06e9010454b.tar.bz2
gentoo-56204685beaa524ee15f791ef996d06e9010454b.zip
net-misc/electron-cash: fix for qt5 disabled
Closes: https://bugs.gentoo.org/642344 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/electron-cash')
-rw-r--r--net-misc/electron-cash/electron-cash-3.0.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-misc/electron-cash/electron-cash-3.0.ebuild b/net-misc/electron-cash/electron-cash-3.0.ebuild
index 74a0b17301d5..742fcd67f942 100644
--- a/net-misc/electron-cash/electron-cash-3.0.ebuild
+++ b/net-misc/electron-cash/electron-cash-3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -68,7 +68,11 @@ src_prepare() {
# Prevent icon from being installed in the wrong location
sed -i '/icons/d' setup.py || die
- pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+ if use qt5; then
+ pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
+ else
+ sed "s|'electroncash_gui.qt',||" -i setup.py || die
+ fi
local wordlist=
for wordlist in \