summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-12 11:52:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-12 11:52:33 +0000
commitc7d80b60a9d796573db76495228a42e481b72cee (patch)
tree350bb32fad1a9098ffb23d26aa016fb3e1921be7 /app-laptop
parentx86 stable wrt bug #310597 (diff)
downloadgentoo-2-c7d80b60a9d796573db76495228a42e481b72cee.tar.gz
gentoo-2-c7d80b60a9d796573db76495228a42e481b72cee.tar.bz2
gentoo-2-c7d80b60a9d796573db76495228a42e481b72cee.zip
Initial commit wrt #314797 by Arthur Spitzer.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-laptop')
-rw-r--r--app-laptop/batti/ChangeLog9
-rw-r--r--app-laptop/batti/batti-0.3.1.ebuild44
-rw-r--r--app-laptop/batti/metadata.xml9
3 files changed, 62 insertions, 0 deletions
diff --git a/app-laptop/batti/ChangeLog b/app-laptop/batti/ChangeLog
new file mode 100644
index 000000000000..60814d6b3081
--- /dev/null
+++ b/app-laptop/batti/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-laptop/batti
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/batti/ChangeLog,v 1.1 2010/04/12 11:52:33 ssuominen Exp $
+
+*batti-0.3.1 (12 Apr 2010)
+
+ 12 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> +batti-0.3.1.ebuild:
+ Initial commit wrt #314797 by Arthur Spitzer.
+
diff --git a/app-laptop/batti/batti-0.3.1.ebuild b/app-laptop/batti/batti-0.3.1.ebuild
new file mode 100644
index 000000000000..d98f8459b46d
--- /dev/null
+++ b/app-laptop/batti/batti-0.3.1.ebuild
@@ -0,0 +1,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
+}
diff --git a/app-laptop/batti/metadata.xml b/app-laptop/batti/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/app-laptop/batti/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>