aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2017-06-30 14:43:10 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-14 23:45:24 +0200
commit65a4fce6d8ab6547d57985e0ee2a8e197aadca64 (patch)
treebfaf104b5c72902880b4249bb954e14145ab9d6d
parent7abd4710bf9b334874993bd9a4a90e3f8f3a9c41 (diff)
downloadmeta-openembedded-65a4fce6d8ab6547d57985e0ee2a8e197aadca64.tar.gz
gflags: update SRC_URI with git fetcher
Because github archives can be regenerated from time to time, update SRC_URI with git fetcher for gflags. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/gflags/gflags_2.2.0.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
index 5fc28f67bb..89caa370fd 100644
--- a/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
+++ b/meta-oe/recipes-support/gflags/gflags_2.2.0.bb
@@ -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"