diff options
Diffstat (limited to 'recipes/opie-volumeapplet/opie-volumeapplet.inc')
-rw-r--r-- | recipes/opie-volumeapplet/opie-volumeapplet.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes/opie-volumeapplet/opie-volumeapplet.inc b/recipes/opie-volumeapplet/opie-volumeapplet.inc new file mode 100644 index 0000000000..3bb619f3bd --- /dev/null +++ b/recipes/opie-volumeapplet/opie-volumeapplet.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Volume applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +APPNAME = "volumeapplet" + + +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/libvolumeapplet.so* +do_install() { +} + |