[libbacktrace] new port (#16693)

* [libbacktrace] add new port

* add version files

* Update ports/libbacktrace/portfile.cmake: Apply suggestion

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* add version files

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
autoantwort 2021-03-17 23:04:33 +01:00 committed by GitHub
parent 9ab3bafca4
commit 9f6aaaccb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,19 @@
if(VCPKG_TARGET_IS_WINDOWS)
message("libbacktrace cannot be built using MSVC on Windows due to relying on the C++ unwind API https://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html")
endif()
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ianlancetaylor/libbacktrace
REF 4f57c999716847e45505b3df170150876b545088
SHA512 1df2c9d3c119a2ec7b8b8940bff7ba6d28fe99587f565066ae25c216021431d3c26c8b336c38dd0490165244c66d68f9cba20dfc7836042b62f9d588946be4b5
)
vcpkg_configure_make(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_install_make()
vcpkg_fixup_pkgconfig()
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -0,0 +1,6 @@
{
"name": "libbacktrace",
"version-date": "2021-03-14",
"description": "The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces.",
"homepage": "https://github.com/ianlancetaylor/libbacktrace"
}

View File

@ -544,6 +544,13 @@ leptonica:x64-uwp=fail
leptonica:arm-uwp=fail
leveldb:arm-uwp=fail
leveldb:x64-uwp=fail
libbacktrace:arm64-windows=fail
libbacktrace:arm-uwp=fail
libbacktrace:x64-uwp=fail
libbacktrace:x64-windows=fail
libbacktrace:x64-windows-static=fail
libbacktrace:x64-windows-static-md=fail
libbacktrace:x86-windows=fail
libaiff:x64-linux=fail
libarchive:arm-uwp=fail
libbf:arm64-windows=fail

View File

@ -2904,6 +2904,10 @@
"baseline": "0.98.1",
"port-version": 4
},
"libbacktrace": {
"baseline": "2021-03-14",
"port-version": 0
},
"libbf": {
"baseline": "1.0.0-1",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "8772967fbaa6b8840266c0d04a6daccc78b44c3d",
"version-date": "2021-03-14",
"port-version": 0
}
]
}