Skip to content

Commit

Permalink
[kangaru ] Update to version 4.3.1 (#26839)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gracicot and JonLiu1993 authored Sep 22, 2022
1 parent 889af66 commit e97f053
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 5 deletions.
10 changes: 8 additions & 2 deletions ports/kangaru/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
9 changes: 7 additions & 2 deletions ports/kangaru/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -13,5 +13,10 @@
"name": "vcpkg-cmake-config",
"host": true
}
]
],
"features": {
"hashtypeid": {
"description": "Enable hash based type id"
}
}
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3205,7 +3205,7 @@
"port-version": 4
},
"kangaru": {
"baseline": "4.3.0",
"baseline": "4.3.1",
"port-version": 0
},
"kcp": {
Expand Down
5 changes: 5 additions & 0 deletions versions/k-/kangaru.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "194f665c94fecadc626ab9431003eec963a6820d",
"version": "4.3.1",
"port-version": 0
},
{
"git-tree": "b6015882a3de991781c67d93b4c470aafcdd3e2b",
"version": "4.3.0",
Expand Down

0 comments on commit e97f053

Please sign in to comment.