Skip to content

Commit

Permalink
[cppwinrt] update to 2.0.221121.5 (microsoft#28635)
Browse files Browse the repository at this point in the history
* [cppwinrt] update to 2.0.221121.5

* update version

* modernization

* vdb

* use ${VERSION}

* overwrite version
  • Loading branch information
FrankXie05 authored Jan 4, 2023
1 parent 0d38238 commit acafd21
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
14 changes: 7 additions & 7 deletions ports/cppwinrt/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
set(CPPWINRT_VERSION 2.0.220929.3)
vcpkg_minimum_required(VERSION 2022-10-12) # for ${VERSION}

vcpkg_download_distfile(ARCHIVE
URLS "https://www.nuget.org/api/v2/package/Microsoft.Windows.CppWinRT/${CPPWINRT_VERSION}"
FILENAME "cppwinrt.${CPPWINRT_VERSION}.zip"
SHA512 be15d8aab83ee56b4ae45782c87f5e38af6e07c2b468aea157e32b8b5289c1084e955f4d8237f8d9f1ebb4e36564be913b274210f535056fa6d773c8e0cb986b
URLS "https://www.nuget.org/api/v2/package/Microsoft.Windows.CppWinRT/${VERSION}"
FILENAME "cppwinrt.${VERSION}.zip"
SHA512 0a5a46bf2508ee396861b810a2196e694f351385700c267cb6637dcbb966a4017703020378289aebb50c508cf082c9be9b7f4c756fd757d177ebd74480b7d13e
)

vcpkg_extract_source_archive_ex(
OUT_SOURCE_PATH src
ARCHIVE ${ARCHIVE}
vcpkg_extract_source_archive(
src
ARCHIVE "${ARCHIVE}"
NO_REMOVE_ONE_LEVEL
)

Expand Down
2 changes: 1 addition & 1 deletion ports/cppwinrt/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cppwinrt",
"version": "2.0.220929.3",
"version": "2.0.221121.5",
"description": "C++/WinRT is a standard C++ language projection for the Windows Runtime.",
"homepage": "https://github.com/microsoft/cppwinrt",
"documentation": "https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@
"port-version": 3
},
"cppwinrt": {
"baseline": "2.0.220929.3",
"baseline": "2.0.221121.5",
"port-version": 0
},
"cppxaml": {
Expand Down
5 changes: 5 additions & 0 deletions versions/c-/cppwinrt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1d3deb9b47938422fb8f885f19a677ff51a4b6bc",
"version": "2.0.221121.5",
"port-version": 0
},
{
"git-tree": "ba79ee15a44c311721836b535804423506cbcf5d",
"version": "2.0.220929.3",
Expand Down

0 comments on commit acafd21

Please sign in to comment.