summaryrefslogtreecommitdiff
path: root/packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb')
-rw-r--r--packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb b/packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb
new file mode 100644
index 0000000000..33dabde5e9
--- /dev/null
+++ b/packages/qpealarmclock/qpealarmclockapplet_1.0.9.bb
@@ -0,0 +1,42 @@
+DESCRIPTION = "Alarm Clock Applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Patrik Gfeller (gfellerpatrik@gmx.net)"
+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
+}