[frozen] Update to latest commit (#17451)

* convert control file

* update frozen to latest commit

* cleanup redundancies

* cleanup deprecated functions

* disable tests

* add version
This commit is contained in:
Ryan 2021-04-29 08:03:59 -07:00 committed by GitHub
parent 0731c19566
commit c6f863b236
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 13 deletions

View File

@ -1,4 +0,0 @@
Source: frozen
Version: 1.0.0
Description: Header-only library that provides 0 cost initialization for immutable containers and various algorithms. Frozen provides:immutable (a.k.a. frozen), constexpr-compatible versions of std::set, std::unordered_set, std::map and std::unordered_map and 0-cost initialization version of std::search for frozen needles using Boyer-Moore or Knuth-Morris-Pratt algorithms.
Homepage: https://github.com/serge-sans-paille/frozen

View File

@ -1,22 +1,23 @@
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO serge-sans-paille/frozen REPO serge-sans-paille/frozen
REF b5735474fdaa28753c1dae515df5a4fdb45d94dd REF 867b33916044ced463ed42874b2aa1514ef66bec
SHA512 b175a03b4a0263937e176675558e2df0bd4174799e2c5d7138842235fa24be57bccd8b96fddb5791e055b9de44211063f195142de73acf9d4f52a9a37f7055cc SHA512 0cace261bf6068a382dc7c2d2b1c7d50de882e966adcdaaee7c358cc2e55b736d41c6ce2cefb30c231f550e4576cfdc5b2a10379a8affa084f1eb9202db7200e
HEAD_REF master HEAD_REF master
) )
vcpkg_configure_cmake( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS OPTIONS
-DBUILD_TESTING=OFF -Dfrozen.benchmark=OFF
-Dfrozen.coverage=OFF
-Dfrozen.installation=ON
-Dfrozen.tests=OFF -Dfrozen.tests=OFF
) )
vcpkg_install_cmake() vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/frozen TARGET_PATH share/frozen) vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/frozen)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib ${CURRENT_PACKAGES_DIR}/debug) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

16
ports/frozen/vcpkg.json Normal file
View File

@ -0,0 +1,16 @@
{
"name": "frozen",
"version-date": "2021-04-22",
"description": "Header-only library that provides 0 cost initialization for immutable containers and various algorithms. Frozen provides:immutable (a.k.a. frozen), constexpr-compatible versions of std::set, std::unordered_set, std::map and std::unordered_map and 0-cost initialization version of std::search for frozen needles using Boyer-Moore or Knuth-Morris-Pratt algorithms.",
"homepage": "https://github.com/serge-sans-paille/frozen",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -2093,7 +2093,7 @@
"port-version": 2 "port-version": 2
}, },
"frozen": { "frozen": {
"baseline": "1.0.0", "baseline": "2021-04-22",
"port-version": 0 "port-version": 0
}, },
"frugally-deep": { "frugally-deep": {

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "938d0ffeb689db9642ac49d16d7e7a22d3be93ab",
"version-date": "2021-04-22",
"port-version": 0
},
{ {
"git-tree": "db2f839a9c1bfea5b1916b1dffab205ea64144b4", "git-tree": "db2f839a9c1bfea5b1916b1dffab205ea64144b4",
"version-string": "1.0.0", "version-string": "1.0.0",