summaryrefslogtreecommitdiff
path: root/net-misc/electron-cash/electron-cash-3.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-06 23:13:57 +0000
commita8b0d35ab742f31538d515dea39716e566d533c0 (patch)
tree40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /net-misc/electron-cash/electron-cash-3.0.ebuild
parent8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff)
gentoo resync : 06.01.2018
Diffstat (limited to 'net-misc/electron-cash/electron-cash-3.0.ebuild')
-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 \