summaryrefslogtreecommitdiff
path: root/packages/opie-handwriting/opie-handwriting.inc
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-handwriting/opie-handwriting.inc
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-handwriting/opie-handwriting.inc')
-rw-r--r--packages/opie-handwriting/opie-handwriting.inc48
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/opie-handwriting/opie-handwriting.inc b/packages/opie-handwriting/opie-handwriting.inc
index e69de29bb2..6687af0e26 100644
--- a/packages/opie-handwriting/opie-handwriting.inc
+++ b/packages/opie-handwriting/opie-handwriting.inc
@@ -0,0 +1,48 @@
+DESCRIPTION = "Handwriting input method"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "qhandwriting"
+
+
+S = "${WORKDIR}/handwriting"
+
+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/libqhandwriting.so*
+do_install() {
+ install -d ${D}${palmtopdir}/etc/qimpen/
+ for f in ../qimpen/*
+ do
+ [ -f $f ] && install -m 0644 $f ${D}${palmtopdir}/etc/qimpen/
+ done
+}
+
+PACKAGES = " opie-handwriting-classicset opie-handwriting-graffitiset opie-handwriting "
+
+FILES_opie-handwriting = "${palmtopdir}/plugins/inputmethods/libqhandwriting.so*"
+FILES_opie-handwriting-classicset = "${palmtopdir}/etc/qimpen/default.conf \
+ ${palmtopdir}/etc/qimpen/combining.qpt \
+ ${palmtopdir}/etc/qimpen/asciilower.qpt \
+ ${palmtopdir}/etc/qimpen/asciiupper.qpt \
+ ${palmtopdir}/etc/qimpen/numeric.qpt"
+FILES_opie-handwriting-graffitiset = "${palmtopdir}/etc/qimpen/graffiti*"
+