# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-libs/diacanvas/diacanvas-0.10.0.ebuild,v 1.2 2004/06/24 21:59:12 agriffis Exp $ inherit distutils gnome2 MY_P=${PN}2-${PV} DESCRIPTION="Gnome library to draw diagrams" HOMEPAGE="http://diacanvas.sourceforge.net/" SRC_URI="mirror://sourceforge/diacanvas/${MY_P}.tar.gz" IUSE="python gnome doc" SLOT="0" KEYWORDS="~x86" LICENSE="LGPL-2.1" RDEPEND=">=x11-libs/gtk+-2.4.4 >=media-libs/libart_lgpl-2 >=gnome-base/libgnomecanvas-2 python? ( >=dev-python/gnome-python-2.0.0-r1 ) gnome? ( >=gnome-base/libgnomeprint-2.2 )" DEPEND="${RDEPEND} dev-util/pkgconfig doc? ( >=dev-util/gtk-doc-1 )" S=${WORKDIR}/${MY_P} G2CONF="${G2CONF} $(use_enable gnome gnome-print) $(use_enable python)" if (use python); then distutils_python_version G2CONF="${G2CONF} --with-python=/usr/bin/python${PYVER_MAJOR}.${PYVER_MINOR}" fi DOCS="AUTHORS COPYING* ChangeLog INSTALL NEWS README" # 2 hacks needed for the python bindings to build MAKEOPTS="${MAKEOPTS} -j1" USE_DESTDIR="1"