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>
# 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