diff options
| author | chausner <15180557+chausner@users.noreply.github.com> | 2021-09-29 17:38:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-29 08:38:00 -0700 |
| commit | 3566b81c04d0d2d58507fe04609c438d7a938a8a (patch) | |
| tree | 451c3acf0a7bba08080cdf8d2f340f3983580f49 /ports | |
| parent | a30a1ee743ae550c005214523948a39a25f3efad (diff) | |
| download | vcpkg-3566b81c04d0d2d58507fe04609c438d7a938a8a.tar.gz vcpkg-3566b81c04d0d2d58507fe04609c438d7a938a8a.zip | |
[indicators] Update to 2.2 (#20398)
* Update indicators to 2.2
* Update CI baseline
Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/indicators/portfile.cmake | 21 | ||||
| -rw-r--r-- | ports/indicators/vcpkg.json | 14 |
2 files changed, 23 insertions, 12 deletions
diff --git a/ports/indicators/portfile.cmake b/ports/indicators/portfile.cmake index c4a49c0cc..4a71032b7 100644 --- a/ports/indicators/portfile.cmake +++ b/ports/indicators/portfile.cmake @@ -3,25 +3,26 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO p-ranav/indicators
- REF b85eadb47c1d0f0edbb4da9c3b6384ec6486b24a # v2.0
- SHA512 e9674440fa8643284a593b9e93345dc849301f42fe644b485e5dad1e12a20ef6687a2bf1eaeb2aec542d74544b7193c9b76b0166d7570781bc11604c71e8132a
+ REF v2.2 + SHA512 7CED2D3C320D51C7E0569104744730C8E2F952350BCAE214A9781EB43EF4002C8314937DB78461351741FC4C3AEE7A1364582B1274991E95EB30006A5F2A7EF9 HEAD_REF master
)
-vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DINDICATORS_BUILD_TESTS=OFF
-DINDICATORS_SAMPLES=OFF
-DINDICATORS_DEMO=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/indicators)
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/indicators)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
+
+file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
+file(INSTALL "${SOURCE_PATH}/LICENSE.termcolor" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-file(INSTALL ${SOURCE_PATH}/LICENSE.termcolor DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
diff --git a/ports/indicators/vcpkg.json b/ports/indicators/vcpkg.json index 5cca6d4b3..80bf1bb01 100644 --- a/ports/indicators/vcpkg.json +++ b/ports/indicators/vcpkg.json @@ -1,6 +1,16 @@ { "name": "indicators", - "version": "2.0", + "version": "2.2", "description": "Activity indicators for modern C++", - "homepage": "https://github.com/p-ranav/indicators" + "homepage": "https://github.com/p-ranav/indicators", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } |
