summaryrefslogtreecommitdiff
path: root/packages/opie-batteryapplet
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/opie-batteryapplet
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-batteryapplet')
-rw-r--r--packages/opie-batteryapplet/.mtn2git_empty0
-rw-r--r--packages/opie-batteryapplet/opie-batteryapplet.inc32
-rw-r--r--packages/opie-batteryapplet/opie-batteryapplet_1.2.0.bb8
3 files changed, 40 insertions, 0 deletions
diff --git a/packages/opie-batteryapplet/.mtn2git_empty b/packages/opie-batteryapplet/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-batteryapplet/.mtn2git_empty
diff --git a/packages/opie-batteryapplet/opie-batteryapplet.inc b/packages/opie-batteryapplet/opie-batteryapplet.inc
index e69de29bb2..bac400d95d 100644
--- a/packages/opie-batteryapplet/opie-batteryapplet.inc
+++ b/packages/opie-batteryapplet/opie-batteryapplet.inc
@@ -0,0 +1,32 @@
+DESCRIPTION = "Battery Monitor applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "batteryapplet"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
+ if [ -n "$D" ]; then false; fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+# FILES plugins/applets/libbatteryapplet.so*
+do_install() {
+}
+
diff --git a/packages/opie-batteryapplet/opie-batteryapplet_1.2.0.bb b/packages/opie-batteryapplet/opie-batteryapplet_1.2.0.bb
index e69de29bb2..38c2dc16b4 100644
--- a/packages/opie-batteryapplet/opie-batteryapplet_1.2.0.bb
+++ b/packages/opie-batteryapplet/opie-batteryapplet_1.2.0.bb
@@ -0,0 +1,8 @@
+include ${PN}.inc
+
+
+PR = "r0"
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/batteryapplet \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"