зеркало из https://github.com/microsoft/vcpkg.git
[libsrt] Update to 1.5.0 (#26219)
* [libsrt] Update port to 1.5.0 * Remove unnecessary port-version and ci.baseline.txt entries. Co-authored-by: Billy O'Neal <bion@microsoft.com>
This commit is contained in:
Родитель
82da19b369
Коммит
30619e717a
|
@ -1,19 +1,14 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Haivision/srt
|
||||
REF v1.4.4
|
||||
SHA512 0D51E0EF73F4AA7EB284288CDBBD75B1C161969C2C2FED3A6D4E13A931341CA41DFCF2D6C1B9728F72B43454A9FDE3764DA67A27AF9F0C99A6818682E4F4D4BA
|
||||
REF v1.5.0
|
||||
SHA512 68ab5fe316cfbbbba31b5b2354f657e23c90e14674f8dac01df2bf98c4776a7fafcd690a4dfad3a340e6be577a22360ca04ef2397c8a0dd507adebdd54dc22fb
|
||||
HEAD_REF master
|
||||
PATCHES fix-dependency-install.patch
|
||||
)
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
set(BUILD_DYNAMIC ON)
|
||||
set(BUILD_STATIC OFF)
|
||||
else()
|
||||
set(BUILD_DYNAMIC OFF)
|
||||
set(BUILD_STATIC ON)
|
||||
endif()
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KEYSTONE_BUILD_STATIC)
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" KEYSTONE_BUILD_SHARED)
|
||||
|
||||
vcpkg_check_features(
|
||||
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
@ -24,8 +19,9 @@ vcpkg_check_features(
|
|||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS ${FEATURE_OPTIONS}
|
||||
-DENABLE_SHARED=${BUILD_DYNAMIC}
|
||||
-DENABLE_STATIC=${BUILD_STATIC}
|
||||
-DENABLE_CXX11=ON
|
||||
-DENABLE_SHARED=${KEYSTONE_BUILD_STATIC}
|
||||
-DENABLE_STATIC=${KEYSTONE_BUILD_SHARED}
|
||||
-DENABLE_UNITTESTS=OFF
|
||||
-DUSE_OPENSSL_PC=OFF
|
||||
)
|
||||
|
@ -36,4 +32,8 @@ vcpkg_fixup_pkgconfig()
|
|||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
|
|
@ -1,15 +1,19 @@
|
|||
{
|
||||
"name": "libsrt",
|
||||
"version": "1.4.4",
|
||||
"port-version": 2,
|
||||
"version": "1.5.0",
|
||||
"description": "Secure Reliable Transport (SRT) is an open source transport technology that optimizes streaming performance across unpredictable networks, such as the Internet.",
|
||||
"homepage": "https://github.com/Haivision/srt",
|
||||
"license": "MPL-2.0",
|
||||
"supports": "!uwp",
|
||||
"dependencies": [
|
||||
"openssl",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
],
|
||||
"features": {
|
||||
|
|
|
@ -515,8 +515,6 @@ libsoundio:arm-uwp=fail
|
|||
libsoundio:x64-uwp=fail
|
||||
libspatialite:arm-uwp=fail
|
||||
libspatialite:x64-uwp=fail
|
||||
libsrt:arm-uwp=fail
|
||||
libsrt:x64-uwp=fail
|
||||
libssh:arm64-windows=fail
|
||||
libssh:arm-uwp=fail
|
||||
libssh:x64-uwp=fail
|
||||
|
|
|
@ -4117,8 +4117,8 @@
|
|||
"port-version": 11
|
||||
},
|
||||
"libsrt": {
|
||||
"baseline": "1.4.4",
|
||||
"port-version": 2
|
||||
"baseline": "1.5.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libsrtp": {
|
||||
"baseline": "2.4.2",
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "eb7fad3230d33ce43f4e008d3ec92cb286fe01e5",
|
||||
"version": "1.5.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "bec354df76b0c680977252a11a9e88b1ae6818b9",
|
||||
"version": "1.4.4",
|
||||
|
|
Загрузка…
Ссылка в новой задаче