summaryrefslogtreecommitdiff
blob: a8f6905cc29428bfe4ad66fe81e188a1afb140d3 (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.14.3-r1.ebuild,v 1.2 2006/11/07 17:38:51 dang 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 ~ppc ~x86"
IUSE="doc libnotify"

RDEPEND=">=dev-libs/glib-2.6.0
		 >=x11-libs/gtk+-2.6.0
		 >=gnome-base/libgnome-2.10.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
		 libnotify?	(
						>=x11-libs/libnotify-0.2.2
						>=x11-misc/notification-daemon-0.2.1
					)
		 || (
				(
					x11-libs/libX11
					x11-libs/libXext
				)
				virtual/x11
			)
		 sys-devel/gettext"
DEPEND="${RDEPEND}
		dev-util/pkgconfig
		app-text/xmlto
		app-text/gnome-doc-utils
		>=dev-util/intltool-0.27.2
		doc? ( app-text/docbook-sgml-utils )"

DOCS="AUTHORS ChangeLog NEWS README TODO"

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