diff options
| author | eli <wbn@striated.space> | 2021-08-19 09:17:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-18 17:17:34 -0700 |
| commit | f0da48d233a260e40a65083cdcc5b6b1e9d02e29 (patch) | |
| tree | 5a953a568fc032484f8bb33f467cf0715cb1335e | |
| parent | bfc992771e2d1268546739d524a8d9bc4b67b967 (diff) | |
| download | vcpkg-f0da48d233a260e40a65083cdcc5b6b1e9d02e29.tar.gz vcpkg-f0da48d233a260e40a65083cdcc5b6b1e9d02e29.zip | |
[immer] update port (#19521)
* update immer port
* run `vcpkg x-add-version --all`
* Update ports/immer/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/immer/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/immer/portfile.cmake
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/immer/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/immer/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* Update ports/immer/vcpkg.json
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
* update verison
* delete versions
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
| -rw-r--r-- | ports/immer/CONTROL | 3 | ||||
| -rw-r--r-- | ports/immer/portfile.cmake | 27 | ||||
| -rw-r--r-- | ports/immer/vcpkg.json | 21 | ||||
| -rw-r--r-- | versions/baseline.json | 2 | ||||
| -rw-r--r-- | versions/i-/immer.json | 5 |
5 files changed, 44 insertions, 14 deletions
diff --git a/ports/immer/CONTROL b/ports/immer/CONTROL deleted file mode 100644 index f6f736b59..000000000 --- a/ports/immer/CONTROL +++ /dev/null @@ -1,3 +0,0 @@ -Source: immer
-Version: 2019-06-07
-Description: Postmodern immutable and persistent data structures for C++
diff --git a/ports/immer/portfile.cmake b/ports/immer/portfile.cmake index 10c1e6073..c6c2a0bb0 100644 --- a/ports/immer/portfile.cmake +++ b/ports/immer/portfile.cmake @@ -3,25 +3,32 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO arximboldi/immer
- REF fe1d5151f8e62a97a953664f8de39b05ac0d2031
- SHA512 2f78c2d85a24b2bcb69bbbf8b038c8bacb5a841e0f0ce7e4e521d369423c7d44f803a1c766a77d0955246a1b22476de15fa708a3786f05c41a3b705a574bbb71
+ REF a11df7243cb516a1aeffc83c31366d7259c79e82
+ SHA512 7aefa894d57167e8606ffd20c78490731885da610da084ffdc4ee677e40c7a3b4edcd0fbf74e354fc68866d09ec7a35a7c549f78ce91f2f1a84bb6ccc605e135
HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
+ FEATURES
+ "docs" immer_BUILD_DOCS
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DENABLE_PYTHON=OFF
-DENABLE_GUILE=OFF
-DENABLE_BOOST_COROUTINE=OFF
+ -Dimmer_BUILD_TESTS=OFF
+ -Dimmer_BUILD_EXAMPLES=OFF
+ -Dimmer_BUILD_EXTRAS=OFF
+ ${FEATURE_OPTIONS}
)
-vcpkg_install_cmake()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Immer)
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Immer)
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
# Handle copyright
-configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/ports/immer/vcpkg.json b/ports/immer/vcpkg.json new file mode 100644 index 000000000..c52c0f02c --- /dev/null +++ b/ports/immer/vcpkg.json @@ -0,0 +1,21 @@ +{ + "name": "immer", + "version-date": "2021-05-03", + "description": "Postmodern immutable and persistent data structures for C++", + "homepage": "https://sinusoid.es/immer/", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ], + "features": { + "docs": { + "description": "Build documentation" + } + } +} diff --git a/versions/baseline.json b/versions/baseline.json index c2c74e2af..dfa6f21d0 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2693,7 +2693,7 @@ "port-version": 0 }, "immer": { - "baseline": "2019-06-07", + "baseline": "2021-05-03", "port-version": 0 }, "implot": { diff --git a/versions/i-/immer.json b/versions/i-/immer.json index 5aa14d056..0ab115f21 100644 --- a/versions/i-/immer.json +++ b/versions/i-/immer.json @@ -1,6 +1,11 @@ { "versions": [ { + "git-tree": "0ee78459721140ead0ace0a031bbb9d28039b19e", + "version-date": "2021-05-03", + "port-version": 0 + }, + { "git-tree": "515103042c70e0f9cf8d1518816d09fc6110a669", "version-string": "2019-06-07", "port-version": 0 |
