[gul14] Add new port (#25755)

* [gul14] Add new port

* [gul14] Mark UWP builds as expected to fail

* Remove baseline

Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
Lars Fröhlich 2022-07-15 21:16:00 +02:00 committed by GitHub
parent 62763f276b
commit fd69fb2964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,24 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO gul-cpp/gul14
REF a6d5612f8074f7defd08de1245fb81ca9866223b # v2.6 as first moved to GitHub
SHA512 4b384252bf5c2fe317d4173bacc59ddc85ebe2fe104909aaf43f537a68879a69f1a271e84b9eed5c79fb1b1c351f744268e542c60c5cb5dace5cd8d1cd663408
HEAD_REF main
)
vcpkg_configure_meson(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_install_meson()
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
# Install copyright file
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")

19
ports/gul14/vcpkg.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "gul14",
"version": "2.6",
"description": [
"General Utility Library for C++14.",
"GUL14 contains often-used utility functions and types that form the foundation for other libraries and programs.",
"It provides basic functionality that is not available in the C++14 standard library, including some backports from later versions of the standard."
],
"homepage": "https://github.desy.de/gul-cpp/gul14.git",
"documentation": "https://winweb.desy.de/mcs/docs/gul/index.html",
"license": "LGPL-2.1-or-later",
"supports": "!uwp",
"dependencies": [
{
"name": "vcpkg-tool-meson",
"host": true
}
]
}

View File

@ -2744,6 +2744,10 @@
"baseline": "2022-05-05",
"port-version": 0
},
"gul14": {
"baseline": "2.6",
"port-version": 0
},
"gumbo": {
"baseline": "0.10.1",
"port-version": 5

9
versions/g-/gul14.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "7985ecf5f6874b9cf594d43d403820294529d0d3",
"version": "2.6",
"port-version": 0
}
]
}