cpprest: upgrade to version 2.10.7 and add support for brotli library

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gianfranco Costamagna
2018-11-05 16:16:53 +01:00
committed by Khem Raj
parent 80d37c453a
commit cabdfa2877
5 changed files with 74 additions and 49 deletions

View File

@@ -0,0 +1,23 @@
SUMMARY = "Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design."
SECTION = "libs/network"
HOMEPAGE = "https://github.com/Microsoft/cpprestsdk/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${S}/license.txt;md5=a2e15b954769218ff912468eecd6a02f"
DEPENDS = "openssl websocketpp zlib boost brotli"
EXTRA_OECMAKE = "-DCPPREST_EXPORT_DIR=cmake -DCPPREST_EXCLUDE_BROTLI=OFF"
SRC_URI = "git://github.com/Microsoft/cpprestsdk.git;protocol=https;branch=master \
file://disable-outside-tests.patch \
file://disable-test-timeouts.patch \
file://disable-float-tests.patch \
file://950-fix.patch \
file://system-brotli.patch \
"
# tag 2.10.7
SRCREV= "c4cef129e880a3f9c23a480e8c983793963173bb"
S = "${WORKDIR}/git"
inherit cmake