diff options
| author | Kevin Lu <6320810+kevinlul@users.noreply.github.com> | 2020-02-29 01:25:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-28 22:25:31 -0800 |
| commit | 12caf950f8d5bbb0fdf1c5f4c676722f72199fa0 (patch) | |
| tree | 6ec268a599ac3506c4e46d37e02f0651c036bd72 /ports/libgit2 | |
| parent | f71aa3077ee6d7f3df95fb2db125769a7c1ddfb6 (diff) | |
| download | vcpkg-12caf950f8d5bbb0fdf1c5f4c676722f72199fa0.tar.gz vcpkg-12caf950f8d5bbb0fdf1c5f4c676722f72199fa0.zip | |
[libgit2] Update to 0.99.0 (#10140)
* [libgit2] Update to 0.99.0
* Update vcpkg conventions
* Use new approach to disallowing UWP builds
Diffstat (limited to 'ports/libgit2')
| -rw-r--r-- | ports/libgit2/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libgit2/portfile.cmake | 13 |
2 files changed, 5 insertions, 10 deletions
diff --git a/ports/libgit2/CONTROL b/ports/libgit2/CONTROL index 0c320dd40..fbf739e77 100644 --- a/ports/libgit2/CONTROL +++ b/ports/libgit2/CONTROL @@ -1,5 +1,5 @@ Source: libgit2
-Version: 0.28.4
+Version: 0.99.0
Homepage: https://github.com/libgit2/libgit2
Build-Depends: openssl (!windows&&!uwp)
Description: Git linkable library
diff --git a/ports/libgit2/portfile.cmake b/ports/libgit2/portfile.cmake index b3b6f1d78..12566af64 100644 --- a/ports/libgit2/portfile.cmake +++ b/ports/libgit2/portfile.cmake @@ -1,15 +1,11 @@ # libgit2 uses winapi functions not available in WindowsStore
-if (VCPKG_CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
- message(FATAL_ERROR "Error: UWP builds are not supported.")
-endif()
-
-include(vcpkg_common_functions)
+vcpkg_fail_port_install(ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libgit2/libgit2
- REF v0.28.4
- SHA512 b81160608003b25d9b922d259ebbbbf941b6bd5100fa1875497c8cd29de320e292fff568c757a7a85b2b3044ddc1cb92c74dbcb13d630d62ecf9a8559b619d15
+ REF v0.99.0
+ SHA512 e38e18da0e6ed1e5c8198c9eb2c362b21da2d0b9c8bc23309d2f70183549f4b9f23a6db8ce5f1f0f24b373e6427039c2a845b62dd74f91b02cfe8954f961a91b
HEAD_REF master
)
@@ -27,5 +23,4 @@ vcpkg_install_cmake() file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libgit2)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/libgit2/COPYING ${CURRENT_PACKAGES_DIR}/share/libgit2/copyright)
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libgit2 RENAME copyright)
|
