summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/navit/navit-icons_svn.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/navit/navit-icons_svn.bb')
-rw-r--r--meta-oe/recipes-support/navit/navit-icons_svn.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/navit/navit-icons_svn.bb b/meta-oe/recipes-support/navit/navit-icons_svn.bb
new file mode 100644
index 000000000..116ff4397
--- /dev/null
+++ b/meta-oe/recipes-support/navit/navit-icons_svn.bb
@@ -0,0 +1,35 @@
1DESCRIPTION = "Navit is a car navigation system with routing engine."
2LICENSE = "GPLv2"
3# taken from main navit package
4LIC_FILES_CHKSUM = "file://${WORKDIR}/GPL-2;md5=751419260aa954499f7abaabaa882bbe"
5SECTION = "x11/applications"
6DEPENDS = "glib-2.0 gtk+ imagemagick-native librsvg-native"
7
8#only icons present in the package
9PACKAGE_ARCH = "all"
10
11PV = "0.1.0+svnr${SRCPV}"
12PR = "r2"
13
14EXTRA_OECONF = "--disable-binding-python --disable-gui-sdl --disable-samplemap --enable-avoid-float --enable-avoid-unaligned --enable-svg2png-scaling-flag=32 --disable-speech-speech-dispatcher"
15
16S = "${WORKDIR}/xpm"
17
18inherit autotools
19
20FILES_${PN} = " /usr/share/navit/xpm/"
21
22SRCREV = "3915"
23
24#use different URL than navit_svn does, to prevent upgrade/downgrade cycle in downloads dir
25SRC_URI = "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk/navit/navit;module=xpm;proto=https \
26 file://GPL-2 \
27 file://configure.in"
28
29do_configure_prepend() {
30 cp ${WORKDIR}/configure.in ${S}/
31 # replace include with just xpmdir variable
32 sed -i 's#.*Makefile.inc.*#xpmdir=$(pkgdatadir)/xpm#g' ${S}/Makefile.am
33 # don't install desktopfile and icons
34 sed -i 's/^\(EXTRADIST.*\) $(DESKTOPFILE_DATA) $(ICON128_DATA) $(ICON22_DATA) \(.*\)$/\1\2/g' ${S}/Makefile.am
35}