aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/indicators
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/indicators
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/indicators')
-rw-r--r--vcpkg/ports/indicators/portfile.cmake26
-rw-r--r--vcpkg/ports/indicators/vcpkg.json16
2 files changed, 42 insertions, 0 deletions
diff --git a/vcpkg/ports/indicators/portfile.cmake b/vcpkg/ports/indicators/portfile.cmake
new file mode 100644
index 0000000..e0e1d46
--- /dev/null
+++ b/vcpkg/ports/indicators/portfile.cmake
@@ -0,0 +1,26 @@
+# header-only library
+
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO p-ranav/indicators
+ REF v2.3
+ SHA512 59FB17E93C886CEC2418E93E221FEBD2BF3160691B3473363417F8F8FA3D50D42D1DE0E55D62598EBA800B13C1D5AB1422D0A2C867246006B61340BA32D99232
+ HEAD_REF master
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ OPTIONS
+ -DINDICATORS_BUILD_TESTS=OFF
+ -DINDICATORS_SAMPLES=OFF
+ -DINDICATORS_DEMO=OFF
+)
+
+vcpkg_cmake_install()
+
+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}")
diff --git a/vcpkg/ports/indicators/vcpkg.json b/vcpkg/ports/indicators/vcpkg.json
new file mode 100644
index 0000000..c7b54b8
--- /dev/null
+++ b/vcpkg/ports/indicators/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "indicators",
+ "version": "2.3",
+ "description": "Activity indicators for modern C++",
+ "homepage": "https://github.com/p-ranav/indicators",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}