diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-24 17:57:24 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-30 02:35:12 +0100 |
commit | e9b45ff67d32fdc27950a51135b6dabada8334e7 (patch) | |
tree | de99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-opie/opie-multikey/opie-multikey.inc | |
download | meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz |
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision
45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged
the directory structure to match the new oe-core style and added
COPYING.MIT and README.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-multikey/opie-multikey.inc')
-rw-r--r-- | recipes-opie/opie-multikey/opie-multikey.inc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/recipes-opie/opie-multikey/opie-multikey.inc b/recipes-opie/opie-multikey/opie-multikey.inc new file mode 100644 index 0000000..0615280 --- /dev/null +++ b/recipes-opie/opie-multikey/opie-multikey.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "Multiple language keyboard" +SECTION = "opie/inputmethods" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "libqtaux2 opie-pickboard" +RDEPENDS_${PN} = "opie-pics opie-pickboard" +RRECOMMENDS_${PN} = "opie-multikeyapplet" +APPNAME = "qmultikey" + +S = "${WORKDIR}/multikey" + +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 +if [ -n "$D" ]; then exit 1; fi +${bindir}/qcop QPE/TaskBar "reloadInputMethods()" +} + +# FILES plugins/inputmethods/libqmultikey.so* share/multikey/* + +SRC_URI_append = " file://ru.keymap" + +do_install() { + install -d ${D}${palmtopdir}/share/multikey/ + install -m 0644 ${WORKDIR}/share/multikey/*.keymap ${D}${palmtopdir}/share/multikey/ + install -m 0644 ${WORKDIR}/share/multikey/README ${D}${palmtopdir}/share/multikey/ + install -m 0644 ${WORKDIR}/ru.keymap ${D}${palmtopdir}/share/multikey/ +} + |