]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/opie-dasher/opie-dasher.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / opie-dasher / opie-dasher.inc
1 DESCRIPTION = "Dasher text input method"
2 SECTION = "opie/inputmethods"
3 PRIORITY = "optional"
4 MAINTAINER = "Team Opie <opie@handhelds.org>"
5 LICENSE = "GPL"
6 APPNAME = "qdasher"
7
8
9 S = "${WORKDIR}/dasher"
10
11 inherit opie
12
13 pkg_postinst() {
14 #!/bin/sh
15 if [ -n "$D" ]; then exit 1; fi
16 if pidof -s qpe >/dev/null; then
17   /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
18 else
19   exit 0
20 fi
21
22 }
23
24 pkg_postrm() {
25 #!/bin/sh
26 if [ -n "$D" ]; then exit 1; fi
27 /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()"
28 }
29
30 # FILES plugins/inputmethods/libqdasher.so* share/dasher/alphabet.xml
31 # FILES share/dasher/training_*.txt
32 do_install() {
33         install -d ${D}${palmtopdir}/share/dasher/
34         install -m 0644 ${WORKDIR}/share/dasher/alphabet.xml ${D}${palmtopdir}/share/dasher/
35         for f in ${WORKDIR}/share/dasher/training_*.txt
36         do
37 #               echo Installing Dasher Language $f
38                 [ -f $f ] && install -m 0644 $f ${D}${palmtopdir}/share/dasher/
39         done
40 }
41
42 PACKAGES = " opie-dasher-english opie-dasher "
43
44 FILES_opie-dasher = "${palmtopdir}/plugins/inputmethods/libqdasher.so*"
45 FILES_opie-dasher-english = "${palmtopdir}/share/dasher/training_english_GB.txt"
46