--- touchfreeze-0.2.5.ebuild +++ touchfreeze-0.2.5.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/touchfreeze/touchfreeze-0.2.5.ebuild,v 1.3 2010/10/10 09:26:00 phajdan.jr Exp $ -EAPI="2" +EAPI=4 inherit qt4-r2 @@ -15,13 +15,19 @@ KEYWORDS="amd64 x86" IUSE="debug" -DEPEND="x11-libs/qt-gui:4 +DEPEND="x11-libs/libX11 + x11-libs/qt-core:4 + x11-libs/qt-gui:4" +RDEPEND="${DEPEND} x11-drivers/xf86-input-synaptics" -RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gold.patch +} src_install() { - dobin ${PN} || die "dobin failed" - newicon res/touchpad.svg ${PN}.svg || die "new icon failed" - dodoc AUTHORS README || die "dodoc failed" + dobin ${PN} + newicon res/touchpad.svg ${PN}.svg + dodoc AUTHORS README make_desktop_entry ${PN} TouchFreeze ${PN} 'Qt;System' }