summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-16 21:55:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-16 21:55:39 +0000
commit2328ac8bc6a44b9a0e57ad503a57fabb80facac1 (patch)
tree9785278ab38a6ae648e41b05d172babba5a6c059 /packages
parenta57d7d248644e1dc81dc97e6d03e56ce9e16ed51 (diff)
parente0392802cf95d1992986323be9596edfad6aefa5 (diff)
merge of 81c701fb4af8296026067c0e6d6a33431d87cd78
and 9e3733eb68c0fe66fdaa1fea2a1c364deec68678
Diffstat (limited to 'packages')
-rw-r--r--packages/pipepanic/files/.mtn2git_empty0
-rw-r--r--packages/pipepanic/files/fix-datadir.patch16
-rw-r--r--packages/pipepanic/pipepanic_0.1.1.bb7
3 files changed, 22 insertions, 1 deletions
diff --git a/packages/pipepanic/files/.mtn2git_empty b/packages/pipepanic/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/pipepanic/files/.mtn2git_empty
diff --git a/packages/pipepanic/files/fix-datadir.patch b/packages/pipepanic/files/fix-datadir.patch
new file mode 100644
index 0000000000..b7df38a3fb
--- /dev/null
+++ b/packages/pipepanic/files/fix-datadir.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- pipepanic-0.1.1-source/main.h~fix-datadir
++++ pipepanic-0.1.1-source/main.h
+@@ -20,7 +20,7 @@
+ #define FALSE 0
+ #define TRUE 1
+ #define VERSION "0.1.1"
+-#define DATADIR "/opt/QtPalmtop/share/pipepanic/"
++#define DATADIR "/usr/share"
+ #define DIGITS24BMP "digits24.bmp"
+ #define DIGITS48BMP "digits48.bmp"
+ #define TILES24BMP "tiles24.bmp"
diff --git a/packages/pipepanic/pipepanic_0.1.1.bb b/packages/pipepanic/pipepanic_0.1.1.bb
index ac54f119a4..9538f8b547 100644
--- a/packages/pipepanic/pipepanic_0.1.1.bb
+++ b/packages/pipepanic/pipepanic_0.1.1.bb
@@ -3,8 +3,10 @@ Connect as many different shaped pipes together as possible within the time give
HOMEPAGE = "http://www.users.waitrose.com/~thunor/pipepanic/"
LICENSE = "GPL"
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+PR = "r1"
-SRC_URI = "http://www.users.waitrose.com/~thunor/pipepanic/dload/pipepanic-${PV}-source.tar.gz"
+SRC_URI = "http://www.users.waitrose.com/~thunor/pipepanic/dload/pipepanic-${PV}-source.tar.gz \
+ file://fix-datadir.patch;patch=1"
S = "${WORKDIR}/pipepanic-0.1.1-source"
APPIMAGE = "zaurus/pipepanic.png"
@@ -19,5 +21,8 @@ do_compile() {
do_install() {
install -d ${D}${bindir}
install -m 0755 pipepanic ${D}${bindir}
+
+ install -d ${D}${datadir}/pipepanic
+ install -m 0644 *.bmp ${D}${datadir}/pipepanic/
}