mirror of https://github.com/microsoft/vcpkg.git
[miniupnpc] update to 2.2.5 (#33554)
This commit is contained in:
parent
4e0474f42a
commit
38073c3695
|
|
@ -1,11 +0,0 @@
|
|||
--- a/miniupnpc/CMakeLists.txt 2018-05-07 13:12:58.000000000 +0200
|
||||
+++ b/miniupnpc/CMakeLists.txt 2018-11-13 11:51:57.897598000 +0100
|
||||
@@ -124,7 +124,7 @@
|
||||
target_link_libraries (libminiupnpc-shared PRIVATE miniupnpc-private)
|
||||
target_compile_definitions(libminiupnpc-shared PRIVATE MINIUPNP_EXPORTS)
|
||||
|
||||
- target_include_directories(libminiupnpc-static INTERFACE ../${CMAKE_CURRENT_SOURCE_DIR})
|
||||
+ target_include_directories(libminiupnpc-shared INTERFACE ../${CMAKE_CURRENT_SOURCE_DIR})
|
||||
if (WIN32)
|
||||
target_link_libraries(libminiupnpc-shared INTERFACE ws2_32 iphlpapi)
|
||||
endif()
|
||||
|
|
@ -1,11 +1,10 @@
|
|||
string(REPLACE "." "_" MINIUPNPC_VERSION "${VERSION}")
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO miniupnp/miniupnp
|
||||
REF miniupnpc_2_1
|
||||
SHA512 f2ab5116c094982f7838ccab460d3db07a99de1094448277fc45841e0e64ea1b4216d75a7e5dd471c79ff9b0132b89e4d801c3ad1b60d55631c12c916df658f5
|
||||
REF "miniupnpc_${MINIUPNPC_VERSION}"
|
||||
SHA512 575d6be8271c11bb48f95c7f0a7aed82619e9cb871a530d75a47867ef663807e888a6e66be0cd201f29ef3c7df860ee855481d464edb65881e83a6f16279ba76
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
cmakelists.diff
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" MINIUPNPC_BUILD_SHARED)
|
||||
|
|
@ -23,5 +22,21 @@ vcpkg_cmake_configure(
|
|||
vcpkg_cmake_install()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH "/lib/cmake/${PORT}")
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
else()
|
||||
file(GLOB DEBUG_TOOLS "${CURRENT_PACKAGES_DIR}/debug/bin/*.exe")
|
||||
file(GLOB RELEASE_TOOLS "${CURRENT_PACKAGES_DIR}/bin/*.exe")
|
||||
file(
|
||||
INSTALL ${RELEASE_TOOLS}
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}"
|
||||
)
|
||||
vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
||||
file(REMOVE ${DEBUG_TOOLS} ${RELEASE_TOOLS})
|
||||
endif()
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
|
|||
|
|
@ -1,13 +1,16 @@
|
|||
{
|
||||
"name": "miniupnpc",
|
||||
"version": "2.1",
|
||||
"port-version": 5,
|
||||
"version": "2.2.5",
|
||||
"description": "UPnP client library/tool to access Internet Gateway Devices",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5389,8 +5389,8 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"miniupnpc": {
|
||||
"baseline": "2.1",
|
||||
"port-version": 5
|
||||
"baseline": "2.2.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"miniz": {
|
||||
"baseline": "3.0.2",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "4178b65263cd78046a728561065f5957d5f2f6ca",
|
||||
"version": "2.2.5",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "7cf1368b7969b30d49c1666b690b8e18ab265ebc",
|
||||
"version": "2.1",
|
||||
|
|
|
|||
Loading…
Reference in New Issue