aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libics
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/libics
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libics')
-rw-r--r--vcpkg/ports/libics/fix-integral-include.patch12
-rw-r--r--vcpkg/ports/libics/portfile.cmake21
-rw-r--r--vcpkg/ports/libics/vcpkg.json16
3 files changed, 49 insertions, 0 deletions
diff --git a/vcpkg/ports/libics/fix-integral-include.patch b/vcpkg/ports/libics/fix-integral-include.patch
new file mode 100644
index 0000000..4546dad
--- /dev/null
+++ b/vcpkg/ports/libics/fix-integral-include.patch
@@ -0,0 +1,12 @@
+diff --git a/support/cpp_interface/libics.hpp b/support/cpp_interface/libics.hpp
+index 73f76e6..4ea2b1e 100644
+--- a/support/cpp_interface/libics.hpp
++++ b/support/cpp_interface/libics.hpp
+@@ -40,6 +40,7 @@
+ #include <string>
+ #include <utility>
+ #include <vector>
++#include <cstdint>
+
+ #if defined(__WIN32__) && !defined(WIN32)
+ # define WIN32
diff --git a/vcpkg/ports/libics/portfile.cmake b/vcpkg/ports/libics/portfile.cmake
new file mode 100644
index 0000000..54be57d
--- /dev/null
+++ b/vcpkg/ports/libics/portfile.cmake
@@ -0,0 +1,21 @@
+vcpkg_from_github(
+ OUT_SOURCE_PATH SOURCE_PATH
+ REPO svi-opensource/libics
+ REF "${VERSION}"
+ SHA512 0eba280c1174cbd0e1fe6da1502345720793df2f3f6ec31fe0043d79a31d7b79cac5d7da726891faacedc91056e6337a3a694e50d0baafa08314a2867ff3e62f
+ HEAD_REF master
+ PATCHES fix-integral-include.patch
+)
+
+vcpkg_cmake_configure(
+ SOURCE_PATH "${SOURCE_PATH}"
+ DISABLE_PARALLEL_CONFIGURE
+)
+
+vcpkg_cmake_install()
+
+vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
+
+file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/debug/share")
+
+file(INSTALL "${SOURCE_PATH}/GNU_LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
diff --git a/vcpkg/ports/libics/vcpkg.json b/vcpkg/ports/libics/vcpkg.json
new file mode 100644
index 0000000..c70580f
--- /dev/null
+++ b/vcpkg/ports/libics/vcpkg.json
@@ -0,0 +1,16 @@
+{
+ "name": "libics",
+ "version": "1.6.8",
+ "description": "Reference library for ICS (Image Cytometry Standard), an open standard for writing images of any dimensionality and data type to file, together with associated information regarding the recording equipment or recorded subject.",
+ "homepage": "https://github.com/svi-opensource/libics",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ]
+}