summaryrefslogtreecommitdiff
path: root/packages/opie-keyboard/opie-keyboard.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opie-keyboard/opie-keyboard.inc')
-rw-r--r--packages/opie-keyboard/opie-keyboard.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/opie-keyboard/opie-keyboard.inc b/packages/opie-keyboard/opie-keyboard.inc
index e69de29bb2..5cc48b3270 100644
--- a/packages/opie-keyboard/opie-keyboard.inc
+++ b/packages/opie-keyboard/opie-keyboard.inc
@@ -0,0 +1,34 @@
+DESCRIPTION = "Opie Keyboard input method"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+DEPENDS = "opie-pickboard"
+RDEPENDS = "opie-pickboard"
+APPNAME = "qkeyboard"
+
+S = "${WORKDIR}/keyboard"
+
+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 "reloadInputMethods()"
+else
+ exit 0
+fi
+
+}
+
+pkg_postrm() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
+}
+
+# FILES plugins/inputmethods/libqkeyboard.so*
+do_install() {
+}
+