[arcus/any-lite/aixlog] Update to the latest version (#19977)

* [arcus/any-lite/aixlog] Update to the latest version

* update version

* Apply requested changes

* update version

* update vcpkg.json

* update version
This commit is contained in:
JonLiu1993 2021-09-08 12:41:40 +08:00 committed by GitHub
parent 8ef3e28099
commit d1657f4c9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 88 additions and 45 deletions

View File

@ -1,3 +0,0 @@
Source: aixlog
Version: 1.4.0
Description: Header-only C++ logging library

View File

@ -1,11 +1,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO badaix/aixlog
REF c268f271ef7e7181389205e985740f29e6744a8c # v1.4.0
SHA512 7014d22a0bdbaf85191d18652531af6e0c8ff6d8041bf92a80d51994cfbdf0d9d63c4f8836b9bba16d1895ffa03ad0749a42bd11706eb5f3cde1dcbe76746c24
REF fd4a341740ee840092963de852584ec8ff811c4f # v1.5.0
SHA512 10ab07dcb1e67064c0d69ddcf9289d79d914c70fe6922f32179f9ac38d5c682a4ebe08b686d8160c699a6b966bc7aa2fd7d0268664570a10ce146850e78b292d
)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
file(COPY ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

11
ports/aixlog/vcpkg.json Normal file
View File

@ -0,0 +1,11 @@
{
"name": "aixlog",
"version-semver": "1.5.0",
"description": "Header-only C++ logging library",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
}
]
}

View File

@ -1,3 +0,0 @@
Source: any-lite
Version: 0.2.0
Description: A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library

View File

@ -1,29 +1,21 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO martinmoene/any-lite
REF v0.2.0
SHA512 703900d7bac96d41f903b6cabba4bce15ef3cf7ef0a6a66de76230498ededff110e43d68d4a3fd6996869b2edd001f69bd53039a214d06b774ce99518f384a68
REF d45a83b8e49d09ff5e5b66c10a56c997946436d9 #v0.4.0
SHA512 b73fe2d1e6de24e143337ef72f71949bf2ae4157a58a5c7e45dd0e9412dd798da6ef929fa09d104305483e769a603b37babd7ba65ab854a33483ab3ec8a921ec
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DANY_LITE_OPT_BUILD_TESTS=OFF
-DANY_LITE_OPT_BUILD_EXAMPLES=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(
CONFIG_PATH lib/cmake/${PORT}
)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
file( REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/debug
${CURRENT_PACKAGES_DIR}/lib
)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file( INSTALL
${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright
)
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

15
ports/any-lite/vcpkg.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "any-lite",
"version-semver": "0.4.0",
"description": "A C++17-like any, a type-safe container for single values of any type for C++98, C++11 and later in a single-file header-only library",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1,6 +0,0 @@
Source: arcus
Version: 4.8.0
Homepage: https://github.com/Ultimaker/libArcus
Description: This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.
Supports: !uwp
Build-Depends: protobuf

View File

@ -3,28 +3,27 @@ vcpkg_fail_port_install(ON_TARGET "UWP")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Ultimaker/libArcus
REF 4.8.0
SHA512 44db9b48ab6be08c30f2121d68197a7347eaf3ee255649969a773afbe45ec2433e2cc082aa72f6d40dad7ea28345da858471fff9a129365a4e848df8c8c07689
REF 617f6f71572090f73cb44592b12f49567b539e5b #v4.10.0
SHA512 cf0954d8b10d9f94165aa5c086d0e58c2925464f9fbe4252535c36d7e6bb12b767d89efb816c9e642f9cd7f0ec0d66d61ca21c5121a05340499d38d5d851f73b
HEAD_REF master
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" ENABLE_STATIC)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DBUILD_PYTHON=OFF
-DBUILD_EXAMPLES=OFF
-DBUILD_STATIC=${ENABLE_STATIC}
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Arcus TARGET_PATH share/arcus)
vcpkg_cmake_config_fixup(PACKAGE_NAME Arcus CONFIG_PATH lib/cmake/Arcus)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/arcus/copyright" COPYONLY)
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)

18
ports/arcus/vcpkg.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "arcus",
"version-semver": "4.10.0",
"description": "This library contains C++ bindings for creating a socket in a thread and using this socket to send and receive messages based on the Protocol Buffers library.",
"homepage": "https://github.com/Ultimaker/libArcus",
"supports": "!uwp",
"dependencies": [
"protobuf",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ca812db174980bd0007da672c5ec4dd52134bf73",
"version-semver": "1.5.0",
"port-version": 0
},
{
"git-tree": "b75ca5f2a37de51c0e0b369a124fb0ae5a05d323",
"version-string": "1.4.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "80479a956ce0c1547469f0b887278b07ac8de0c0",
"version-semver": "0.4.0",
"port-version": 0
},
{
"git-tree": "cf16580f5d27b67f0fca4ebf3eba27ad70925859",
"version-string": "0.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "76f86c7d5993d59f58a0863b9e2ca439db88efba",
"version-semver": "4.10.0",
"port-version": 0
},
{
"git-tree": "60c6c8f7ebf7b481fba071481b60e89085093e87",
"version-string": "4.8.0",

View File

@ -33,7 +33,7 @@
"port-version": 0
},
"aixlog": {
"baseline": "1.4.0",
"baseline": "1.5.0",
"port-version": 0
},
"akali": {
@ -89,7 +89,7 @@
"port-version": 0
},
"any-lite": {
"baseline": "0.2.0",
"baseline": "0.4.0",
"port-version": 0
},
"anyrpc": {
@ -121,7 +121,7 @@
"port-version": 0
},
"arcus": {
"baseline": "4.8.0",
"baseline": "4.10.0",
"port-version": 0
},
"argagg": {