aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-opie/opie-kpacman
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-24 17:57:24 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-07-30 02:35:12 +0100
commite9b45ff67d32fdc27950a51135b6dabada8334e7 (patch)
treede99cd760c8292ee1dd334e23e1e5cc43e90dfbd /recipes-opie/opie-kpacman
downloadmeta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.gz
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.tar.bz2
meta-opie-e9b45ff67d32fdc27950a51135b6dabada8334e7.zip
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-kpacman')
-rw-r--r--recipes-opie/opie-kpacman/opie-kpacman.inc33
-rw-r--r--recipes-opie/opie-kpacman/opie-kpacman_1.2.5.bb14
-rw-r--r--recipes-opie/opie-kpacman/opie-kpacman_cvs.bb8
3 files changed, 55 insertions, 0 deletions
diff --git a/recipes-opie/opie-kpacman/opie-kpacman.inc b/recipes-opie/opie-kpacman/opie-kpacman.inc
new file mode 100644
index 0000000..7ee37ff
--- /dev/null
+++ b/recipes-opie/opie-kpacman/opie-kpacman.inc
@@ -0,0 +1,33 @@
+DESCRIPTION = "Kpacman, the classical arcade game of Pacman"
+SECTION = "opie/games"
+PRIORITY = "optional"
+LICENSE = "GPL"
+APPNAME = "kpacman"
+
+
+S = "${WORKDIR}/${APPNAME}"
+
+inherit opie
+
+pkg_postinst() {
+#!/bin/sh
+if [ -n "$D" ]; then exit 1; fi
+
+if [ ! -f $HOME/Settings/kpacman.conf ]
+ exit 0
+then
+ cp /opt/QtPalmtop/share/kpacman/kpacman.conf $HOME/Settings/
+fi
+}
+
+# FILES bin/kpacman apps/Games/kpacman.desktop pics/kpacman/kpacman.png share/kpacman
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/pics/${APPNAME}/*.png ${D}${palmtopdir}/pics/${APPNAME}/
+ install -d ${D}${palmtopdir}/share/${APPNAME}/fonts
+ install -d ${D}${palmtopdir}/share/${APPNAME}/pics
+ install -m 0644 ${WORKDIR}/share/${APPNAME}/*.conf ${D}${palmtopdir}/share/${APPNAME}/
+ install -m 0644 ${WORKDIR}/share/${APPNAME}/fonts/*.xbm ${D}${palmtopdir}/share/${APPNAME}/fonts/
+ install -m 0644 ${WORKDIR}/share/${APPNAME}/pics/*.xpm ${D}${palmtopdir}/share/${APPNAME}/pics/
+}
+
diff --git a/recipes-opie/opie-kpacman/opie-kpacman_1.2.5.bb b/recipes-opie/opie-kpacman/opie-kpacman_1.2.5.bb
new file mode 100644
index 0000000..019d331
--- /dev/null
+++ b/recipes-opie/opie-kpacman/opie-kpacman_1.2.5.bb
@@ -0,0 +1,14 @@
+require ${PN}.inc
+
+SRC_URI = "http://sources.openembedded.org/opie-1.2.5-split_noncore_games_kpacman.tar.bz2;name=split_noncore_games_kpacman \
+ http://sources.openembedded.org/opie-1.2.5-split_pics.tar.bz2;name=split_pics \
+ http://sources.openembedded.org/opie-1.2.5-split_share.tar.bz2;name=split_share \
+ http://sources.openembedded.org/opie-1.2.5-split_apps.tar.bz2;name=split_apps"
+SRC_URI[split_noncore_games_kpacman.md5sum] = "b37cee9d490c4a3e032dd691c5d360fd"
+SRC_URI[split_noncore_games_kpacman.sha256sum] = "ab6909f713e489f51a87bc0965febc27e3753e3d3b94f85bfc8dbc4cdec57165"
+SRC_URI[split_pics.md5sum] = "e9b68749d67295f7080a23e39b17335e"
+SRC_URI[split_pics.sha256sum] = "0a7aab6d0bce04d6a9c257d768d8a1a481d38ba527d6e6e50723973789954b4a"
+SRC_URI[split_share.md5sum] = "a715ae54405cae2b17c35d166f161aa8"
+SRC_URI[split_share.sha256sum] = "0b71c8726b41f8c4dfd3a31fbb23f9c533c16d7d9c1f3002ab0d2daea274da7a"
+SRC_URI[split_apps.md5sum] = "c765d13427e4dc8ee396e4dfed2dbe73"
+SRC_URI[split_apps.sha256sum] = "0fea454d8d286f7febc7449e4a06f73e941e8b22e9bab904a32e57f35479862a"
diff --git a/recipes-opie/opie-kpacman/opie-kpacman_cvs.bb b/recipes-opie/opie-kpacman/opie-kpacman_cvs.bb
new file mode 100644
index 0000000..dd860fb
--- /dev/null
+++ b/recipes-opie/opie-kpacman/opie-kpacman_cvs.bb
@@ -0,0 +1,8 @@
+require ${PN}.inc
+
+PV = "${OPIE_GIT_PV}"
+
+SRC_URI = "${OPIE_GIT};protocol=git;subpath=noncore/games/kpacman \
+ ${OPIE_GIT};protocol=git;subpath=pics \
+ ${OPIE_GIT};protocol=git;subpath=share \
+ ${OPIE_GIT};protocol=git;subpath=apps"