DESCRIPTION = "Koreanized JumpX input method"
SECTION = "opie/inputmethods"
PRIORITY = "optional"
MAINTAINER = "Team Opie <opie@handhelds.org>"
LICENSE = "GPL"
RDEPENDS = "opie-pics"
PV = "1.1.7+cvs-${CVSDATE}"
APPNAME = "qkjumpx"

SRC_URI = "${HANDHELDS_CVS};module=opie/inputmethods/kjumpx \
	   ${HANDHELDS_CVS};module=opie/pics"

S = "${WORKDIR}/kjumpx"

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/libqkjumpx.so* pics/kjumpx/*
do_install() {
	install -d ${D}/${palmtopdir}/pics/kjumpx/
	install -m 0644 ${WORKDIR}/pics/kjumpx/*.png ${D}/${palmtopdir}/pics/kjumpx/
}