diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/navit/navit_0.0.3.bb | 12 | ||||
-rw-r--r-- | packages/navit/navit_cvs.bb | 10 |
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/ +} |