blob: 779da870dcf0af475f0e87c5e10beb98dc92c14e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
DESCRIPTION = "Navit is a car navigation system with routing engine."
LICENSE = "GPL"
SECTION = "x11/applications"
DEPENDS = "glib-2.0 gtk+ imagemagick-native librsvg-native"
RRECOMMENDS_${PN} = "gpsd espeak flite"
#only icons present in the package
PACKAGE_ARCH = "all"
PV = "0.1.0+svnr${SRCPV}"
PR = "r2"
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/"
SRCREV = "3526"
#use different URL than navit_svn does, 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
}
|