aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorithewei <ithewei@163.com>2021-09-14 05:55:05 +0800
committerGitHub <noreply@github.com>2021-09-13 14:55:05 -0700
commit7dc786c123e2c60ee234ef27268baa7a02071310 (patch)
tree96108144044bf33bfbac36bb1964329727ca4ee5
parent20f85de001381fe3df9e951ee412639e6604ef9c (diff)
downloadvcpkg-7dc786c123e2c60ee234ef27268baa7a02071310.tar.gz
vcpkg-7dc786c123e2c60ee234ef27268baa7a02071310.zip
[libhv] update to v1.2.1 (#19794)
* [libhv] update to v1.2.1 * vcpkg x-add-version libhv * [libhv] move dlls from lib to bin * vcpkg x-add-version --overwrite-version libhv * [libhv] mkdir bin * vcpkg x-add-version --overwrite-version libhv * Don't protect `file(MAKE_DIRECTORY` Co-authored-by: hewei.it <hewei.it@bytedance.com> Co-authored-by: Jonliu1993 <13720414433@163.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
-rw-r--r--ports/libhv/portfile.cmake14
-rw-r--r--ports/libhv/vcpkg.json3
-rw-r--r--versions/baseline.json4
-rw-r--r--versions/l-/libhv.json5
4 files changed, 20 insertions, 6 deletions
diff --git a/ports/libhv/portfile.cmake b/ports/libhv/portfile.cmake
index f54897107..2661a4566 100644
--- a/ports/libhv/portfile.cmake
+++ b/ports/libhv/portfile.cmake
@@ -3,8 +3,8 @@ vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ithewei/libhv
- REF v1.0.0
- SHA512 49d9e93444667ff143048abc05f88aab23ec5c543c58d0494bac9c29ac8216760220f19828bde6b84a5864bc8c5ec280ee4a72cc5ba888a4f02734240243cb07
+ REF v1.2.1
+ SHA512 c917b50a2def643b808782631cae33289b62193b9ccb95f4f7736f4d1256de72358931263d5cc06f4581950d91656e700941cb0b929d2f73f650f5297d358b38
HEAD_REF master
)
@@ -27,3 +27,13 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
+
+if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/hv.dll")
+ file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/bin")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/lib/hv.dll" "${CURRENT_PACKAGES_DIR}/bin/hv.dll")
+endif()
+
+if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/hv.dll")
+ file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/bin")
+ file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/hv.dll" "${CURRENT_PACKAGES_DIR}/debug/bin/hv.dll")
+endif()
diff --git a/ports/libhv/vcpkg.json b/ports/libhv/vcpkg.json
index d16fbeccf..80978ea7d 100644
--- a/ports/libhv/vcpkg.json
+++ b/ports/libhv/vcpkg.json
@@ -1,7 +1,6 @@
{
"name": "libhv",
- "version": "1.0.0",
- "port-version": 2,
+ "version": "1.2.1",
"description": "Libhv is a C/C++ network library similar to libevent/libuv.",
"homepage": "https://github.com/ithewei/libhv",
"supports": "!(arm | uwp)"
diff --git a/versions/baseline.json b/versions/baseline.json
index 7b43aff30..be64ffb90 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -3337,8 +3337,8 @@
"port-version": 0
},
"libhv": {
- "baseline": "1.0.0",
- "port-version": 2
+ "baseline": "1.2.1",
+ "port-version": 0
},
"libhydrogen": {
"baseline": "2019-08-11",
diff --git a/versions/l-/libhv.json b/versions/l-/libhv.json
index 9fae80665..a291410e7 100644
--- a/versions/l-/libhv.json
+++ b/versions/l-/libhv.json
@@ -1,6 +1,11 @@
{
"versions": [
{
+ "git-tree": "70132ddc099b347cfea66a4ed2de435abafb9c6f",
+ "version": "1.2.1",
+ "port-version": 0
+ },
+ {
"git-tree": "3a460f29d525c6c1ce8154593238960415a24d80",
"version": "1.0.0",
"port-version": 2