From b4f974ab7230eaf3884c33ed58e6e5a85addb129 Mon Sep 17 00:00:00 2001 From: chausner <15180557+chausner@users.noreply.github.com> Date: Fri, 27 Jan 2023 04:11:49 +0100 Subject: [PATCH] [hffix] Update to 1.2.1 (#29180) * Update hffix to 1.2.1 * Update CI baseline Co-authored-by: chausner --- ports/hffix/portfile.cmake | 21 ++++++++++----------- ports/hffix/vcpkg.json | 16 +++++++++++++--- versions/baseline.json | 4 ++-- versions/h-/hffix.json | 5 +++++ 4 files changed, 30 insertions(+), 16 deletions(-) diff --git a/ports/hffix/portfile.cmake b/ports/hffix/portfile.cmake index 6a421d731d..05a4a9a244 100644 --- a/ports/hffix/portfile.cmake +++ b/ports/hffix/portfile.cmake @@ -3,21 +3,20 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO jamesdbrock/hffix - REF v1.0.0 - SHA512 0043b789e6ffdc32eaf2736a8621dd7fd54e1a16aae33bb1d5f642da1b04d150ed42d8f9ddd046013242164854d9091540452153f09459d05f9bf4a186c7b860 + REF v1.2.1 + SHA512 81947d5b2fbc2818b6ae7274febece8a813a67afc4a605bd92a1d7cb5df4e19e5df73a1a597c27898134fab1a0cc7c672d2dcba7688bab24184469b0760be06f HEAD_REF master ) -file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH}) +file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}") -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" ) -vcpkg_install_cmake() -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT}) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/hffix") -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) \ No newline at end of file diff --git a/ports/hffix/vcpkg.json b/ports/hffix/vcpkg.json index 64e8946e96..bc08b8e066 100644 --- a/ports/hffix/vcpkg.json +++ b/ports/hffix/vcpkg.json @@ -1,7 +1,17 @@ { "name": "hffix", - "version-string": "1.0.0", - "port-version": 1, + "version": "1.2.1", "description": "Financial Information Exchange Protocol C++ Library", - "homepage": "https://jamesdbrock.github.io/hffix" + "homepage": "https://jamesdbrock.github.io/hffix", + "license": "BSD-2-Clause", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index be3202794f..ab43ab4c50 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2953,8 +2953,8 @@ "port-version": 0 }, "hffix": { - "baseline": "1.0.0", - "port-version": 1 + "baseline": "1.2.1", + "port-version": 0 }, "hfsm2": { "baseline": "1.10.1", diff --git a/versions/h-/hffix.json b/versions/h-/hffix.json index 0f10d1695d..0b6f095fbe 100644 --- a/versions/h-/hffix.json +++ b/versions/h-/hffix.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "ae376d1e63858194fc64a2c32221d273d0e2d953", + "version": "1.2.1", + "port-version": 0 + }, { "git-tree": "75af034fee768fa49b06ad4b37a65374782e1033", "version-string": "1.0.0",