require midori.inc DEPENDS += "python-native python-docutils-native" SRC_URI = "http://archive.xfce.org/src/apps/midori/0.2/midori-${PV}.tar.bz2 \ file://waf" SRC_URI_append_shr = " file://config \ file://retain-navigationbar-in-fullwindow.patch \ " PR = "r2" do_configure() { cp -f ${WORKDIR}/waf ${S}/ sed -i -e 's:, shell=False::g' wscript ./configure \ --prefix=${prefix} \ --bindir=${bindir} \ --sbindir=${sbindir} \ --libexecdir=${libexecdir} \ --datadir=${datadir} \ --sysconfdir=${sysconfdir} \ --sharedstatedir=${sharedstatedir} \ --localstatedir=${localstatedir} \ --libdir=${libdir} \ --includedir=${includedir} \ --infodir=${infodir} \ --mandir=${mandir} \ ${EXTRA_OECONF} sed -i /LINK_CC/d ./_build_/c4che/default.cache.py echo "LINK_CC = '${CXX}'" >> ./_build_/c4che/default.cache.py } do_install_append_shr() { install -d ${D}${sysconfdir}/xdg/midori install -m 0644 ${WORKDIR}/config ${D}${sysconfdir}/xdg/midori } SRC_URI[md5sum] = "3cee94c9a22316504a3ba99bc92e0245" SRC_URI[sha256sum] = "7d79a45331cfcf002ccd5a386b5597f91e0ee048b2b040a57c6faebc02bba79c"