libdmx: Add fso-specs to DEPENDS
[openembedded.git] / recipes / navit / navit_svn.bb
blobe04cc03d86b9f43212f1449a715eea5e379d6316
1 require navit.inc
3 PV = "0.1.0+svnr${SRCPV}"
4 PR = "${INC_PR}.5"
6 S = "${WORKDIR}/navit"
8 # override navit.inc RRECOMMENDS, we only suggest a text2speech app
9 RRECOMMENDS = "gpsd"
10 RSUGGESTS = "flite espeak
12 DEPENDS_shr += " librsvg-native"
13 RDEPENDS = " navit-icons"
14 EXTRA_OECONF += " --enable-svg2png-scaling-flag=32 --disable-speech-speech-dispatcher --enable-cache-size=20971520"
16 SRCREV = "3174"
17 SRC_URI = "svn://anonymous@navit.svn.sourceforge.net/svnroot/navit/trunk;module=navit;proto=https"
19 EXTRA_AUTORECONF = " -I m4"
21 FILES_${PN} += " ${datadir}/dbus-1/services/ "
23 CONFFILES_${PN} += "${datadir}/navit/navit.default.xml \
24 ${datadir}/navit/navit.xml \
25 ${datadir}/navit/maps.xml \
26 ${datadir}/navit/osd.xml \
27 ${datadir}/navit/speech.xml \
28 ${datadir}/navit/plugins.xml \
31 SRC_URI += "file://navit.xml \
32 file://maps.xml \
33 file://osd.xml \
34 file://speech.xml \
35 file://plugins.xml \
38 #Second launcher for shr
39 SRC_URI_append_shr = "file://navitD.desktop \
40 file://navitD.png \
43 DEPENDS_append_shr = " gypsy"
44 RDEPENDS_append_shr = " fsoraw"
46 do_configure_prepend() {
47 #Remove xpm building, replaced by icons in own package
48 sed -i 's/\(.*SUBDIRS.*\) xpm\( \|$\)\(.*\)/\1\2\3/g' ${S}/navit/Makefile.am
51 do_install_append() {
52 #Use split config
53 mv ${D}${datadir}/navit/navit.xml ${D}${datadir}/navit/navit.default.xml
54 install -m 0644 ${WORKDIR}/navit.xml ${D}${datadir}/navit/navit.xml
55 install -m 0644 ${WORKDIR}/maps.xml ${D}${datadir}/navit/maps.xml
56 install -m 0644 ${WORKDIR}/osd.xml ${D}${datadir}/navit/osd.xml
57 install -m 0644 ${WORKDIR}/speech.xml ${D}${datadir}/navit/speech.xml
58 install -m 0644 ${WORKDIR}/plugins.xml ${D}${datadir}/navit/plugins.xml
61 do_install_append_shr() {
62 #Install second launcher for shr
63 install -m 0644 ${WORKDIR}/navitD.desktop ${D}${datadir}/applications/
64 install -m 0644 ${WORKDIR}/navitD.png ${D}${datadir}/pixmaps/