Skip to content

Commit

Permalink
[brynet] Update to 1.0.5 (microsoft#9277)
Browse files Browse the repository at this point in the history
* Update portfile.cmake

update brynet to tag 1.0.5 .(after now, brynet changed to header only)

* Update portfile.cmake

* Update CONTROL

* Update ci.baseline.txt

remove brynet's setting
  • Loading branch information
IronsDu authored and dan-shaw committed Dec 20, 2019
1 parent af5f57c commit df4db71
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
5 changes: 2 additions & 3 deletions ports/brynet/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Source: brynet
Version: 1.0.3
Version: 1.0.5
Homepage: https://github.com/IronsDu/brynet
Description: A C++ cross platform high performance tcp network library, and support SSL/HTTP/Websocket.
Build-Depends: openssl
Description: A C++ header only cross platform high performance tcp network library, and support SSL/HTTP/Websocket.
20 changes: 5 additions & 15 deletions ports/brynet/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
include(vcpkg_common_functions)

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
#header-only library

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO IronsDu/brynet
REF v1.0.3
SHA512 8759b522da34be68a7ba0959ed3d85382965efe5080e4cdd403001f3911d36398b7fe9d039fd9fb485a0d557cec0fa53863a512eb88f13f3ff222b6e30642baf
REF v1.0.5
SHA512 2c625a6dc6f7b1b578d74f97b0ccec90856caaedb0725db4c5892cfaa33e77cd502b01ee26b1789017c459f4b0a03eaf16ae859dc51ad4e6f362aca7c5833995
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)

vcpkg_install_cmake()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/include/brynet DESTINATION ${CURRENT_PACKAGES_DIR}/include)

file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/brynet)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/brynet/LICENSE ${CURRENT_PACKAGES_DIR}/share/brynet/copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
4 changes: 0 additions & 4 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ breakpad:arm64-windows=fail
breakpad:x64-osx=fail
brotli:arm-uwp=fail
brotli:x64-uwp=fail
brynet:arm-uwp=fail
brynet:x64-linux=fail
brynet:x64-osx=fail
brynet:x64-uwp=fail
bullet3:arm64-windows=fail
bullet3:arm-uwp=fail
bullet3:x64-uwp=fail
Expand Down

0 comments on commit df4db71

Please sign in to comment.