aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorRyan <ryan__mckenzie@hotmail.com>2021-06-18 11:06:31 -0700
committerGitHub <noreply@github.com>2021-06-18 11:06:31 -0700
commit08214e18eeb146542944067c35d77faca8962be5 (patch)
tree8c8d6e2e89ae1e1d61c285f780a6f9a144a228bc /ports
parent727b6d58597605a2b9bcf292ca4362625fc51ac2 (diff)
downloadvcpkg-08214e18eeb146542944067c35d77faca8962be5.tar.gz
vcpkg-08214e18eeb146542944067c35d77faca8962be5.zip
[infoware] update to latest commit (#18486)
* update infoware to latest commit * update deprecated functions * remove redundant file cleanup * add versioning
Diffstat (limited to 'ports')
-rw-r--r--ports/infoware/portfile.cmake21
-rw-r--r--ports/infoware/vcpkg.json12
2 files changed, 21 insertions, 12 deletions
diff --git a/ports/infoware/portfile.cmake b/ports/infoware/portfile.cmake
index 670259003..e8b0703a8 100644
--- a/ports/infoware/portfile.cmake
+++ b/ports/infoware/portfile.cmake
@@ -3,26 +3,26 @@ vcpkg_fail_port_install(ON_ARCH "arm" ON_TARGET "uwp")
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ThePhD/infoware
- REF v0.6.0
- SHA512 38be9e375508c7fdee4be3540d80c95bf14dbef68c7880d3dc98de3128b43680c18ceb09fb0da33b6d31064d8cdbf0672671d6b4be4f0a4208a0b99d0224bd2e
+ REF 50cb0982aceb32c8eb57aa6bc5011aced2c379df
+ SHA512 fe8182998a9e9dbed3dc3985a1161da11b340562628a71da8840aa4d4c56382ddc3ddef3d094e5d9c7c06481a2076dcff7fdb561bd169dd9d1849da4b4c6a064
HEAD_REF master
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
- x11 INFOWARE_USE_X11
- d3d INFOWARE_USE_D3D
- opencl INFOWARE_USE_OPENCL
- opengl INFOWARE_USE_OPENGL
+ FEATURES
+ x11 INFOWARE_USE_X11
+ d3d INFOWARE_USE_D3D
+ opencl INFOWARE_USE_OPENCL
+ opengl INFOWARE_USE_OPENGL
)
# git must be injected, because vcpkg isolates the build
# from the environment entirely to have reproducible builds
vcpkg_find_acquire_program(GIT)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
OPTIONS
${FEATURE_OPTIONS}
-DINFOWARE_EXAMPLES=OFF
@@ -31,9 +31,8 @@ vcpkg_configure_cmake(
-DGIT_FOUND=true
)
-vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets()
+vcpkg_cmake_install()
+vcpkg_cmake_config_fixup()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
diff --git a/ports/infoware/vcpkg.json b/ports/infoware/vcpkg.json
index 14c93e7f6..7b3956395 100644
--- a/ports/infoware/vcpkg.json
+++ b/ports/infoware/vcpkg.json
@@ -1,10 +1,20 @@
{
"$reason": "Note that independent usage and testing may work, but it seems to fail in CI environments for potential cross-compilation, and is thusly noted here to note break how vcpkg builds things!",
"name": "infoware",
- "version-string": "0.6.0",
+ "version-date": "2021-06-16",
"description": "C++ Library for pulling system and hardware information, without hitting the command line.",
"homepage": "https://github.com/ThePhD/infoware",
"supports": "!(arm | uwp)",
+ "dependencies": [
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
+ ],
"features": {
"d3d": {
"description": "Prefer usage of Direct3D to find graphical capabilities (typically only works on Windows systems)."