[clay] Add new port (#48864)

This commit is contained in:
myd7349
2025-12-16 07:18:57 +08:00
committed by GitHub
parent 0baafbb09b
commit 4b0c669ed9
4 changed files with 34 additions and 0 deletions

14
ports/clay/portfile.cmake Normal file
View File

@@ -0,0 +1,14 @@
# header-only library
set(VCPKG_BUILD_TYPE release)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nicbarker/clay
REF "v${VERSION}"
SHA512 f454940397653fbd845b05ad484405abf197c3063959fe7762d6bf94c94bc6e5046cedd2f80b52fc89cee4299567861c91b992539f9aa661b729a5a521719343
HEAD_REF main
)
file(COPY "${SOURCE_PATH}/clay.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")

7
ports/clay/vcpkg.json Normal file
View File

@@ -0,0 +1,7 @@
{
"name": "clay",
"version": "0.14",
"description": "High performance UI layout library in C",
"homepage": "https://www.nicbarker.com/clay",
"license": "Zlib"
}

View File

@@ -1776,6 +1776,10 @@
"baseline": "1.1.5",
"port-version": 2
},
"clay": {
"baseline": "0.14",
"port-version": 0
},
"clblas": {
"baseline": "2.12",
"port-version": 8

9
versions/c-/clay.json Normal file
View File

@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "912e9c2fc1539d94262f0d0bee546dd4c59a3454",
"version": "0.14",
"port-version": 0
}
]
}