summaryrefslogtreecommitdiff
path: root/recipes/qpegps
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qpegps')
-rw-r--r--recipes/qpegps/files/qpegps.desktop6
-rw-r--r--recipes/qpegps/files/qpegps.pngbin0 -> 3606 bytes
-rw-r--r--recipes/qpegps/qpegps.inc37
-rw-r--r--recipes/qpegps/qpegps_0.9.2.3.3.bb3
-rw-r--r--recipes/qpegps/qpegps_0.9.3.1.bb8
-rw-r--r--recipes/qpegps/qpegps_svn.bb15
6 files changed, 69 insertions, 0 deletions
diff --git a/recipes/qpegps/files/qpegps.desktop b/recipes/qpegps/files/qpegps.desktop
new file mode 100644
index 0000000000..de5a93ccea
--- /dev/null
+++ b/recipes/qpegps/files/qpegps.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Comment=Moving Map
+Exec=qpegps
+Icon=qpegps
+Type=Application
+Name=qpeGPS
diff --git a/recipes/qpegps/files/qpegps.png b/recipes/qpegps/files/qpegps.png
new file mode 100644
index 0000000000..211980e5a6
--- /dev/null
+++ b/recipes/qpegps/files/qpegps.png
Binary files differ
diff --git a/recipes/qpegps/qpegps.inc b/recipes/qpegps/qpegps.inc
new file mode 100644
index 0000000000..e117d5fc21
--- /dev/null
+++ b/recipes/qpegps/qpegps.inc
@@ -0,0 +1,37 @@
+DESCRIPTION = "A GPS navigation application for the Opie environment"
+SECTION = "opie/applications"
+PRIORITY = "optional"
+LICENSE = "GPL"
+HOMEPAGE = "http://qpegps.sourceforge.net/"
+
+DEPENDS = "gpsd"
+RRECOMMENDS = "gpsd"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/qpegps/qpegps_${PV}_src.zip \
+ file://qpegps.desktop \
+ file://qpegps.png"
+S = "${WORKDIR}/qpegps"
+
+inherit palmtop
+
+QMAKE_PROFILES = "qpegps.pro"
+EXTRA_QMAKEVARS_POST = "LIBS=-lqpe LIBS+=-lgps"
+OE_QMAKE_CFLAGS += " -DQWS "
+OE_QMAKE_LIBS_QT = ${QT_LIBRARY}
+
+do_install() {
+ install -d ${D}${palmtopdir}/bin \
+ ${D}${palmtopdir}/apps/Applications \
+ ${D}${palmtopdir}/pics \
+ ${D}${palmtopdir}/help/html/qpegps_icons \
+ ${D}${palmtopdir}/qpegps/maps \
+ ${D}${palmtopdir}/qpegps/icons \
+ ${D}${palmtopdir}/qpegps/tracks
+ install -m 0755 qpegps ${D}${palmtopdir}/bin/
+ install -m 0644 ${WORKDIR}/qpegps.desktop ${D}${palmtopdir}/apps/Applications/
+ install -m 0644 ${WORKDIR}/qpegps.png ${D}${palmtopdir}/pics/
+ install -m 0644 doc/qpegps.html ${D}${palmtopdir}/help/html/
+ install -m 0644 doc/qpegps_icons/*.png ${D}${palmtopdir}/help/html/qpegps_icons/
+ install -m 0644 icons/*.xpm ${D}${palmtopdir}/qpegps/icons/
+ install -m 0644 datum/*.dat ${D}${palmtopdir}/qpegps/
+}
diff --git a/recipes/qpegps/qpegps_0.9.2.3.3.bb b/recipes/qpegps/qpegps_0.9.2.3.3.bb
new file mode 100644
index 0000000000..a1c493005f
--- /dev/null
+++ b/recipes/qpegps/qpegps_0.9.2.3.3.bb
@@ -0,0 +1,3 @@
+require qpegps.inc
+
+PR = "r1"
diff --git a/recipes/qpegps/qpegps_0.9.3.1.bb b/recipes/qpegps/qpegps_0.9.3.1.bb
new file mode 100644
index 0000000000..be4f293fe6
--- /dev/null
+++ b/recipes/qpegps/qpegps_0.9.3.1.bb
@@ -0,0 +1,8 @@
+require qpegps.inc
+
+PR = "r1"
+
+do_configure_prepend() {
+ mv ${S}/Place.cpp ${S}/place.cpp
+ mv ${S}/Place.h ${S}/place.h
+}
diff --git a/recipes/qpegps/qpegps_svn.bb b/recipes/qpegps/qpegps_svn.bb
new file mode 100644
index 0000000000..3ae1d58a80
--- /dev/null
+++ b/recipes/qpegps/qpegps_svn.bb
@@ -0,0 +1,15 @@
+require qpegps.inc
+
+PV = "0.0+svn${SRCDATE}"
+PR = "r1"
+
+SRC_URI = "svn://qpegps.svn.sourceforge.net/svnroot/;module=qpegps/trunk/qpegps;proto=https \
+ file://qpegps.desktop \
+ file://qpegps.png "
+
+S = "${WORKDIR}/qpegps/trunk/qpegps"
+
+do_configure_prepend() {
+ mv ${S}/Place.cpp ${S}/place.cpp
+ mv ${S}/Place.h ${S}/place.h
+}