Skip to contentSkip to conversation

gflags: update SRC_URI with git fetcher

PATCH New [email protected] 1 participant 1 message Jun 30, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gflags: update SRC_URI with git fetcher

From: Kai Kang <[email protected]>

Because github archives can be regenerated from time to time, update SRC_URI with git fetcher for gflags.

---
 meta-oe/recipes-support/gflags/gflags_2.2.0.bb | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-support/gflags/gflags_2.2.0.bb +4 -3
index 5fc28f6..89caa37 100644
@@ -5,9 +5,10 @@ HOMEPAGE = "https://github.com/gflags/gflags"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
 
-SRC_URI = "https://github.com/gflags/gflags/archive/v${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz"
-SRC_URI[md5sum] = "b99048d9ab82d8c56e876fb1456c285e"
-SRC_URI[sha256sum] = "466c36c6508a451734e4f4d76825cf9cd9b8716d2b70ef36479ae40f08271f88"
+SRC_URI = "git://github.com/gflags/gflags.git"
+SRCREV = "f8a0efe03aa69b3336d8e228b37d4ccb17324b88"
+
+S = "${WORKDIR}/git"
 
 FILES_${PN}-dev += "${libdir}/cmake"
 
Signature · 1 line
2.10.1