mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:28:59 +08:00
[libsrtp] Added openssl feature flag for enabling OpenSSL support (#36135)
* [libsrtp] Added openssl feature flag for enabling OpenSSL support * [libsrtp] Fixed JSON mixup * [libsrtp]: Format vcpkg.json * [libsrtp]: Update version database * [libsrtp] Update ports/libsrtp/portfile.cmake * Use vcpkg_check_features appropriately Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> * [libsrtp] Update version database * [libsrtp]: Added port-version, clean up whitespace * [libsrtp]: Updated version database * [libsrtp] Update versions/l-/libsrtp.json Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com> --------- Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
This commit is contained in:
parent
69a6cceca8
commit
75e0c3dc8f
@ -7,11 +7,17 @@ vcpkg_from_github(
|
||||
fix-runtime-destination.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
openssl ENABLE_OPENSSL
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
"-DCMAKE_PROJECT_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
|
||||
-DTEST_APPS=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libsrtp",
|
||||
"version": "2.5.0",
|
||||
"port-version": 1,
|
||||
"description": "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), the Universal Security Transform (UST), and a supporting cryptographic kernel.",
|
||||
"homepage": "https://github.com/cisco/libsrtp/",
|
||||
"license": "BSD-3-Clause",
|
||||
@ -13,5 +14,13 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"openssl": {
|
||||
"description": "Enable OpenSSL support",
|
||||
"dependencies": [
|
||||
"openssl"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4898,7 +4898,7 @@
|
||||
},
|
||||
"libsrtp": {
|
||||
"baseline": "2.5.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libssh": {
|
||||
"baseline": "0.10.5",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "15577c99d2d078770d2e07d2bc8cce770797adb8",
|
||||
"version": "2.5.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "27c325c9851b5c07e172e74e312e8070af7b9d0b",
|
||||
"version": "2.5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user