summaryrefslogtreecommitdiff
path: root/packages/opie-dasher
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-dasher
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/opie-dasher')
-rw-r--r--packages/opie-dasher/.mtn2git_empty0
-rw-r--r--packages/opie-dasher/opie-dasher.inc46
-rw-r--r--packages/opie-dasher/opie-dasher_1.2.0.bb7
3 files changed, 53 insertions, 0 deletions
diff --git a/packages/opie-dasher/.mtn2git_empty b/packages/opie-dasher/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-dasher/.mtn2git_empty
diff --git a/packages/opie-dasher/opie-dasher.inc b/packages/opie-dasher/opie-dasher.inc
index e69de29bb2..dbe7b1b9b2 100644
--- a/packages/opie-dasher/opie-dasher.inc
+++ b/packages/opie-dasher/opie-dasher.inc
@@ -0,0 +1,46 @@
+DESCRIPTION = "Dasher text input method"
+SECTION = "opie/inputmethods"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+APPNAME = "qdasher"
+
+
+S = "${WORKDIR}/dasher"
+
+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/libqdasher.so* share/dasher/alphabet.xml
+# FILES share/dasher/training_*.txt
+do_install() {
+ install -d ${D}${palmtopdir}/share/dasher/
+ install -m 0644 ${WORKDIR}/share/dasher/alphabet.xml ${D}${palmtopdir}/share/dasher/
+ for f in ${WORKDIR}/share/dasher/training_*.txt
+ do
+# echo Installing Dasher Language $f
+ [ -f $f ] && install -m 0644 $f ${D}${palmtopdir}/share/dasher/
+ done
+}
+
+PACKAGES = " opie-dasher-english opie-dasher "
+
+FILES_opie-dasher = "${palmtopdir}/plugins/inputmethods/libqdasher.so*"
+FILES_opie-dasher-english = "${palmtopdir}/share/dasher/training_english_GB.txt"
+
diff --git a/packages/opie-dasher/opie-dasher_1.2.0.bb b/packages/opie-dasher/opie-dasher_1.2.0.bb
index e69de29bb2..419471ec66 100644
--- a/packages/opie-dasher/opie-dasher_1.2.0.bb
+++ b/packages/opie-dasher/opie-dasher_1.2.0.bb
@@ -0,0 +1,7 @@
+include ${PN}.inc
+
+
+PR = "r0"
+
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/inputmethods/dasher \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/share "