blob: d98f8459b46d20c02ca3128e107211c3c76ad3c6 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/batti-0.3.1.ebuild,v 1.1 2010/04/12 11:52:33 ssuominen Exp $
EAPI=2
PYTHON_DEPEND="2:2.6"
inherit distutils gnome2-utils
DESCRIPTION="A upower based battery monitor for the system tray, similar to batterymon"
HOMEPAGE="http://code.google.com/p/batti-gtk/"
SRC_URI="http://batti-gtk.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libnotify"
RDEPEND=">=dev-python/pygtk-2.16
dev-python/dbus-python
sys-power/upower
libnotify? ( x11-libs/libnotify )"
DEPEND="${RDEPEND}
dev-python/python-distutils-extra"
pkg_setup() {
DOCS="AUTHORS"
python_set_active_version 2
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
distutils_pkg_postinst
}
pkg_postrm() {
gnome2_icon_cache_update
distutils_pkg_postrm
}
|