blob: a964f1feec529539c4ede190543e0bcebb88459d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
DESCRIPTION = "Alarm Clock Applet"
SECTION = "opie/applets"
PRIORITY = "optional"
LICENSE = "GPL"
AUTHOR = "Anton Maslovsky"
HOMEPAGE = "http://my-zaurus.narod.ru/"
RDEPENDS = "qpealarmclock"
RCONFLICTS = "opie-clockapplet"
RREPLACES = "opie-clockapplet"
APPNAME = "qpealarmclockapplet"
APPTYPE = "binary"
SRC_URI = "http://my-zaurus.narod.ru/downloads/clockapplet.tar.gz \
file://missing-files.tar.gz \
file://fix-compile.patch;patch=1 "
S = "${WORKDIR}/clockapplet"
inherit palmtop
pkg_postinst() {
#!/bin/sh
if [ -n "$D" ]; then exit 1; fi
if pidof -s qpe >/dev/null; then
/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
fi
}
pkg_postrm() {
#!/bin/sh
/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
if [ -n "$D" ]; then false; fi
}
do_install () {
# create dirs
install -d ${D}${palmtopdir}/plugins/applets
# libs
oe_libinstall -so libclockapplet ${D}${palmtopdir}/plugins/applets
}
|