[kangaru] Update to 4.3.0 (#24177)

* Update kangaru to 4.3.0

* Update CI baseline

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

View File

@ -1,27 +1,27 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gracicot/kangaru
REF 8da8f0d5a434a6fb2f317022221ea0809914d4a6 # v4.2.4
SHA512 e5cfdad793db3b3d5ff093e4120a5131000677504eed09c02817c9a49699c044a88183413ad7b09946abb0258df34fe444078c375a5bf70589345d2aa2c2283b
REF v4.3.0
SHA512 7763d25eed203a033e0420abc0194531082223183ed9ec28d98f871e0dc619d28ec9053ff69b5bf54bac07bd99551f2dfaad9f29d51e8ebdd72d4929f9a8fb93
HEAD_REF master
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS -DKANGARU_EXPORT=Off -DKANGARU_TEST=Off -DKANGARU_REVERSE_DESTRUCTION=On
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DKANGARU_EXPORT=OFF
-DKANGARU_TEST=OFF
-DKANGARU_REVERSE_DESTRUCTION=ON
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/kangaru)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/kangaru)
file(REMOVE_RECURSE
${CURRENT_PACKAGES_DIR}/lib
${CURRENT_PACKAGES_DIR}/debug
"${CURRENT_PACKAGES_DIR}/lib"
"${CURRENT_PACKAGES_DIR}/debug"
)
# Put the license file where vcpkg expects it
file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/kangaru/)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/kangaru/LICENSE ${CURRENT_PACKAGES_DIR}/share/kangaru/copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,17 @@
{
"name": "kangaru",
"version-string": "4.2.4",
"port-version": 1,
"description": "A dependency injection container for C++11, C++14 and later"
"version": "4.3.0",
"description": "A dependency injection container for C++11, C++14 and later",
"homepage": "https://github.com/gracicot/kangaru",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -3085,8 +3085,8 @@
"port-version": 3
},
"kangaru": {
"baseline": "4.2.4",
"port-version": 1
"baseline": "4.3.0",
"port-version": 0
},
"kcp": {
"baseline": "1.7",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b6015882a3de991781c67d93b4c470aafcdd3e2b",
"version": "4.3.0",
"port-version": 0
},
{
"git-tree": "e47bf7620670afbcbb349017d71275289fa9b6a9",
"version-string": "4.2.4",