# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/vino/vino-2.24.1.ebuild,v 1.9 2009/04/27 14:31:37 jer Exp $ inherit eutils gnome2 DESCRIPTION="An integrated VNC server for GNOME" HOMEPAGE="http://www.gnome.org/" LICENSE="GPL-2" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="avahi crypt gnutls ipv6 jpeg gnome-keyring libnotify zlib" # FIXME: add support for libunique RDEPEND=">=dev-libs/glib-2.17 >=x11-libs/gtk+-2.13.1 >=gnome-base/libgnomeui-2 >=gnome-base/gconf-2 >=gnome-base/libglade-2 >=sys-apps/dbus-1.2.3 dev-libs/dbus-glib x11-libs/libXext x11-libs/libXtst libnotify? ( >=x11-libs/libnotify-0.4.4 ) gnome-keyring? ( >=gnome-base/gnome-keyring-2.20 ) avahi? ( >=net-dns/avahi-0.6 ) crypt? ( >=dev-libs/libgcrypt-1.1.90 ) gnutls? ( >=net-libs/gnutls-1 ) jpeg? ( media-libs/jpeg ) zlib? ( sys-libs/zlib )" DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9 >=dev-util/intltool-0.35" DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" pkg_setup() { if use avahi && ! built_with_use net-dns/avahi dbus; then einfo "avahi support in vino requires USE=dbus in avahi" die "Please rebuild net-dns/avahi with USE=dbus" fi G2CONF="${G2CONF} $(use_enable avahi) $(use_enable crypt gcrypt) $(use_enable gnutls) $(use_enable ipv6) $(use_with jpeg) $(use_enable gnome-keyring) $(use_enable libnotify) $(use_with zlib) $(use_with zlib libz) --disable-libunique" }