# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils DESCRIPTION="UML 2.0 modeling tool for GNOME" HOMEPAGE="http://gaphor.sf.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86" # diacanvas must be built with Python bindings (autodetected) DEPEND=">=dev-lang/python-2.2 >=x11-libs/gtk+-2.8 >=dev-python/gnome-python-2 >=x11-libs/diacanvas-0.14.3" # Additional docs not covered by distutils DOCS="AUTHORS COPYING INSTALL NEWS TODO" src_install () { distutils_src_install # Fix icon absolute path verlist=`find ${D}/usr/lib/python*/site-packages/${PN}/version.py` for ver in $verlist; do echo "DATA_DIR=\"/usr/share/${PN}\"" >> $ver done make_desktop_entry gaphor "Gaphor" /usr/share/gaphor/pixmaps/logo.png "GTK;Development;" }