summaryrefslogtreecommitdiff
path: root/recipes/qpegps
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/qpegps
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
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
+}