[botan] add arm (#17509)

This commit is contained in:
Joakim L. Gilje 2021-04-28 22:51:03 +02:00 committed by GitHub
parent 7ab13e4d69
commit 05f715e6d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 11 deletions

View File

@ -1,8 +0,0 @@
Source: botan
Version: 2.16.0
Port-Version: 0
Homepage: https://botan.randombit.net
Description: A cryptography library written in C++11
Feature: amalgamation
Description: Do an amalgamation build of the library

View File

@ -42,6 +42,10 @@ if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86")
set(BOTAN_FLAG_CPU x86)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
set(BOTAN_FLAG_CPU x86_64)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm")
set(BOTAN_FLAG_CPU arm32)
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
set(BOTAN_FLAG_CPU arm64)
else()
message(FATAL_ERROR "Unsupported architecture")
endif()

13
ports/botan/vcpkg.json Normal file
View File

@ -0,0 +1,13 @@
{
"name": "botan",
"version": "2.16.0",
"port-version": 1,
"description": "A cryptography library written in C++11",
"homepage": "https://botan.randombit.net",
"supports": "!(windows & arm)",
"features": {
"amalgamation": {
"description": "Do an amalgamation build of the library"
}
}
}

View File

@ -62,8 +62,6 @@ blosc:x64-uwp=fail
bond:arm-uwp=fail
bond:x64-osx=fail
bond:x64-uwp=fail
botan:arm64-windows=fail
botan:arm-uwp=fail
botan:x64-uwp=fail
breakpad:arm64-windows=fail
bullet3:arm64-windows=fail

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "7776bdc54cb37a29c18701d4332e4537e6be357a",
"version": "2.16.0",
"port-version": 1
},
{
"git-tree": "cb5674c8a62b85d8862f3064b2797173df10950d",
"version-string": "2.16.0",

View File

@ -1014,7 +1014,7 @@
},
"botan": {
"baseline": "2.16.0",
"port-version": 0
"port-version": 1
},
"box2d": {
"baseline": "2.4.1",