# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" NEED_PYTHON=2.5 inherit python eutils DESCRIPTION="Mouse gesture recognition for netwm-compliant WMs" HOMEPAGE="http://gestikk.reichbier.de/" SRC_URI="http://gestikk.reichbier.de/downloads/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="libnotify" DEPEND="" RDEPEND=">=dev-python/pygtk-2.12 dev-python/kiwi >=dev-python/pyparsing-1.4.7 dev-python/python-virtkey libnotify? ( dev-python/notify-python )" src_prepare() { use libnotify || epatch "${FILESDIR}/${P}-remove-libnotify.diff" epatch "${FILESDIR}/${PN}-icon-path.diff" } src_install() { python_version newbin ${PN}.py ${PN} insinto "$(python_get_sitedir)/${PN}" doins ${PN}/*.py insinto /usr/share/${PN} doins ${PN}.glade insinto /usr/share doins -r locale doicon media/* dodoc LICENSE README TRANSLATORS }