From 4f2d36ffab806e7e07828fe611a24c41ebf85481 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 3 Jun 2004 17:27:03 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into home.hrw.one.pl:/home/szczepan/zaurus/oe/packages 2004/06/03 19:25:28+02:00 hrw.one.pl!hrw remove postinst/postrm errors BKrev: 40bf5f67OtvAg844gK-VdDDx38NM-w --- opie-multikey/opie-multikey_cvs.oe | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'opie-multikey') diff --git a/opie-multikey/opie-multikey_cvs.oe b/opie-multikey/opie-multikey_cvs.oe index e69de29bb2..5040eb0f2f 100644 --- a/opie-multikey/opie-multikey_cvs.oe +++ b/opie-multikey/opie-multikey_cvs.oe @@ -0,0 +1,40 @@ +DESCRIPTION = "Multiple language keyboard" +SECTION = "opie/inputmethods" +PRIORITY = "optional" +MAINTAINER = "Open Embedded " +LICENSE = "GPL" +DEPENDS = "libqtaux2 opie-pickboard" +RDEPENDS = "opie-pics" +PV = "1.1.4-cvs-${CVSDATE}" +APPNAME = "qmultikey" + +SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/inputmethods/multikey;date=${CVSDATE} \ + cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/share;date=${CVSDATE}" + +S = "${WORKDIR}/multikey" + +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/libqmultikey.so* share/multikey/* +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/ +} + -- cgit v1.2.3