gtest: switch away from github archive

Since we know that github archives which are automatically generated have a
tendency to change their checksums[1], switch to using a git clone.

[1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 316753e9cf)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Trevor Woerner 2018-05-16 15:18:12 -04:00 committed by Armin Kuster
parent bba95005e8
commit 0472f7400a

View File

@ -7,16 +7,13 @@ LIC_FILES_CHKSUM = "file://googlemock/LICENSE;md5=cbbd27594afd089daa160d3a16dd51
PROVIDES += "gmock"
S = "${WORKDIR}/git"
SRCREV = "ec44c6c1675c25b9827aacd08c02433cccde7780"
SRC_URI = "\
https://github.com/google/googletest/archive/release-${PV}.tar.gz \
git://github.com/google/googletest.git;protocol=https; \
file://Add-pkg-config-support.patch \
"
SRC_URI[md5sum] = "16877098823401d1bf2ed7891d7dce36"
SRC_URI[sha256sum] = "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8"
S = "${WORKDIR}/googletest-release-${PV}"
inherit cmake
ALLOW_EMPTY_${PN} = "1"