[micro-gl] Add a new port (#39353)

This commit is contained in:
Diamond Rivero 2024-06-19 04:13:05 +08:00 committed by GitHub
parent 9e80334e7c
commit f785ae656a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,17 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO micro-gl/micro-gl
REF 1c1dafeccb1b92467d3fd82de00e022a318c8ce8
SHA512 57dd6d8bd633a79d5837c70572547e090c87bbec3e5e0d4f2914f0af11d683b200a452568a78964a3eaa271a6d316863a9a5f2a5f79ae7649e279904ec950962
HEAD_REF master
)
vcpkg_replace_string("${SOURCE_PATH}/CMakeLists.txt" "add_subdirectory(examples)" "")
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(PACKAGE_NAME microgl CONFIG_PATH "share/microgl/cmake")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.MD")

17
ports/micro-gl/vcpkg.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "micro-gl",
"version-date": "2024-06-18",
"description": "Fast, Super Slim, Embeddable, Headers only C++11 vector graphics library, that can run on any 32/64 bits computer without FPU or GPU. No standard library required.",
"homepage": "https://micro-gl.github.io/docs/microgl",
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -5736,6 +5736,10 @@
"baseline": "1.0.1",
"port-version": 0
},
"micro-gl": {
"baseline": "2024-06-18",
"port-version": 0
},
"microsoft-signalr": {
"baseline": "0.1.0-alpha4",
"port-version": 8

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "f9888333a0c74adb95e624e769af095d29a5e18c",
"version-date": "2024-06-18",
"port-version": 0
}
]
}