aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>2020-04-22 04:17:32 +0800
committerGitHub <noreply@github.com>2020-04-21 13:17:32 -0700
commit1da127ed7cfdbf95082e7fc0092acfc168db7595 (patch)
treef278d88450cdc0d854ca7fb09bbfe5c6d5992226
parentf2e9ef7f259843e116453bbabb7bcc2b13246f13 (diff)
downloadvcpkg-1da127ed7cfdbf95082e7fc0092acfc168db7595.tar.gz
vcpkg-1da127ed7cfdbf95082e7fc0092acfc168db7595.zip
[winreg] Update to 2.2.0 (#10926)
* [winreg] Update to 2.2.0 * Revert changes INSATLL to COPY headers
-rw-r--r--ports/winreg/CONTROL2
-rw-r--r--ports/winreg/portfile.cmake13
-rw-r--r--scripts/ci.baseline.txt2
3 files changed, 7 insertions, 10 deletions
diff --git a/ports/winreg/CONTROL b/ports/winreg/CONTROL
index 0e2cc7188..16befc139 100644
--- a/ports/winreg/CONTROL
+++ b/ports/winreg/CONTROL
@@ -1,5 +1,5 @@
Source: winreg
-Version: 1.2.1-1
+Version: 2.2.0
Homepage: https://github.com/GiovanniDicanio/WinReg
Description: High-level C++ wrapper around the Windows Registry C API.
Supports: windows || uwp \ No newline at end of file
diff --git a/ports/winreg/portfile.cmake b/ports/winreg/portfile.cmake
index ded93e42d..7ee9dc182 100644
--- a/ports/winreg/portfile.cmake
+++ b/ports/winreg/portfile.cmake
@@ -1,21 +1,16 @@
# WinReg - Header-only library
-
-include(vcpkg_common_functions)
-
-if(NOT VCPKG_TARGET_IS_WINDOWS)
- message("winreg only support windows.")
-endif()
+vcpkg_fail_port_install(ON_TARGET "linux" "osx")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GiovanniDicanio/WinReg
- REF v1.2.1
- SHA512 c919f91bf37b2fd7c30f6463430e07f3b8d1a01b8d4c84591b56299faf9d5b651d7c3b35a2adc22e3b0aa471627060a45e179f98f309242683b17d4d0d81cb7b
+ REF e35d0e2f7c5a9c8a502df3ae79cef0ee9308bcbc #v2.2.0
+ SHA512 7883b3016475bfd386564fa0a88b570db381d1109421ca6b2318342cc8f1fb344d380ef6bd75f904c7b4084a70f6c893583a68c0bc41c027ac12ef3cfaec3476
HEAD_REF master
)
# Copy the single reusable library header
-file(COPY ${SOURCE_PATH}/WinReg/WinReg/WinReg.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
+file(COPY ${SOURCE_PATH}/WinReg/WinReg.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
diff --git a/scripts/ci.baseline.txt b/scripts/ci.baseline.txt
index 761c6613e..d44aa4410 100644
--- a/scripts/ci.baseline.txt
+++ b/scripts/ci.baseline.txt
@@ -1837,6 +1837,8 @@ winpcap:x64-uwp = skip
winpcap:x64-windows = skip
winpcap:x64-windows-static = skip
winpcap:x86-windows = skip
+winreg:x64-linux=fail
+winreg:x64-osx=fail
winsock2:x64-linux=fail
winsock2:x64-osx=fail
wintoast:arm-uwp=fail