From 62aab9d3d8af4e96868ef649ff6f43850a2633f9 Mon Sep 17 00:00:00 2001 From: Simon Kallweit Date: Thu, 22 Aug 2024 11:52:01 +0200 Subject: [PATCH] [tevclient] Add tevclient port (#40532) --- ports/tevclient/portfile.cmake | 22 ++++++++++++++++++++++ ports/tevclient/vcpkg.json | 17 +++++++++++++++++ versions/baseline.json | 4 ++++ versions/t-/tevclient.json | 9 +++++++++ 4 files changed, 52 insertions(+) create mode 100644 ports/tevclient/portfile.cmake create mode 100644 ports/tevclient/vcpkg.json create mode 100644 versions/t-/tevclient.json diff --git a/ports/tevclient/portfile.cmake b/ports/tevclient/portfile.cmake new file mode 100644 index 0000000000..1f2d7c6a5e --- /dev/null +++ b/ports/tevclient/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_check_linkage(ONLY_STATIC_LIBRARY) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO westlicht/tevclient + REF aae4d33472bcf23a5b66af27dcea7ca299b61976 + SHA512 e452b6b6cfbe7fc56e0f4794c8a4ecdd5695da2a8ae006ea02fed0a4c5a13a411042e66f6996a7e49b789a5ff86cdfb771cb55ba0a30465649ed1c4f5f7062c4 + HEAD_REF master +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" + ) + +vcpkg_cmake_install() +vcpkg_copy_pdbs() + +vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/tevclient) + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/tevclient/vcpkg.json b/ports/tevclient/vcpkg.json new file mode 100644 index 0000000000..4b56bcc885 --- /dev/null +++ b/ports/tevclient/vcpkg.json @@ -0,0 +1,17 @@ +{ + "name": "tevclient", + "version-date": "2023-12-04", + "description": "C++ client library for communicating to the tev image viewer", + "homepage": "https://github.com/westlicht/tevclient", + "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 0147c1cc0f..a10135a0d1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8744,6 +8744,10 @@ "baseline": "5.4.1", "port-version": 0 }, + "tevclient": { + "baseline": "2023-12-04", + "port-version": 0 + }, "tfhe": { "baseline": "1.0.1", "port-version": 5 diff --git a/versions/t-/tevclient.json b/versions/t-/tevclient.json new file mode 100644 index 0000000000..2cc40e4d11 --- /dev/null +++ b/versions/t-/tevclient.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "32031dafc991a94d4b1bca9b0ed22649785fa977", + "version-date": "2023-12-04", + "port-version": 0 + } + ] +}