surpport seeking the recorded video
[vuplus_openembedded] / recipes / opie-lockapplet / opie-lockapplet.inc
1 DESCRIPTION = "Lock Opie now Button to lock Opie (as configured in the Security settings) on demand."
2 SECTION = "opie/applets"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 APPNAME = "lockapplet"
6 DEPENDS = "opie-security"
7 RDEPENDS = "opie-security"
8
9
10 S = "${WORKDIR}/lockapplet"
11
12 inherit opie
13
14 pkg_postinst() {
15 #!/bin/sh
16 if [ -n "$D" ]; then exit 1; fi
17 if pidof -s qpe >/dev/null; then
18   ${bindir}/qcop QPE/TaskBar "reloadApplets()"
19 fi
20 }
21
22 pkg_postrm() {
23 #!/bin/sh
24 ${bindir}/qcop QPE/TaskBar "reloadApplets()"
25  if [ -n "$D" ]; then false; fi
26 }
27
28 do_install() {
29     install -d ${D}${palmtopdir}/plugins/applets ${D}${palmtopdir}/pics/security/
30     oe_libinstall -so liblockapplet ${D}${palmtopdir}/plugins/applets/
31 }
32