summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gardiner <obz@gentoo.org>2004-07-18 09:31:10 +0000
committerMike Gardiner <obz@gentoo.org>2004-07-18 09:31:10 +0000
commit95448eb0bb8ba69be91e8326c2e39aa81aa4d1c1 (patch)
treefe94a2819b352e954f533d47bada7ca46e8636f7
parentReplaced sudo with su. Removed old ebuilds. (Manifest recommit) (diff)
downloadgentoo-2-95448eb0bb8ba69be91e8326c2e39aa81aa4d1c1.tar.gz
gentoo-2-95448eb0bb8ba69be91e8326c2e39aa81aa4d1c1.tar.bz2
gentoo-2-95448eb0bb8ba69be91e8326c2e39aa81aa4d1c1.zip
First version in portage of the battery monitoring display and sensor
-rw-r--r--x11-plugins/desklet-battery/ChangeLog10
-rw-r--r--x11-plugins/desklet-battery/Manifest2
-rw-r--r--x11-plugins/desklet-battery/desklet-battery-0.2.ebuild46
-rw-r--r--x11-plugins/desklet-battery/files/digest-desklet-battery-0.21
-rw-r--r--x11-plugins/desklet-battery/metadata.xml6
5 files changed, 65 insertions, 0 deletions
diff --git a/x11-plugins/desklet-battery/ChangeLog b/x11-plugins/desklet-battery/ChangeLog
new file mode 100644
index 000000000000..71a7bbd3e685
--- /dev/null
+++ b/x11-plugins/desklet-battery/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-plugins/desklet-battery
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-battery/ChangeLog,v 1.1 2004/07/18 09:31:10 obz Exp $
+
+*desklet-battery-0.2 (18 Jul 2004)
+
+ 18 Jul 2004; Mike Gardiner <obz@gentoo.org> +metadata.xml,
+ +desklet-battery-0.2.ebuild:
+ First version in portage of the battery monitoring display and sensor
+
diff --git a/x11-plugins/desklet-battery/Manifest b/x11-plugins/desklet-battery/Manifest
new file mode 100644
index 000000000000..c9a720c27ea6
--- /dev/null
+++ b/x11-plugins/desklet-battery/Manifest
@@ -0,0 +1,2 @@
+MD5 18fdba97af513142aa763884b2ecac43 desklet-battery-0.2.ebuild 1058
+MD5 3210eebcfaac517c435094e1b8975ba2 files/digest-desklet-battery-0.2 71
diff --git a/x11-plugins/desklet-battery/desklet-battery-0.2.ebuild b/x11-plugins/desklet-battery/desklet-battery-0.2.ebuild
new file mode 100644
index 000000000000..4b0acee579df
--- /dev/null
+++ b/x11-plugins/desklet-battery/desklet-battery-0.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/desklet-battery/desklet-battery-0.2.ebuild,v 1.1 2004/07/18 09:31:10 obz Exp $
+
+DESKLET_NAME="Battery"
+
+MY_PN=${PN/desklet-/}-gdesklet
+MY_P=${MY_PN}-${PV}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A battery monitoring sensor and display for gDesklets"
+SRC_URI="http://gdesklets.gnomedesktop.org/files/${MY_P}.tar.gz"
+HOMEPAGE="http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=47"
+LICENSE="as-is"
+
+SLOT="0"
+IUSE=""
+KEYWORDS="~x86"
+
+DEPEND=">=gnome-extra/gdesklets-core-0.26"
+
+DOCS="INSTALL README"
+
+src_install() {
+
+ SYS_PATH="/usr/share/gdesklets"
+ INSTALL_BIN="Install_${DESKLET_NAME}_Sensor.bin"
+ dodir ${SYS_PATH}/{Sensors,Displays}
+
+ # first we install the Sensor
+ python ${INSTALL_BIN} --nomsg ${D}${SYS_PATH}/Sensors
+
+ # and then the .displays
+ insinto ${SYS_PATH}/Displays/${DESKLET_NAME}
+ doins *.display
+
+ # and finally the graphics
+ doins *.png
+
+ dodoc ${DOCS}
+
+ # the desklets unpack preserves permissions of the archive
+ chown -R root:root ${D}${SYS_PATH}/Sensors/${DESKLET_NAME}
+
+}
+
diff --git a/x11-plugins/desklet-battery/files/digest-desklet-battery-0.2 b/x11-plugins/desklet-battery/files/digest-desklet-battery-0.2
new file mode 100644
index 000000000000..dc63bd612cd3
--- /dev/null
+++ b/x11-plugins/desklet-battery/files/digest-desklet-battery-0.2
@@ -0,0 +1 @@
+MD5 eae8ddf3da3567e4ed6ad22f5c6285e9 battery-gdesklet-0.2.tar.gz 37364
diff --git a/x11-plugins/desklet-battery/metadata.xml b/x11-plugins/desklet-battery/metadata.xml
new file mode 100644
index 000000000000..d62df026be9a
--- /dev/null
+++ b/x11-plugins/desklet-battery/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<maintainer><email>obz@gentoo.org</email></maintainer>
+</pkgmetadata>