DESCRIPTION = "Navit is a car navigation system with routing engine." LICENSE = "GPL" SECTION = "x11/applications" DEPENDS = "glib-2.0 gtk+" RRECOMMENDS = "gpsd espeak flite" PV = "0.1.0+svnr${SRCPV}" PR = "r0" DEPENDS_shr += " librsvg-native" EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling-flag=32 --disable-speech-speech-dispatcher" S = "${WORKDIR}/xpm" inherit autotools FILES_${PN} = " /usr/share/navit/xpm/" #use different URL than navit_svn doest, to prevent upgrade/downgrade cycle in downloads dir SRC_URI = "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk/navit/navit;module=xpm;proto=https \ file://configure.in" do_configure_prepend() { cp ${WORKDIR}/configure.in ${S}/ # replace include with just xpmdir variable sed -i 's#.*Makefile.inc.*#xpmdir=$(pkgdatadir)/xpm#g' ${S}/Makefile.am # don't install desktopfile and icons sed -i 's/^\(EXTRADIST.*\) $(DESKTOPFILE_DATA) $(ICON128_DATA) $(ICON22_DATA) \(.*\)$/\1\2/g' ${S}/Makefile.am }