mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[libgit2] Update to 0.99.0 (#10140)
* [libgit2] Update to 0.99.0 * Update vcpkg conventions * Use new approach to disallowing UWP builds
This commit is contained in:
parent
f71aa3077e
commit
12caf950f8
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user