[yocto] [meta-swupd][PATCH] bsdiff: update to latest version

André Draszik git at andred.net
Mon Nov 21 04:03:55 PST 2016


From: André Draszik <adraszik at tycoint.com>

This allows us to completely remove the build time
depenency on libcheck when not needed, reducing
overall build time, and in addition tests can be
converted into a PACKAGECONFIG to enable them if
needed.

Signed-off-by: André Draszik <adraszik at tycoint.com>
---
 recipes-devtools/bsdiff/bsdiff_git.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/recipes-devtools/bsdiff/bsdiff_git.bb b/recipes-devtools/bsdiff/bsdiff_git.bb
index 8eb7271..ca0c4c8 100644
--- a/recipes-devtools/bsdiff/bsdiff_git.bb
+++ b/recipes-devtools/bsdiff/bsdiff_git.bb
@@ -6,14 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0dbe7a50f028269750631fcbded3846a"
 SRC_URI = "git://github.com/clearlinux/bsdiff.git;protocol=https"
 
 PV = "1.0.1+git${SRCPV}"
-SRCREV = "8c0a87b7c9eb5b22ed4e03a4eb42b32bd390df14"
+SRCREV = "fb5ced7c2cd6aeab0231f0cc3dee6bef72ddfb1e"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "xz bzip2 zlib libcheck"
+DEPENDS = "xz bzip2 zlib"
 
 inherit pkgconfig autotools
 
-EXTRA_OECONF = "--disable-tests"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[tests] = "--enable-tests, --disable-tests, libcheck"
 
 BBCLASSEXTEND = "native"
-- 
2.10.2




More information about the yocto mailing list