# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/gtk-vnc/gtk-vnc-0.3.7.ebuild,v 1.6 2008/11/26 15:43:07 ranger Exp $ GCONF_DEBUG=no inherit gnome2 DESCRIPTION="VNC viewer widget for GTK." HOMEPAGE="http://gtk-vnc.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="examples python opengl" # what shall we do about libview # TODO: review nsplugin when it will be considered less experimental RDEPEND=">=x11-libs/gtk+-2.10 >=net-libs/gnutls-1.4 python? ( >=dev-python/pygtk-2 ) opengl? ( >=x11-libs/gtkglext-1.2 )" DEPEND="${RDEPEND} dev-util/pkgconfig" pkg_setup() { G2CONF="${G2CONF} $(use_with examples) $(use_with python) $(use_with opengl gtkglext) --with-coroutine=gthread --without-libview" } src_install() { emake DESTDIR="${D}" install || die "install failed" }