summaryrefslogtreecommitdiff
path: root/packages/navit/navit.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/navit/navit.inc')
-rw-r--r--packages/navit/navit.inc18
1 files changed, 10 insertions, 8 deletions
diff --git a/packages/navit/navit.inc b/packages/navit/navit.inc
index 1d68027e17..06e3a72664 100644
--- a/packages/navit/navit.inc
+++ b/packages/navit/navit.inc
@@ -5,21 +5,23 @@ RRECOMMENDS = "gpsd speechd flite"
inherit autotools
+EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap --enable-avoid-float --enable-avoid-unaligned"
+
PACKAGES = "${PN}-dbg ${PN}-dev ${PN} ${PN}-doc ${PN}-locale"
FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug"
FILES_${PN}-dev += "${libdir}/${PN}/*/*.so"
SRC_URI_append = " \
- file://navit.launcher \
+ file://navit.xml-so.patch;patch=1 \
+ file://navit.desktop \
+ file://navit.launcher \
"
do_install_append() {
- install -d ${D}/usr/share/applications/
-
- install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/
-
- mv ${D}/usr/bin/navit ${D}/usr/bin/navit.real
-
- install -m 0755 ${WORKDIR}/navit.launcher ${D}/usr/bin/navit
+ install -d ${D}/usr/share/applications/
+ install -m 0644 ${WORKDIR}/navit.desktop ${D}/usr/share/applications/
+
+ mv ${D}/usr/bin/navit ${D}/usr/bin/navit.real
+ install -m 0755 ${WORKDIR}/navit.launcher ${D}/usr/bin/navit
}