aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoelf-Jilling <r-j.wolthuis@live.com>2017-10-20 21:35:29 +0200
committerRoelf-Jilling <r-j.wolthuis@live.com>2017-10-20 21:35:29 +0200
commitf24c1c6ccd8617246d395be1d58abf3dfffcc931 (patch)
treeca6ba01c40f9b49532e321b3c69293060825fcc8
parent7fb0342b8a16b43ce9887fcc879a2321954646be (diff)
downloadvcpkg-f24c1c6ccd8617246d395be1d58abf3dfffcc931.tar.gz
vcpkg-f24c1c6ccd8617246d395be1d58abf3dfffcc931.zip
[CppWinRT] Update to October 2017 release
-rw-r--r--ports/cppwinrt/CONTROL2
-rw-r--r--ports/cppwinrt/portfile.cmake22
2 files changed, 14 insertions, 10 deletions
diff --git a/ports/cppwinrt/CONTROL b/ports/cppwinrt/CONTROL
index e470b2458..aa481439e 100644
--- a/ports/cppwinrt/CONTROL
+++ b/ports/cppwinrt/CONTROL
@@ -1,3 +1,3 @@
Source: cppwinrt
-Version: spring_2017_creators_update_for_vs_15.3
+Version: Fall_2017_Creators_Update_for_VS_15.3
Description: C++/WinRT is a standard C++ language projection for the Windows Runtime.
diff --git a/ports/cppwinrt/portfile.cmake b/ports/cppwinrt/portfile.cmake
index c83465efe..e093ecdfa 100644
--- a/ports/cppwinrt/portfile.cmake
+++ b/ports/cppwinrt/portfile.cmake
@@ -1,18 +1,22 @@
include(vcpkg_common_functions)
-find_program(GIT git)
-set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cppwinrt-spring_2017_creators_update_for_vs_15.3)
+set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/cppwinrt-fall_2017_creators_update_for_vs_15.3)
+
vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/Microsoft/cppwinrt/archive/spring_2017_creators_update_for_vs_15.3.tar.gz"
- FILENAME "cppwinrt-spring_2017_creators_update_for_vs_15.3.tar.gz"
- SHA512 779586122552e49a79aff08f4476905e00c3b4ad3dbc502240e9a7cc59ec0e4ab6304149a66505923ab84d2b334059de9e18c84a5b0ed6bde106d19119ef911f
+ URLS "https://github.com/Microsoft/cppwinrt/archive/fall_2017_creators_update_for_vs_15.3.tar.gz"
+ FILENAME "cppwinrt-fall_2017_creators_update_for_vs_15.3.tar.gz"
+ SHA512 e3f987ed3f3dce019b8bf9f5451e53b42357473a003b8c14f9009e1848ee0463286bd46fdc3c739c8f7c2d232707e8018f5c087ffae784c745d51a8143f9a294
)
vcpkg_extract_source_archive(${ARCHIVE})
# Put the licence file where vcpkg expects it
-file(COPY ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppwinrt/license.txt)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/cppwinrt/license.txt ${CURRENT_PACKAGES_DIR}/share/cppwinrt/copyright)
+file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/cppwinrt)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/cppwinrt/LICENSE ${CURRENT_PACKAGES_DIR}/share/cppwinrt/copyright)
# Copy the cppwinrt header files
-file(GLOB HEADER_FILES ${SOURCE_PATH}/10.0.15063.0/winrt/*)
-file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/winrt)
+file(GLOB HEADER_FILES ${SOURCE_PATH}/10.0.16299.0/winrt/*)
+file(
+ COPY ${HEADER_FILES}
+ DESTINATION ${CURRENT_PACKAGES_DIR}/include/winrt
+ REGEX "\.(gitattributes|gitignore)$" EXCLUDE
+)