Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 510688 | Differences between
and this patch

Collapse All | Expand All

(-)electrum-1.9.8.ebuild (-4 / +7 lines)
Lines 31-37 Link Here
31
	dev-python/setuptools[${PYTHON_USEDEP}]
31
	dev-python/setuptools[${PYTHON_USEDEP}]
32
	>=dev-python/ecdsa-0.9[${PYTHON_USEDEP}]
32
	>=dev-python/ecdsa-0.9[${PYTHON_USEDEP}]
33
	dev-python/slowaes[${PYTHON_USEDEP}]
33
	dev-python/slowaes[${PYTHON_USEDEP}]
34
	gtk? ( dev-python/pygtk:2[${PYTHON_USEDEP}] )
34
	gtk? (
35
		 dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
36
		 x11-libs/gtk+:3[introspection]
37
		 )
35
	qrcode? ( media-gfx/zbar[python,${PYTHON_USEDEP}] )
38
	qrcode? ( media-gfx/zbar[python,${PYTHON_USEDEP}] )
36
	qt4? (
39
	qt4? (
37
		 webkit? ( dev-python/PyQt4[webkit] )
40
		 webkit? ( dev-python/PyQt4[webkit] )
Lines 45-51 Link Here
45
src_prepare() {
48
src_prepare() {
46
	# Prevent .desktop, icon, and translations from being installed in the wrong locations
49
	# Prevent .desktop, icon, and translations from being installed in the wrong locations
47
	epatch "${FILESDIR}"/setup.py-1.9.7.patch
50
	epatch "${FILESDIR}"/setup.py-1.9.7.patch
48
51
	epatch "${FILESDIR}"/electrum-1.9.8-gtk.patch
49
	epatch "${FILESDIR}"/electrum.desktop-1.9.7.patch
52
	epatch "${FILESDIR}"/electrum.desktop-1.9.7.patch
50
	validate_desktop_entries
53
	validate_desktop_entries
51
54
Lines 68-76 Link Here
68
71
69
	if use !qt4; then
72
	if use !qt4; then
70
		if use gtk; then
73
		if use gtk; then
71
			sed -i "s/config.get('gui','classic')/ config.get('gui','gtk')/" electrum || die
74
			sed -i "s/config.get('gui', 'classic')/config.get('gui', 'gtk')/" electrum || die
72
		else
75
		else
73
			sed -i "s/config.get('gui','classic')/ config.get('gui','text')/" electrum || die
76
			sed -i "s/config.get('gui', 'classic')/config.get('gui', 'text')/" electrum || die
74
		fi
77
		fi
75
	fi
78
	fi
76
79

Return to bug 510688