summaryrefslogtreecommitdiff
path: root/recipes/opie-keyview/opie-keyview.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-keyview/opie-keyview.inc')
-rw-r--r--recipes/opie-keyview/opie-keyview.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/opie-keyview/opie-keyview.inc b/recipes/opie-keyview/opie-keyview.inc
new file mode 100644
index 0000000000..904d781ee1
--- /dev/null
+++ b/recipes/opie-keyview/opie-keyview.inc
@@ -0,0 +1,27 @@
+DESCRIPTION = "Keyview Development Inputmethod"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "keyview"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+if pidof -s qpe >/dev/null; then
+ ${bindir}/qcop QPE/TaskBar "reloadInputMethods()"
+else
+ exit 0
+fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+${bindir}/qcop QPE/TaskBar "reloadInputMethods()"
+}
+
+# FILES plugins/inputmethods/libkeyview.so*