# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.0.0.ebuild,v 1.13 2005/01/03 11:33:40 josejx Exp $ inherit gnome.org DESCRIPTION="GTK+2 bindings for Python" HOMEPAGE="http://www.pygtk.org/" LICENSE="LGPL-2.1" SLOT="2" KEYWORDS="x86 ppc sparc alpha hppa amd64 ia64" IUSE="gnome opengl" RDEPEND=">=dev-lang/python-2.2 >=x11-libs/pango-1 >=x11-libs/gtk+-2 >=dev-libs/atk-1 >=dev-libs/glib-2 gnome? ( >=gnome-base/libglade-2 ) opengl? ( >=x11-libs/gtkglarea-1.99 )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9" src_compile() { econf --enable-thread || die emake || die } src_install() { einstall || die dodoc AUTHORS COPYING ChangeLog INSTALL MAPPING NEWS README THREADS TODO } pkg_postinst() { einfo 'If you built pygtk with OpenGL support you still need to emerge pyopengl to use it. ' }