early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

36
externals/vcpkg/ports/infoware/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,36 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ThePhD/infoware
REF 50cb0982aceb32c8eb57aa6bc5011aced2c379df
SHA512 fe8182998a9e9dbed3dc3985a1161da11b340562628a71da8840aa4d4c56382ddc3ddef3d094e5d9c7c06481a2076dcff7fdb561bd169dd9d1849da4b4c6a064
HEAD_REF master
)
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
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_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
${FEATURE_OPTIONS}
-DINFOWARE_EXAMPLES=OFF
-DINFOWARE_TESTS=OFF
-DGIT_EXECUTABLE=${GIT}
-DGIT_FOUND=true
)
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")

33
externals/vcpkg/ports/infoware/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,33 @@
{
"$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-date": "2021-06-16",
"port-version": 1,
"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)."
},
"opencl": {
"description": "Prefer usage of OpenCL to find graphical capabilities of the system."
},
"opengl": {
"description": "Prefer usage of OpenGL to find graphical capabilities (may require additional libraries to be available for linking depending on the system)."
},
"x11": {
"description": "Prefer usage of X11 to find graphical capabilities."
}
}
}