summaryrefslogtreecommitdiff
path: root/packages/opie-pickboard/opie-pickboard_1.1.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-pickboard/opie-pickboard_1.1.9.bb')
-rw-r--r--packages/opie-pickboard/opie-pickboard_1.1.9.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/opie-pickboard/opie-pickboard_1.1.9.bb b/packages/opie-pickboard/opie-pickboard_1.1.9.bb
index e69de29bb2..39528d4fa7 100644
--- a/packages/opie-pickboard/opie-pickboard_1.1.9.bb
+++ b/packages/opie-pickboard/opie-pickboard_1.1.9.bb
@@ -0,0 +1,38 @@
+DESCRIPTION = "Pickboard input method"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+APPNAME = "qpickboard"
+
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/inputmethods/pickboard"
+S = "${WORKDIR}/pickboard"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+else
+ exit 0
+fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+}
+
+
+do_stage() {
+ install -m 0755 libqpickboard.so ${STAGING_LIBDIR}/
+ install pickboardcfg.h ${STAGING_INCDIR}/
+ install pickboardpicks.h ${STAGING_INCDIR}/
+}
+
+# FILES plugins/inputmethods/libqpickboard.so*