[open62541] add amalgamation feature (#16969)

* [open62541] add amalgamation features

* version stuff

* Update versions/baseline.json

* Update ports/open62541/vcpkg.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* update version file

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
Alexander Neumann 2021-03-31 20:58:31 +02:00 committed by GitHub
parent 8646c6587b
commit 87ae70da91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 35 additions and 15 deletions

View File

@ -1,14 +0,0 @@
Source: open62541
Version: 1.1.2
Homepage: https://open62541.org
Description: open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.
Supports: !uwp
Default-Features: openssl
Feature: openssl
Description: Enable encryption support (uses OpenSSL)
Build-Depends: openssl
Feature: mbedtls
Description: Enable encryption support (uses MbedTLS)
Build-Depends: mbedtls

View File

@ -11,6 +11,7 @@ vcpkg_from_github(
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
openssl UA_ENABLE_ENCRYPTION_OPENSSL
mbedtls UA_ENABLE_ENCRYPTION_MBEDTLS
amalgamation UA_ENABLE_AMALGAMATION
)
vcpkg_find_acquire_program(PYTHON3)

View File

@ -0,0 +1,28 @@
{
"name": "open62541",
"version": "1.1.2",
"port-version": 1,
"description": "open62541 is an open source C (C99) implementation of OPC UA licensed under the Mozilla Public License v2.0.",
"homepage": "https://open62541.org",
"supports": "!uwp",
"default-features": [
"openssl"
],
"features": {
"amalgamation": {
"description": "Concatenate the library to a single file open62541.h/.c"
},
"mbedtls": {
"description": "Enable encryption support (uses MbedTLS)",
"dependencies": [
"mbedtls"
]
},
"openssl": {
"description": "Enable encryption support (uses OpenSSL)",
"dependencies": [
"openssl"
]
}
}
}

View File

@ -4346,7 +4346,7 @@
},
"open62541": {
"baseline": "1.1.2",
"port-version": 0
"port-version": 1
},
"openal-soft": {
"baseline": "1.21.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "43c958ba9799820838fdf2332020ef83cacc4595",
"version": "1.1.2",
"port-version": 1
},
{
"git-tree": "3963c6ad1810891560f00a71c17f14ce53fe290e",
"version-string": "1.1.2",