From e97f053a90da3eecc513eda1a6a9c98eea511bf8 Mon Sep 17 00:00:00 2001 From: Guillaume Racicot Date: Thu, 22 Sep 2022 15:42:38 -0300 Subject: [PATCH] [kangaru ] Update to version 4.3.1 (#26839) * Bumped kangaru version * Added versions * Bumped kangaru version * run x-add-version * Change name of the feature to globaltypeid * Run x-add-version * Apply suggestions from code review Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> * Fixed feature for hash based type id * Run x-add-version Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> --- ports/kangaru/portfile.cmake | 10 ++++++++-- ports/kangaru/vcpkg.json | 9 +++++++-- versions/baseline.json | 2 +- versions/k-/kangaru.json | 5 +++++ 4 files changed, 21 insertions(+), 5 deletions(-) diff --git a/ports/kangaru/portfile.cmake b/ports/kangaru/portfile.cmake index 92ab7aadee31b0..a97d1dcba089ea 100644 --- a/ports/kangaru/portfile.cmake +++ b/ports/kangaru/portfile.cmake @@ -1,17 +1,23 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO gracicot/kangaru - REF v4.3.0 - SHA512 7763d25eed203a033e0420abc0194531082223183ed9ec28d98f871e0dc619d28ec9053ff69b5bf54bac07bd99551f2dfaad9f29d51e8ebdd72d4929f9a8fb93 + REF v4.3.1 + SHA512 5c1c6081b266089ad4ef310f4782505db5c514adce87091dd8164a6da71fc7ef72c0992c32e9ec3c991aa7a2ca43f1d96f2f524c7198bf899876af214fea28f3 HEAD_REF master ) +vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS + FEATURES + hashtypeid KANGARU_HASH_TYPE_ID +) + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS -DKANGARU_EXPORT=OFF -DKANGARU_TEST=OFF -DKANGARU_REVERSE_DESTRUCTION=ON + ${FEATURE_OPTIONS} ) vcpkg_cmake_install() diff --git a/ports/kangaru/vcpkg.json b/ports/kangaru/vcpkg.json index 29b53eafc6a999..b0b2d4d02c4ced 100644 --- a/ports/kangaru/vcpkg.json +++ b/ports/kangaru/vcpkg.json @@ -1,6 +1,6 @@ { "name": "kangaru", - "version": "4.3.0", + "version": "4.3.1", "description": "A dependency injection container for C++11, C++14 and later", "homepage": "https://github.com/gracicot/kangaru", "license": "MIT", @@ -13,5 +13,10 @@ "name": "vcpkg-cmake-config", "host": true } - ] + ], + "features": { + "hashtypeid": { + "description": "Enable hash based type id" + } + } } diff --git a/versions/baseline.json b/versions/baseline.json index 29453cc9fb5b14..bcf5cd563ad15f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3205,7 +3205,7 @@ "port-version": 4 }, "kangaru": { - "baseline": "4.3.0", + "baseline": "4.3.1", "port-version": 0 }, "kcp": { diff --git a/versions/k-/kangaru.json b/versions/k-/kangaru.json index 81bf486ea0e7d0..8e22f10707e89e 100644 --- a/versions/k-/kangaru.json +++ b/versions/k-/kangaru.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "194f665c94fecadc626ab9431003eec963a6820d", + "version": "4.3.1", + "port-version": 0 + }, { "git-tree": "b6015882a3de991781c67d93b4c470aafcdd3e2b", "version": "4.3.0",