summaryrefslogtreecommitdiff
path: root/recipes/opie-multikeyapplet/opie-multikeyapplet.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opie-multikeyapplet/opie-multikeyapplet.inc')
-rw-r--r--recipes/opie-multikeyapplet/opie-multikeyapplet.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/opie-multikeyapplet/opie-multikeyapplet.inc b/recipes/opie-multikeyapplet/opie-multikeyapplet.inc
new file mode 100644
index 0000000000..0022ba567a
--- /dev/null
+++ b/recipes/opie-multikeyapplet/opie-multikeyapplet.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "Multikey Keyboard Layout Switcher Applet"
+SECTION = "opie/applets"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "multikeyapplet"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+if pidof -s qpe >/dev/null; then
+ ${bindir}/qcop QPE/TaskBar "reloadApplets()"
+fi
+}
+
+pkg_postrm() {
+#!/bin/sh
+${bindir}/qcop QPE/TaskBar "reloadApplets()"
+ if [ -n "$D" ]; then false; fi
+}
+
+# FILES plugins/applets/libmultikeyapplet.so*
+do_install() {
+}
+