summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/zddice
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
committerRene Wagner <rw@handhelds.org>2006-05-13 15:42:03 +0200
commit5a5346dfbec459c10d9e61e16e125b83975a1ef1 (patch)
tree342e16f3fe790d03b93294344e6154459888939f /org.handhelds.familiar/packages/zddice
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e35772d79306d1d9de19c12b23681618532d.
Diffstat (limited to 'org.handhelds.familiar/packages/zddice')
-rw-r--r--org.handhelds.familiar/packages/zddice/zddice-1.0.0/qtopia17.patch25
-rw-r--r--org.handhelds.familiar/packages/zddice/zddice_1.0.0.bb21
2 files changed, 46 insertions, 0 deletions
diff --git a/org.handhelds.familiar/packages/zddice/zddice-1.0.0/qtopia17.patch b/org.handhelds.familiar/packages/zddice/zddice-1.0.0/qtopia17.patch
new file mode 100644
index 0000000..7aea580
--- /dev/null
+++ b/org.handhelds.familiar/packages/zddice/zddice-1.0.0/qtopia17.patch
@@ -0,0 +1,25 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- zddice-src/zddice_main.cpp~qtopia17 2004-04-15 04:44:10.000000000 +0200
++++ zddice-src/zddice_main.cpp 2004-04-18 12:54:08.000000000 +0200
+@@ -1,5 +1,15 @@
+ #include "zddice.h"
+ #include <qpe/qpeapplication.h>
+
+-QTOPIA_ADD_APPLICATION("zddice", zddice)
+-QTOPIA_MAIN
++//QTOPIA_ADD_APPLICATION("zddice", zddice)
++//QTOPIA_MAIN
++
++int main(int argc, char** argv)
++{
++ QPEApplication a( argc, argv );
++ zddice* w = new zddice();
++ a.showMainWidget( w );
++ a.exec();
++}
++
++
diff --git a/org.handhelds.familiar/packages/zddice/zddice_1.0.0.bb b/org.handhelds.familiar/packages/zddice/zddice_1.0.0.bb
new file mode 100644
index 0000000..f10589c
--- /dev/null
+++ b/org.handhelds.familiar/packages/zddice/zddice_1.0.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Zaurus D20 Gaming Dice for Qt/Embedded based Palmtop Environments"
+SECTION = "opie/games"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+PR = "r1"
+
+SRC_URI = "http://www.cinlug.org/modules/Static_Docs/data/db/zddice/zddice_${PV}_arm.src.tar.gz \
+ file://qtopia17.patch;patch=1"
+S = "${WORKDIR}/zddice-src"
+
+inherit palmtop
+
+EXTRA_QMAKEVARS_POST = 'TMAKE_LIBS-="-luuid" TMAKE_LIBS+="-lqpe" CONFIG+=qt CONFIG-=qtopia'
+
+do_install() {
+ install -d ${D}${palmtopdir}/{bin,pics,apps/Games}
+ install -m 0755 zddice ${D}${palmtopdir}/bin/
+ install -m 0644 images/zddice.png ${D}${palmtopdir}/pics/
+ install -m 0644 zddice.desktop ${D}${palmtopdir}/apps/Games/
+}