[uwebsockets] Update to 0.14.5 (#2976)

* [uwebsockets] Update to 0.14.5

* [uwebsockets] Use vcpkg_from_github
This commit is contained in:
W1m0k 2018-03-08 05:21:52 +07:00 committed by Robert Schumacher
parent 58e8c96de0
commit 864ddcd681
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
Source: uwebsockets
Version: 0.14.4-1
Version: 0.14.5-1
Build-Depends: libuv, openssl, zlib
Description: Highly scalable cross-platform WebSocket & HTTP library for C++11 and Node.js

View File

@ -1,12 +1,12 @@
include(vcpkg_common_functions)
set(VERSION 0.14.4)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/uwebsockets-${VERSION})
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/uWebSockets/uWebSockets/archive/v${VERSION}.zip"
FILENAME "uwebsockets-v${VERSION}.zip"
SHA512 cc395437790a51a729582897111304e7d6c72574d59c55929a686b6a8a489eb3ea3ea7f037aeda9083243317ed885bd710a708d3dd635220387d3253e0712b10
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uWebSockets/uWebSockets
REF v0.14.5
SHA512 93fa26446962be34f721db609f4cdf5f2d84771a3101f37daab75c1e46aa1a1402ec0d4c6b000b4eeeafa1a391f25c186bfeda1b3dc395da4e48bdb9a498fd22
HEAD_REF master
)
vcpkg_extract_source_archive(${ARCHIVE})
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})