[plog] Update to 1.1.6 (#24178)

* Update plog to 1.1.6

* Update CI baseline

* Address suggestions

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2022-04-19 01:38:29 +02:00 committed by GitHub
parent 8e84020c67
commit d3d3c5738a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 12 deletions

View File

@ -2,14 +2,16 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO SergiusTheBest/plog
REF 1.1.5
SHA512 c16b428e1855c905c486130c8610d043962bedc2b40d1d986c250c8f7fd7139540164a3cbb408ed08298370aa150d5937f358c13ccae2728ce8ea47fa897fd0b
REF 1.1.6
SHA512 5240532df96144d5026d6f879b69f7d6f393ebc9122c6458c41076fd3db998565e45ed2ab4948f8c3cb59e08c0aad7695ee416f95b49fd70209cd937220cdf8b
HEAD_REF master
)
# Put the licence file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/plog)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/plog/LICENSE ${CURRENT_PACKAGES_DIR}/share/plog/copyright)
# Copy header files
file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.h")
file(INSTALL "${SOURCE_PATH}/include" DESTINATION "${CURRENT_PACKAGES_DIR}" FILES_MATCHING PATTERN "*.h")
# Copy usage file
file(COPY "${CURRENT_PORT_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
# Put the licence file where vcpkg expects it
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

4
ports/plog/usage Normal file
View File

@ -0,0 +1,4 @@
The package plog is header only and can be used from CMake via:
find_path(PLOG_INCLUDE_DIRS "plog/Log.h")
target_include_directories(main PRIVATE ${PLOG_INCLUDE_DIRS})

View File

@ -1,7 +1,7 @@
{
"name": "plog",
"version-string": "1.1.5",
"port-version": 1,
"version": "1.1.6",
"description": "Portable, simple and extensible C++ logging library.",
"homepage": "https://github.com/SergiusTheBest/plog"
"homepage": "https://github.com/SergiusTheBest/plog",
"license": "MPL-2.0"
}

View File

@ -5449,8 +5449,8 @@
"port-version": 6
},
"plog": {
"baseline": "1.1.5",
"port-version": 1
"baseline": "1.1.6",
"port-version": 0
},
"plplot": {
"baseline": "5.13.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "aaca8cb03c90bca09c7bf83b393521dce2719686",
"version": "1.1.6",
"port-version": 0
},
{
"git-tree": "7cbf2ab91e484ee21e8c62316558e11b3a49f288",
"version-string": "1.1.5",