Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[brunocodutra-metal] Update to 2.1.3 #20914

Merged
merged 2 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions ports/brunocodutra-metal/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
15 changes: 12 additions & 3 deletions ports/brunocodutra-metal/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
5 changes: 5 additions & 0 deletions versions/b-/brunocodutra-metal.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "54b5610e8e1541618650eec938a77148866716cc",
"version": "2.1.3",
"port-version": 0
},
{
"git-tree": "0fbaac9587c177beb827afa12d74cd40005cc20a",
"version-string": "2.1.1",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down