From f25e1f34b14f219abc5bd498a18ab360942c9a34 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Wed, 2 Jan 2008 12:08:41 +0000 Subject: navit: Add .desktop --- packages/navit/navit_0.0.3.bb | 12 ++++++++++-- packages/navit/navit_cvs.bb | 10 ++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) (limited to 'packages') 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/ +} -- cgit v1.2.3