mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:09:07 +08:00
[infoware] update to latest commit (#18486)
* update infoware to latest commit * update deprecated functions * remove redundant file cleanup * add versioning
This commit is contained in:
parent
727b6d5859
commit
08214e18ee
@ -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")
|
||||
|
@ -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)."
|
||||
|
@ -2665,7 +2665,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"infoware": {
|
||||
"baseline": "0.6.0",
|
||||
"baseline": "2021-06-16",
|
||||
"port-version": 0
|
||||
},
|
||||
"inih": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9c278f55bb9b202c251c0414d877a4a238b57214",
|
||||
"version-date": "2021-06-16",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "ea6cdef830ceb71bfa0d850127931972603d5695",
|
||||
"version-string": "0.6.0",
|
||||
|
Loading…
Reference in New Issue
Block a user