midori: fix build with dirty vala
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 19 Oct 2011 11:47:03 +0000 (13:47 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:16:13 +0000 (08:16 -0800)
commit9ed2eadf1cc2ae1387d99c4bd084bc242103dacc
tree0048429a3a63e47b1d147828fc78da9f50c2cada
parent369da8df8d310fde71acf2c2c8c7cba1e15d8943
midori: fix build with dirty vala

* there is only one line added to default waf file
  in unpack_wafdir() just before last chdir and return
  because those files are downloaded and cannot be patched in normal way
  os.system("sed -i \"s/version=output.split/version=output.replace('-dirty','').split/g\" wafadmin/Tools/vala.py")

* It fails to parse version like this
  /OE/shr-core/tmp/sysroots/x86_64-linux/usr/bin/valac --version
  Vala 0.12.1-dirty
  reporting 0.0.0 instead which breaks configure

(From meta-openembedded rev: bcfc89236b7a96eb00999492351fb9cafc0cbf84)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-connectivity/midori/midori-0.4.1/waf [new file with mode: 0755]
meta-openembedded/meta-oe/recipes-connectivity/midori/midori_0.4.1.bb