diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-07-31 14:23:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-07-31 14:23:59 +0200 |
commit | 53734642b19d6726b092258d395365a336437f90 (patch) | |
tree | 60cb49db5e08428bdb395289d679fcca81fade22 /net-misc/electrum | |
parent | app-editors/bvi: Update maintainer's e-mail address (diff) | |
download | gentoo-53734642b19d6726b092258d395365a336437f90.tar.gz gentoo-53734642b19d6726b092258d395365a336437f90.tar.bz2 gentoo-53734642b19d6726b092258d395365a336437f90.zip |
net-misc/electrum: Fix build with USE=-qt5
Apply a minimal change needed to get the package building correctly
with USE=-qt5.
Closes: https://bugs.gentoo.org/688768
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/electrum')
-rw-r--r-- | net-misc/electrum/electrum-3.3.6-r2.ebuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net-misc/electrum/electrum-3.3.6-r2.ebuild b/net-misc/electrum/electrum-3.3.6-r2.ebuild index d9b89c1d8736..a58e68be7304 100644 --- a/net-misc/electrum/electrum-3.3.6-r2.ebuild +++ b/net-misc/electrum/electrum-3.3.6-r2.ebuild @@ -110,13 +110,11 @@ src_prepare() { # And install requested ones... for gui in \ - $(usex qt5 qt '') \ + $(usex !qt5 qt '') \ ; do - setup_py_gui="${setup_py_gui}'electrum_gui.${gui}'," + sed -i -e "/electrum\.gui\.${gui}/d" setup.py || die done - sed -i "s/'electrum_gui\\.qt',/${setup_py_gui}/" setup.py || die - local bestgui if use qt5; then bestgui=qt |