libgit2: Upgrade to 0.27.4

License Update: Added SHA1 module which is under MIT license
Upgrade will fix build with openSSL 1.1+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2018-09-03 23:12:38 -07:00
parent 4f1a290b8b
commit 45d78539ae
@@ -0,0 +1,24 @@
SUMMARY = "the Git linkable library"
HOMEPAGE = "http://libgit2.github.com/"
LICENSE = "GPL-2.0-with-GCC-exception & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=3f2cd5d3cccd71d62066ba619614592b"
DEPENDS = "curl openssl zlib libssh2"
SRC_URI = "git://github.com/libgit2/libgit2.git;branch=maint/v0.27"
#v0.27.4
SRCREV = "8b89f362a34fcccdf1c6c5f3445895b71d9c6d56"
S = "${WORKDIR}/git"
inherit cmake
EXTRA_OECMAKE = "\
-DTHREADSAFE=ON \
-DBUILD_CLAR=OFF \
-DSHA1_TYPE="builtin" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_EXAMPLES=OFF \
"
BBCLASSEXTEND = "native"