[libsrtp] Update to 2.5.0 and remove old patch (#33308)

* [libsrtp] Update to 2.5.0 and remove old patch

* update version
This commit is contained in:
Lily Wang 2023-08-23 21:40:57 -07:00 committed by GitHub
parent f8c8cf6350
commit c0efe07140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 19 deletions

View File

@ -1,16 +1,9 @@
vcpkg_download_distfile(CMAKE_PR_PATCH
URLS https://patch-diff.githubusercontent.com/raw/cisco/libsrtp/pull/573.diff
FILENAME libsrtp-pr-573.patch
SHA512 58c07977ccbd3dce114f59583a5e10813bbee907af5ef23ec1961b4cfd0791c14326845a376470430978e878c78fb1f598851898a9e9031225628739fb248176
)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cisco/libsrtp
REF v2.4.2
SHA512 6E4805E6D34B2050A6F68F629B0B42356B1D27F2CBAA6CC6166E56957609C3D9AA6B723DCC674E5C74180D122D27BADD2F9496639CCB1E0C210B9E1F7949D0E2
PATCHES
${CMAKE_PR_PATCH}
REF "v${VERSION}"
SHA512 bd679ab65ccf22ca30fe867b9649a0b84cfa6fad6e22eb10f081141632f6dd56479a04d525b865f11fd46007303ca211065d9c170e4820d6ea7055403702340a
PATCHES
fix-runtime-destination.patch
)
@ -18,14 +11,13 @@ vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
"-DCMAKE_PROJECT_INCLUDE=${CMAKE_CURRENT_LIST_DIR}/cmake-project-include.cmake"
-DTEST_APPS=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
CONFIG_PATH lib/cmake/libSRTP
)
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libSRTP)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libsrtp" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,10 +1,9 @@
{
"name": "libsrtp",
"version": "2.4.2",
"port-version": 3,
"version": "2.5.0",
"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": null,
"license": "BSD-3-Clause",
"dependencies": [
{
"name": "vcpkg-cmake",

View File

@ -4649,8 +4649,8 @@
"port-version": 3
},
"libsrtp": {
"baseline": "2.4.2",
"port-version": 3
"baseline": "2.5.0",
"port-version": 0
},
"libssh": {
"baseline": "0.10.5",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "27c325c9851b5c07e172e74e312e8070af7b9d0b",
"version": "2.5.0",
"port-version": 0
},
{
"git-tree": "d66d808ef040f2802ffa00ec6c4728d5603e76f9",
"version": "2.4.2",