aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2017-09-05 11:25:01 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-05 14:35:47 +0200
commit01abeb9e64afccd99cea56be0bdae6810219fbc2 (patch)
tree63194fc0bb3b2154e722eb3572f5fab0cb899914
parentbaf375fdbfb53b8637d58db61780c03adaf60dbc (diff)
downloadmeta-openembedded-contrib-01abeb9e64afccd99cea56be0bdae6810219fbc2.tar.gz
meta-openembedded-contrib-01abeb9e64afccd99cea56be0bdae6810219fbc2.tar.bz2
meta-openembedded-contrib-01abeb9e64afccd99cea56be0bdae6810219fbc2.zip
protobuf-c: use git fetcher instead of github archives
Change to use git fetcher as github archives can be regenerated from time to time with different checksums. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
index 40fb96cf47..36de060418 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf-c_1.2.1.bb
@@ -16,10 +16,13 @@ RDEPENDS_${PN}-compiler = "protobuf-compiler"
RDEPENDS_${PN}-dev += "${PN}-compiler"
LIC_FILES_CHKSUM = "file://LICENSE;md5=235c3195a3968524dc1524b4ebea0c0e"
-SRC_URI = "https://github.com/protobuf-c/protobuf-c/archive/v${PV}.tar.gz"
-SRC_URI[md5sum] = "b884aeba4283309445a8e3b6e7322dd6"
-SRC_URI[sha256sum] = "2d708fb3c024b9e6e86df141faff802194f5db90a4b79e6d4aa6bd61dd983dd6"
+PV .= "+git${SRCPV}"
+SRCREV = "006d69bd8481738323c58af5cd4c8477d09eb9f5"
+
+SRC_URI = "git://github.com/protobuf-c/protobuf-c.git"
+
+S = "${WORKDIR}/git"
inherit autotools pkgconfig