summaryrefslogtreecommitdiff
path: root/opie-irdaapplet
diff options
context:
space:
mode:
Diffstat (limited to 'opie-irdaapplet')
-rw-r--r--opie-irdaapplet/opie-irdaapplet_1.1.7.oe40
-rw-r--r--opie-irdaapplet/opie-irdaapplet_cvs.oe8
2 files changed, 44 insertions, 4 deletions
diff --git a/opie-irdaapplet/opie-irdaapplet_1.1.7.oe b/opie-irdaapplet/opie-irdaapplet_1.1.7.oe
index e69de29bb2..4b3bffaa04 100644
--- a/opie-irdaapplet/opie-irdaapplet_1.1.7.oe
+++ b/opie-irdaapplet/opie-irdaapplet_1.1.7.oe
@@ -0,0 +1,40 @@
+DESCRIPTION = "IrDA Applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+MAINTAINER = "Team Opie <opie@handhelds.org>"
+LICENSE = "GPL"
+
+APPNAME = "irdaapplet"
+
+TAG = "${@'v' + oe.data.getVar('PV',d,1).replace('.', '_')}"
+SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/core/applets/irdaapplet \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/sounds \
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if pidof -s qpe >/dev/null; then
+ /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+fi
+ if [ -n "$D" ]; then false; fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+/opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+# FILES plugins/applets/libirdaapplet.so* pics/irdaapplet/* sounds/irdaapplet/*.wav
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}${palmtopdir}/sounds/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/sounds/${APPNAME}/*.wav ${D}${palmtopdir}/sounds/${APPNAME}/
+}
+
diff --git a/opie-irdaapplet/opie-irdaapplet_cvs.oe b/opie-irdaapplet/opie-irdaapplet_cvs.oe
index b0ff4e9ac8..08cf6cbd9d 100644
--- a/opie-irdaapplet/opie-irdaapplet_cvs.oe
+++ b/opie-irdaapplet/opie-irdaapplet_cvs.oe
@@ -6,10 +6,10 @@ LICENSE = "GPL"
PV = "1.1.7+cvs-${CVSDATE}"
APPNAME = "irdaapplet"
-SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/core/applets/irdaapplet \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/pics \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/sounds \
- cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=opie/apps"
+SRC_URI = "${HANDHELDS_CVS};module=opie/core/applets/irdaapplet \
+ ${HANDHELDS_CVS};module=opie/pics \
+ ${HANDHELDS_CVS};module=opie/sounds \
+ ${HANDHELDS_CVS};module=opie/apps"
S = "${WORKDIR}/${APPNAME}"