diff options
Diffstat (limited to 'meta-oe/recipes-support/navit/navit-icons_svn.bb')
-rw-r--r-- | meta-oe/recipes-support/navit/navit-icons_svn.bb | 35 |
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 @@ | |||
1 | DESCRIPTION = "Navit is a car navigation system with routing engine." | ||
2 | LICENSE = "GPLv2" | ||
3 | # taken from main navit package | ||
4 | LIC_FILES_CHKSUM = "file://${WORKDIR}/GPL-2;md5=751419260aa954499f7abaabaa882bbe" | ||
5 | SECTION = "x11/applications" | ||
6 | DEPENDS = "glib-2.0 gtk+ imagemagick-native librsvg-native" | ||
7 | |||
8 | #only icons present in the package | ||
9 | PACKAGE_ARCH = "all" | ||
10 | |||
11 | PV = "0.1.0+svnr${SRCPV}" | ||
12 | PR = "r2" | ||
13 | |||
14 | 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" | ||
15 | |||
16 | S = "${WORKDIR}/xpm" | ||
17 | |||
18 | inherit autotools | ||
19 | |||
20 | FILES_${PN} = " /usr/share/navit/xpm/" | ||
21 | |||
22 | SRCREV = "3915" | ||
23 | |||
24 | #use different URL than navit_svn does, to prevent upgrade/downgrade cycle in downloads dir | ||
25 | SRC_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 | |||
29 | do_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 | } | ||