# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils eutils DESCRIPTION="UML 2.0 modeling tool for GNOME" HOMEPAGE="http://gaphor.sf.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~amd64 ~x86" DEPEND=">=dev-lang/python-2.4 >=x11-libs/gtk+-2.8 >=dev-python/pygtk-2.8" RDEPEND="${DEPEND} dev-python/pycairo dev-python/pygobject >=net-zope/zopeinterface-3.0.1 net-zope/zope-component net-zope/zope-deprecation net-zope/zope-exceptions" # Additional docs not covered by distutils DOCS="AUTHORS NEWS" src_unpack() { unpack ${A}; cd ${S} epatch ${FILESDIR}/${PN}-0.9.2-build.patch epatch ${FILESDIR}/${PN}-0.9.2-setup.patch epatch ${FILESDIR}/${PN}-0.9.2-install.patch } src_install() { distutils_src_install make_desktop_entry gaphor "Gaphor" /usr/share/gaphor/pixmaps/logo.png \ "GTK;Development;" }