From eb480556b6254f22baed4d92ac2e04d14c49e84f Mon Sep 17 00:00:00 2001 From: Kai Pastor Date: Sun, 1 Sep 2024 08:06:39 +0200 Subject: [PATCH] Revert "[hwinfo] add new port" (#40708) --- ports/hwinfo/portfile.cmake | 30 ------------------------------ ports/hwinfo/usage | 4 ---- ports/hwinfo/vcpkg.json | 17 ----------------- versions/baseline.json | 4 ---- versions/h-/hwinfo.json | 9 --------- 5 files changed, 64 deletions(-) delete mode 100644 ports/hwinfo/portfile.cmake delete mode 100644 ports/hwinfo/usage delete mode 100644 ports/hwinfo/vcpkg.json delete mode 100644 versions/h-/hwinfo.json diff --git a/ports/hwinfo/portfile.cmake b/ports/hwinfo/portfile.cmake deleted file mode 100644 index 9cecae7a13..0000000000 --- a/ports/hwinfo/portfile.cmake +++ /dev/null @@ -1,30 +0,0 @@ -vcpkg_from_github( - OUT_SOURCE_PATH SOURCE_PATH - REPO lfreist/hwinfo - REF 90829612dd4b67356fd643bd9ceee44b04dc8fde - SHA512 9f27c983d8e435c12455001cb7c2a535e9c7d94fec871a8b82d965d41f9a6e739fe4263bb18a66cf50fb826e505cbc0ff6a7c8408a3d74f783f56fefb88110cc - HEAD_REF main -) - -string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" HWINFO_BUILD_SHARED) -string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" HWINFO_BUILD_STATIC) - -vcpkg_cmake_configure( - SOURCE_PATH ${SOURCE_PATH} - OPTIONS - -DBUILD_EXAMPLES=OFF - -DBUILD_TESTING=OFF - -DHWINFO_SHARED=${HWINFO_BUILD_SHARED} - -DHWINFO_STATIC=${HWINFO_BUILD_STATIC} - ) -vcpkg_cmake_install() -vcpkg_cmake_config_fixup( - CONFIG_PATH "lib/cmake/hwinfo" -) -vcpkg_copy_pdbs() -vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share ) - -file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") - diff --git a/ports/hwinfo/usage b/ports/hwinfo/usage deleted file mode 100644 index 522cf58793..0000000000 --- a/ports/hwinfo/usage +++ /dev/null @@ -1,4 +0,0 @@ -hwinfo provides CMake targets : - find_package(hwinfo CONFIG REQUIRED) - target_link_libraries(main PRIVATE hwinfo::hwinfo) - diff --git a/ports/hwinfo/vcpkg.json b/ports/hwinfo/vcpkg.json deleted file mode 100644 index 26320376f4..0000000000 --- a/ports/hwinfo/vcpkg.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "hwinfo", - "version": "1", - "description": "hwinfo provides an easy-to-use and modern C++ API for retrieving hardware information of your systems components such as CPU, RAM, GPU, Disks, Mainboard, ...", - "homepage": "https://github.com/lfreist/hwinfo", - "supports": "!uwp", - "dependencies": [ - { - "name": "vcpkg-cmake", - "host": true - }, - { - "name": "vcpkg-cmake-config", - "host": true - } - ] -} diff --git a/versions/baseline.json b/versions/baseline.json index 405fced5f1..a7737baa0b 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3508,10 +3508,6 @@ "baseline": "1.7.2", "port-version": 1 }, - "hwinfo": { - "baseline": "1", - "port-version": 0 - }, "hwloc": { "baseline": "2.10.0", "port-version": 1 diff --git a/versions/h-/hwinfo.json b/versions/h-/hwinfo.json deleted file mode 100644 index eec68a64a4..0000000000 --- a/versions/h-/hwinfo.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "versions": [ - { - "git-tree": "a6d2e9185ff6fd053e1762dd85b20549ccaa324d", - "version": "1", - "port-version": 0 - } - ] -}