summaryrefslogtreecommitdiff
blob: 050a2f2db2d7f3455b57b2aff129d3572aa4ac3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/fast-user-switch-applet/fast-user-switch-applet-2.16.0.ebuild,v 1.12 2007/01/21 21:56:26 kloeri Exp $

inherit eutils gnome2

DESCRIPTION="Fast User Switching Applet for Gnome Desktop"
HOMEPAGE="http://www.gnome.org/"

LICENSE="GPL-2 FDL-1.1 LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE=""

RDEPEND="dev-libs/glib
	x11-libs/pango
	>=x11-libs/gtk+-2.6
	gnome-base/libbonoboui
	gnome-base/libgnome
	gnome-base/orbit
	>=gnome-base/libglade-2.0
	gnome-base/gconf
	gnome-base/libbonobo
	gnome-base/libgnomeui
	gnome-base/gnome-vfs
	gnome-base/gnome-keyring
	gnome-base/libgnomecanvas
	>=gnome-base/gnome-panel-2.0
	x11-libs/libXmu
	x11-libs/libXau
	x11-libs/libSM"

DEPEND="${RDEPEND}
	dev-libs/libxslt
	>=dev-util/pkgconfig-0.9
	>=dev-util/intltool-0.35
	>=app-text/scrollkeeper-0.1.4
	>=app-text/gnome-doc-utils-0.3.2
	~app-text/docbook-xml-dtd-4.3"

DOCS="AUTHORS ChangeLog NEWS README"
USE_DESTDIR="1"

pkg_setup() {
	if has_version '<gnome-base/gdm-2.13.0.8' ; then
		G2CONF="${G2CONF} --with-gdm-config=/etc/X11/gdm/gdm.conf"
	else
		G2CONF="${G2CONF} --with-gdm-config=/usr/share/gdm/defaults.conf"
	fi
}