# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gnome2 DESCRIPTION="VNC Client for the GNOME Desktop" HOMEPAGE="http://www.gnome.org/projects/vinagre/" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="avahi" RDEPEND=">=dev-libs/glib-2.11 >=x11-libs/gtk+-2.11 >=gnome-base/libglade-2.6 >=gnome-base/gconf-2.16 >=net-libs/gtk-vnc-0.3 >=gnome-base/gnome-keyring-1 >=gnome-base/gnome-vfs-2.0 avahi? ( >=net-dns/avahi-0.6.18 )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9 >=dev-util/intltool-0.35" DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" pkg_setup() { G2CONF="${G2CONF} $(use_enable avahi)" } src_install() { gnome2_src_install # Remove it's own installation of DOCS that go to $PN instead of $P and aren't ecompressed rm -rf "${D}"/usr/share/doc/vinagre }