bluez5: fix: apply patch on bluez v5.22 only 81/5281/2
authorYannick Gicquel <yannick.gicquel@iot.bzh>
Fri, 15 Jan 2016 15:55:17 +0000 (16:55 +0100)
committerGerrit Code Review <gerrit@172.30.200.200>
Mon, 18 Jan 2016 19:03:17 +0000 (19:03 +0000)
commit49d1dbac52837a0c44034acc2d67a654681f0f8d
tree7e1f5e97fad308dc6a966bc5286204914ecb808e
parent985baadc9b0bcacc713877e4a41f3229ef3806e6
bluez5: fix: apply patch on bluez v5.22 only

Replace 'rev' directive by 'apply' and a check on 'PV' variable.

Tanikawa-san observed a regression while building 'qtsystems' with previous
commit:

(...)
Bitbake fails at qtsystems with c++ compiling errors.

Option 'rev' works only when building code from a revision control system. In bluez5_5.22.bb, source code is downloaded as tarball. "fd0783c8bc524bc9b26514aad1f85814" is not SRCREV, it is md5 of tarball.
(...)

Change-Id: Id595d4c01912567e640d3371bbd0709e53eec748
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
recipes-connectivity/bluez5/bluez5_%.bbappend