summaryrefslogtreecommitdiff
path: root/packages/navit/navit_0.0.3.bb
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/navit/navit_0.0.3.bb
parent219785a84257b81c2f17f9821209847155ae7f2e (diff)
navit: Add .desktop
Diffstat (limited to 'packages/navit/navit_0.0.3.bb')
-rw-r--r--packages/navit/navit_0.0.3.bb12
1 files changed, 10 insertions, 2 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/
+}
+