summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2008-01-02 12:08:41 +0000
committerMatthias Hentges <oe@hentges.net>2008-01-02 12:08:41 +0000
commitf25e1f34b14f219abc5bd498a18ab360942c9a34 (patch)
treeac84783c23221933c719db9d0e59b8750eb121f0 /packages
parent219785a84257b81c2f17f9821209847155ae7f2e (diff)
navit: Add .desktop
Diffstat (limited to 'packages')
-rw-r--r--packages/navit/navit_0.0.3.bb12
-rw-r--r--packages/navit/navit_cvs.bb10
2 files changed, 18 insertions, 4 deletions
diff --git a/packages/navit/navit_0.0.3.bb b/packages/navit/navit_0.0.3.bb
index 35730e9fac..efb78e9967 100644
--- a/packages/navit/navit_0.0.3.bb
+++ b/packages/navit/navit_0.0.3.bb
@@ -1,8 +1,16 @@
require navit.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/navit/navit-${PV}.tar.gz \
- file://navit.xml-so.patch;patch=1"
+ file://navit.xml-so.patch;patch=1 \
+ file://navit.desktop"
EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap --enable-avoid-float --enable-avoid-unaligned"
+
+do_install_append() {
+ install -d ${D}/usr/share/applications/
+
+ install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/
+}
+
diff --git a/packages/navit/navit_cvs.bb b/packages/navit/navit_cvs.bb
index d35d9ddf56..30bc778e3b 100644
--- a/packages/navit/navit_cvs.bb
+++ b/packages/navit/navit_cvs.bb
@@ -1,14 +1,20 @@
require navit.inc
PV = "0.0.3+cvs${SRCDATE}"
-PR = "r1"
+PR = "r2"
S = "${WORKDIR}/navit"
SRC_URI = "cvs://anonymous@navit.cvs.sourceforge.net/cvsroot/navit;module=navit \
- file://navit.xml-so.patch;patch=1"
+ file://navit.xml-so.patch;patch=1 \
+ file://navit.desktop"
EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap --enable-avoid-float --enable-avoid-unaligned"
EXTRA_AUTORECONF = " -I m4"
+do_install_append() {
+ install -d ${D}/usr/share/applications/
+
+ install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/
+}