summaryrefslogtreecommitdiff
path: root/packages/opie-memoryapplet
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-memoryapplet
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-memoryapplet')
-rw-r--r--packages/opie-memoryapplet/.mtn2git_empty0
-rw-r--r--packages/opie-memoryapplet/opie-memoryapplet.inc31
-rw-r--r--packages/opie-memoryapplet/opie-memoryapplet_1.2.0.bb8
3 files changed, 39 insertions, 0 deletions
diff --git a/packages/opie-memoryapplet/.mtn2git_empty b/packages/opie-memoryapplet/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-memoryapplet/.mtn2git_empty
diff --git a/packages/opie-memoryapplet/opie-memoryapplet.inc b/packages/opie-memoryapplet/opie-memoryapplet.inc
index e69de29bb2..eb1e17919f 100644
--- a/packages/opie-memoryapplet/opie-memoryapplet.inc
+++ b/packages/opie-memoryapplet/opie-memoryapplet.inc
@@ -0,0 +1,31 @@
+DESCRIPTION = "Memory Applet. \
+This applet displays the amount of free memory and manages the swap partition"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "memoryapplet"
+
+S = "${WORKDIR}/memoryapplet"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+fi
+ if [ -n "$D" ]; then false; fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+do_install() {
+ install -d ${D}${palmtopdir}/plugins/applets ${D}${palmtopdir}/pics/memory/
+ install -m 0644 ${WORKDIR}/pics/memory/*.png ${D}${palmtopdir}/pics/memory/
+ oe_libinstall -so libmemoryapplet ${D}${palmtopdir}/plugins/applets/
+}
+
diff --git a/packages/opie-memoryapplet/opie-memoryapplet_1.2.0.bb b/packages/opie-memoryapplet/opie-memoryapplet_1.2.0.bb
index e69de29bb2..047ce49cc1 100644
--- a/packages/opie-memoryapplet/opie-memoryapplet_1.2.0.bb
+++ b/packages/opie-memoryapplet/opie-memoryapplet_1.2.0.bb
@@ -0,0 +1,8 @@
+include ${PN}.inc
+
+
+PR = "r0"
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/applets/memoryapplet \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/sysinfo \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics"