Skip to contentSkip to conversation

xdelta3: update to v3.1.0

PATCH New Bartosz Golaszewski 1 participant 2 messages Dec 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 xdelta3: update to v3.1.0

From: Bartosz Golaszewski <[email protected]>

The repository now lives under a different address. Let's use git directly to fetch sources as there are no proper release tarballs.

---
 .../xdelta/{xdelta3_3.0.11.bb => xdelta3_3.1.0.bb}        | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-support/xdelta/{xdelta3_3.0.11.bb => xdelta3_3.1.0.bb} (65%)
meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb renamed from meta-oe/recipes-support/xdelta/xdelta3_3.0.11.bb +4 -4
similarity index 65%
rename from meta-oe/recipes-support/xdelta/xdelta3_3.0.11.bb
rename to meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb
index 9669d9bbb..9bf136391 100644
@@ -6,10 +6,10 @@ SECTION = "console/utils"
 
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
-SRC_URI = "https://github.com/jmacd/xdelta-devel/releases/download/v${PV}/${BPN}-${PV}.tar.gz  \
-          "
-SRC_URI[md5sum] = "445d8be2ac512113d5ca601ae8359626"
-SRC_URI[sha256sum] = "0ccc9751ceaa4d90d6b06938a4deddb481816f5d9284bd07d2e728609cb300aa"
+
+SRC_URI = "git://github.com/jmacd/xdelta.git;branch=release3_1_apl"
+SRCREV = "4b4aed71a959fe11852e45242bb6524be85d3709"
+S = "${WORKDIR}/git/xdelta3"
 
 inherit autotools
 
Signature · 1 line
2.23.0
#1 lore raw

PATCH 2/2 xdelta3: add native and nativesdk to BBCLASSEXTEND

From: Bartosz Golaszewski <[email protected]>

Allow to build xdelta natively as it may be used for creating binary delta patches for OTA updates.

---
 meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/xdelta/xdelta3_3.1.0.bb +2 -0
index 9bf136391..d100030f9 100644
@@ -16,3 +16,5 @@ inherit autotools
 # Optional secondary compression
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[lzma] = "--with-liblzma,--without-liblzma,xz"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.23.0