# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-2.22.1.ebuild,v 1.1 2008/04/07 23:15:02 eva Exp $

GCONF_DEBUG="no"

inherit gnome2 eutils

DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
HOMEPAGE="http://www.gnome.org/projects/cheese/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="v4l"

RDEPEND=">=dev-libs/dbus-glib-0.7
	>=dev-libs/glib-2.15.5
	>=gnome-base/gconf-2.16.0
	>=gnome-base/gnome-vfs-2.18
	>=gnome-base/libgnomeui-2.14.0
	>=gnome-base/librsvg-2.18.0
	>=gnome-extra/evolution-data-server-1.12
	>=media-libs/gstreamer-0.10.15
	>=media-libs/gst-plugins-base-0.10.15
	>=media-plugins/gst-plugins-gconf-0.10
	>=media-plugins/gst-plugins-ogg-0.10.15
	>=media-plugins/gst-plugins-pango-0.10.15
	>=media-plugins/gst-plugins-theora-0.10.15
	>=media-plugins/gst-plugins-v4l2-0.10
	>=media-plugins/gst-plugins-vorbis-0.10.15
	>=sys-apps/dbus-1
	>=sys-apps/hal-0.5.9
	>=x11-libs/cairo-1.2.4
	>=x11-libs/gtk+-2.10
	x11-libs/libXxf86vm
	>=x11-libs/pango-1.18.0
	v4l? ( >=media-plugins/gst-plugins-v4l-0.10 )"

DEPEND="${RDEPEND}
	>=dev-util/intltool-0.35
	dev-util/pkgconfig
	app-text/gnome-doc-utils
	x11-proto/xf86vidmodeproto"

DOCS="AUTHORS ChangeLog NEWS README"

pkg_setup() {
	G2CONF="${G2CONF} --disable-scrollkeeper"
}