summaryrefslogtreecommitdiff
blob: fcc1d6fa1ab176e0aeef44c745387c2acbef9fc0 (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
51
52
53
54
55
56
57
58
59
60
61
62
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.4.1-r2.ebuild,v 1.2 2003/12/04 13:11:53 foser Exp $

inherit gnome2

DESCRIPTION="Applets for the Gnome2 Desktop and Panel"
HOMEPAGE="http://www.gnome.org/"

IUSE="doc apm acpi ipv6"
SLOT="2"
LICENSE="GPL-2 FDL-1.1"
KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64"

RDEPEND=">=x11-libs/gtk+-2.1
	>=gnome-base/gail-1.3
	>=gnome-base/gconf-2.0
	>=gnome-base/gnome-vfs-2
	>=gnome-base/libgtop-2
	>=gnome-base/gnome-panel-2
	>=gnome-base/libglade-2
	>=gnome-base/libgnome-2
	>=gnome-base/libgnomeui-2
	virtual/x11
	apm? ( sys-apps/apmd )
	acpi? ( sys-apps/acpid )"
	# Virtual/x11 for XKB.h 

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0
	>=app-text/scrollkeeper-0.3.11
	doc? ( dev-util/gtk-doc )"

DOCS="AUTHORS ChangeLog COPYING COPYING-DOCS INSTALL NEWS README"
G2CONF="${G2CONF} $(use_enable ipv6)"

src_unpack() {
	unpack ${A}

	# http://bugzilla.gnome.org/show_bug.cgi?id=88553
	# http://www.its.caltech.edu/~dmoore/battstat/
	if [ -n "`use acpi`" ]; then
		cd ${S}/battstat
		epatch ${FILESDIR}/battstat-acpi-events-2.3.90.diff
	fi

	#
	cd ${S}/multiload
	epatch ${FILESDIR}/${P}-multiload_mem_fix.patch

	gnome2_omf_fix
}



src_install () {
	gnome2_src_install
	for BLERHG  in accessx-status battstat cdplayer charpick drivemount geyes gkb-new gtik gweather mailcheck mini-commander mixer modemlights multiload screen-exec stickynotes wireless; do
			docinto ${BLERHG}
			dodoc ${BLERHG}/[ChangeLog,AUTHORS,NEWS,TODO] ${BLERHG}/README*
	done
}