diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-24 17:57:24 +0100 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-30 02:35:12 +0100 |
commit | e9b45ff67d32fdc27950a51135b6dabada8334e7 (patch) | |
tree | de99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-opie/opie-networkapplet | |
download | meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz |
initial commit of meta-opie
Populate the repository with files from OpenEmbedded at revision
45edf621296daf150c72b876d720861235e5762e - no changes, only rearranged
the directory structure to match the new oe-core style and added
COPYING.MIT and README.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-opie/opie-networkapplet')
3 files changed, 46 insertions, 0 deletions
diff --git a/recipes-opie/opie-networkapplet/opie-networkapplet.inc b/recipes-opie/opie-networkapplet/opie-networkapplet.inc new file mode 100644 index 0000000..c1ebfbe --- /dev/null +++ b/recipes-opie/opie-networkapplet/opie-networkapplet.inc @@ -0,0 +1,32 @@ +DESCRIPTION = "Network Applet" +SECTION = "opie/applets" +PRIORITY = "optional" +LICENSE = "GPL" +RDEPENDS_${PN} = "opie-networksettings" +APPNAME = "networkapplet" + +S = "${WORKDIR}/${APPNAME}" + +inherit opie + +pkg_postinst() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +if pidof -s qpe >/dev/null; then + /usr/bin/qcop QPE/TaskBar "reloadApplets()" +else + exit 0 +fi +} + +pkg_postrm() { +#!/bin/sh +if [ -n "$D" ]; then exit 1; fi +/usr/bin/qcop QPE/TaskBar "reloadApplets()" +} + +# FILES plugins/applets/libnetworkapplet.so* pics/networkapplet +do_install() { + install -d ${D}${palmtopdir}/pics/${APPNAME}/ + install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/ +} diff --git a/recipes-opie/opie-networkapplet/opie-networkapplet_1.2.5.bb b/recipes-opie/opie-networkapplet/opie-networkapplet_1.2.5.bb new file mode 100644 index 0000000..3bbd4d4 --- /dev/null +++ b/recipes-opie/opie-networkapplet/opie-networkapplet_1.2.5.bb @@ -0,0 +1,8 @@ +require ${PN}.inc + +SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_applets_networkapplet.tar.bz2;name=split_noncore_applets_networkapplet \ + http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics" +SRC_URI[split_noncore_applets_networkapplet.md5sum] = "cff6a34cb17c4d43fac479af928e945d" +SRC_URI[split_noncore_applets_networkapplet.sha256sum] = "83f69e44ba07b84abdab915dcfaccf25257e23b8904bf71ac01080b484f850f0" +SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e" +SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a" diff --git a/recipes-opie/opie-networkapplet/opie-networkapplet_cvs.bb b/recipes-opie/opie-networkapplet/opie-networkapplet_cvs.bb new file mode 100644 index 0000000..ac865e6 --- /dev/null +++ b/recipes-opie/opie-networkapplet/opie-networkapplet_cvs.bb @@ -0,0 +1,6 @@ +require ${PN}.inc + +PV = "${OPIE_GIT_PV}" + +SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/applets/networkapplet \ + ${OPIE_GIT};protocol=git;subpath=pics" |