summaryrefslogtreecommitdiff
blob: a9b3e26b4f63f1ed1b91f07edb3af4eccefc0ba1 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.16.0.ebuild,v 1.6 2006/10/03 23:14:09 agriffis Exp $

GNOME_TARBALL_SUFFIX="gz"

inherit gnome2 eutils

DESCRIPTION="Gnome Power Manager"
HOMEPAGE="http://gnome-power.sf.net"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc libnotify"

RDEPEND=">=dev-libs/glib-2.6.0
		 >=x11-libs/gtk+-2.6.0
		 >=gnome-base/libgnome-2.14.0
		 >=gnome-base/libgnomeui-2.10.0
		 >=sys-apps/dbus-0.61
		 >=sys-apps/hal-0.5.7-r1
		 >=gnome-base/libglade-2.5.0
		 >=x11-libs/libwnck-2.10.0
		 >=x11-libs/cairo-1.0.0
		 >=gnome-base/gconf-2
		x11-libs/libX11
		x11-libs/libXext
		 libnotify? (
		 				>=x11-libs/libnotify-0.3
						>=x11-misc/notification-daemon-0.2.1
					)"
DEPEND="${RDEPEND}
		sys-devel/gettext
		dev-util/pkgconfig
		>=dev-util/intltool-0.35
		doc? (
			app-text/gnome-doc-utils
			app-text/docbook-sgml-utils
		)"

DOCS="AUTHORS ChangeLog NEWS README TODO"

pkg_setup() {
	G2CONF="${G2CONF} $(use_enable doc docbook-docs) $(use_enable libnotify) \
			--enable-actions-menu --with-dpms-ext"
}