diff mbox series

[oe-core] flatbuffers: upgrade 2.0.6 -> 2.0.8

Message ID 20220913142753.188814-1-f_l_k@t-online.de
State New
Headers show
Series [oe-core] flatbuffers: upgrade 2.0.6 -> 2.0.8 | expand

Commit Message

Markus Volk Sept. 13, 2022, 2:27 p.m. UTC
* upgrade python3-flatbuffers as well
* make sure that flatbuffers and python3-flatbuffers are using the same codebase

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../flatbuffers/{flatbuffers_2.0.6.bb => flatbuffers.bb}   | 7 +++----
 meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc       | 3 +++
 ...python3-flatbuffers_2.0.7.bb => python3-flatbuffers.bb} | 5 ++---
 3 files changed, 8 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-devtools/flatbuffers/{flatbuffers_2.0.6.bb => flatbuffers.bb} (84%)
 create mode 100644 meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
 rename meta-oe/recipes-devtools/flatbuffers/{python3-flatbuffers_2.0.7.bb => python3-flatbuffers.bb} (72%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_2.0.6.bb b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
similarity index 84%
rename from meta-oe/recipes-devtools/flatbuffers/flatbuffers_2.0.6.bb
rename to meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
index 3ca477210..f4a8b020a 100644
--- a/meta-oe/recipes-devtools/flatbuffers/flatbuffers_2.0.6.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.bb
@@ -2,6 +2,9 @@  SUMMARY = "Memory Efficient Serialization Library"
 HOMEPAGE = "https://github.com/google/flatbuffers"
 SECTION = "console/tools"
 LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
+
+require flatbuffers.inc
 
 PACKAGE_BEFORE_PN = "${PN}-compiler"
 
@@ -10,10 +13,6 @@  DEPENDS = "flatbuffers-native"
 RDEPENDS:${PN}-compiler = "${PN}"
 RDEPENDS:${PN}-dev += "${PN}-compiler"
 
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
-
-SRCREV = "615616cb5549a34bdf288c04bc1b94bd7a65c396"
-SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https"
 S = "${WORKDIR}/git"
 
 CVE_CHECK_IGNORE += "CVE-2020-35864"
diff --git a/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
new file mode 100644
index 000000000..ebdd94498
--- /dev/null
+++ b/meta-oe/recipes-devtools/flatbuffers/flatbuffers.inc
@@ -0,0 +1,3 @@ 
+PV = "2.0.8"
+SRCREV = "06c5c7ed0bd987a918cf88caafb094f22cdd1721"
+SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https"
diff --git a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers_2.0.7.bb b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
similarity index 72%
rename from meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers_2.0.7.bb
rename to meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
index 84c80444b..fb5b86dde 100644
--- a/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers_2.0.7.bb
+++ b/meta-oe/recipes-devtools/flatbuffers/python3-flatbuffers.bb
@@ -2,11 +2,10 @@  SUMMARY = "Memory Efficient Serialization Library - Python3 Modules"
 HOMEPAGE = "https://github.com/google/flatbuffers"
 SECTION = "console/tools"
 LICENSE = "Apache-2.0"
-
 LIC_FILES_CHKSUM = "file://../LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRCREV = "8367664f15c3ea2ee58c67dacf9d630b49466de5"
-SRC_URI = "git://github.com/google/flatbuffers.git;branch=master;protocol=https"
+require flatbuffers.inc
+
 S = "${WORKDIR}/git/python"
 
 RDEPENDS:${PN} = "flatbuffers"