[termcolor] update to v2.1.0 (#23329)

* [termcolor] update to the master

* add port version

* update version

* update v2.1.0

* update version

* format version

* overwrite version

* add license

* update version

* update license

* update verison
This commit is contained in:
Frank 2022-05-17 02:44:02 +08:00 committed by GitHub
parent 4a2bc18713
commit e162e68c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 12 deletions

View File

@ -1,17 +1,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ikalnytskyi/termcolor
REF 67eb0aa55e48ead9fe2aab049f0b1aa7943ba0ea #v2.0.0
SHA512 c076f0acafa455fb3ed58bca5f0a0989dc3824e9b4f264fc5aa5b599068cc6551ccc2cfe1180a4ff0f8424e6adbfbbfeed50d395ab5f288b8c678cfa42e8fa17
REF b3cb0f365f8435588df7a6b12a82b2ac5fc1fe95 #v2.1.0
SHA512 8a95c654b68728a2258eba1c40daf0e5cc69ba24e15e839f75341a694a20a930c042820d68c661ca1971b68dcc93f895513dc73774818b94e205a3a73199b550
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${port}/ TARGET_PATH share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${port}/")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,17 @@
{
"name": "termcolor",
"version-semver": "2.0.0",
"version": "2.1.0",
"description": "Termcolor is a header-only C++ library for printing colored messages to the terminal.",
"homepage": "https://github.com/ikalnytskyi/termcolor"
"homepage": "https://github.com/ikalnytskyi/termcolor",
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -6921,7 +6921,7 @@
"port-version": 1
},
"termcolor": {
"baseline": "2.0.0",
"baseline": "2.1.0",
"port-version": 0
},
"tesseract": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "15926920dc728ce16644bdb00bcca056efb293e8",
"version": "2.1.0",
"port-version": 0
},
{
"git-tree": "a357134080b4f2553d91d289f167cc23ddc8c102",
"version-semver": "2.0.0",