From daddf61956672e7b1ee3bf78409e3dea83a1fb73 Mon Sep 17 00:00:00 2001 From: chausner <15180557+chausner@users.noreply.github.com> Date: Fri, 22 Oct 2021 07:34:37 +0200 Subject: [PATCH] [brunocodutra-metal] Update to 2.1.3 (#20914) * Update brunocodutra-metal to 2.1.3 * Update CI baseline Co-authored-by: chausner --- ports/brunocodutra-metal/portfile.cmake | 20 +++++++++----------- ports/brunocodutra-metal/vcpkg.json | 15 ++++++++++++--- versions/b-/brunocodutra-metal.json | 5 +++++ versions/baseline.json | 4 ++-- 4 files changed, 28 insertions(+), 16 deletions(-) diff --git a/ports/brunocodutra-metal/portfile.cmake b/ports/brunocodutra-metal/portfile.cmake index 92aa6d2044..8e43dca25a 100644 --- a/ports/brunocodutra-metal/portfile.cmake +++ b/ports/brunocodutra-metal/portfile.cmake @@ -3,24 +3,22 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO brunocodutra/metal - REF 43256d2c7f5715d9dc029037bcd8512624ec7865 # v2.1.1 - SHA512 fc69e60b9c21d0215ca2c9ec27ab65d59115397e1d27c90fcdc35ccf8675546b1fbc3be0e6b8f69cd8eb848bac348ca0fe116f50a36ce8d1cbff0d646c4f05cb + REF 2.1.3 + SHA512 7a71f8bdbdb8a19084d0cabd4c78a4f2990514f2da56312aec8dfac02f6781c95f28bc33815ecbb3d9e3e8d2b47cc5dbcd4917751195a8318bea7c08fca29b23 HEAD_REF master ) -vcpkg_configure_cmake( - SOURCE_PATH ${SOURCE_PATH} - PREFER_NINJA +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" ) -vcpkg_install_cmake() +vcpkg_cmake_install() -vcpkg_fixup_cmake_targets( +vcpkg_cmake_config_fixup( + PACKAGE_NAME Metal CONFIG_PATH lib/cmake/Metal - TARGET_PATH share/metal ) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib) +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib") -# Handle copyright -configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/brunocodutra-metal/vcpkg.json b/ports/brunocodutra-metal/vcpkg.json index a4934eb543..b2d73955d6 100644 --- a/ports/brunocodutra-metal/vcpkg.json +++ b/ports/brunocodutra-metal/vcpkg.json @@ -1,6 +1,15 @@ { "name": "brunocodutra-metal", - "version-string": "2.1.1", - "port-version": 1, - "description": "A single header C++11 library designed to make you love template metaprogramming" + "version": "2.1.3", + "description": "A single header C++11 library designed to make you love template metaprogramming", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/b-/brunocodutra-metal.json b/versions/b-/brunocodutra-metal.json index 8a1c75580c..49c93e2f2f 100644 --- a/versions/b-/brunocodutra-metal.json +++ b/versions/b-/brunocodutra-metal.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "54b5610e8e1541618650eec938a77148866716cc", + "version": "2.1.3", + "port-version": 0 + }, { "git-tree": "0fbaac9587c177beb827afa12d74cd40005cc20a", "version-string": "2.1.1", diff --git a/versions/baseline.json b/versions/baseline.json index 9538fea24c..1b69af3161 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1141,8 +1141,8 @@ "port-version": 2 }, "brunocodutra-metal": { - "baseline": "2.1.1", - "port-version": 1 + "baseline": "2.1.3", + "port-version": 0 }, "brynet": { "baseline": "1.11.0",