Avoid optional dependencies in zlmediakit. (#37961)

This commit is contained in:
Billy O'Neal 2024-04-04 11:55:22 -07:00 committed by GitHub
parent 25b12ce9a1
commit 13766fcd12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 1 deletions

View File

@ -37,12 +37,14 @@ string(COMPARE EQUAL "${VCPKG_CRT_LINKAGE}" static ZLMEDIAKIT_CRT_STATIC)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
openssl ENABLE_OPENSSL
openssl CMAKE_REQUIRE_FIND_PACKAGE_OpenSSL
mp4 ENABLE_MP4
mp4 ENABLE_RTPPROXY
mp4 ENABLE_HLS
sctp ENABLE_SCTP
webrtc ENABLE_WEBRTC
INVERTED_FEATURES
openssl CMAKE_DISABLE_FIND_PACKAGE_OpenSSL
)
vcpkg_cmake_configure(
@ -67,6 +69,9 @@ vcpkg_cmake_configure(
-DUSE_SOLUTION_FOLDERS=ON
-DENABLE_TESTS=OFF
-DENABLE_MEM_DEBUG=OFF # only valid on Linux
-DCMAKE_DISABLE_FIND_PACKAGE_GIT=ON
-DCMAKE_DISABLE_FIND_PACKAGE_JEMALLOC=ON
-DCMAKE_DISABLE_FIND_PACKAGE_SDL2=ON
${FEATURE_OPTIONS}
)

View File

@ -1,6 +1,7 @@
{
"name": "zlmediakit",
"version-date": "2024-03-30",
"port-version": 1,
"description": "A high-performance carrier-grade streaming media service framework based on C++11.",
"homepage": "https://github.com/ZLMediaKit/ZLMediaKit",
"license": "MIT",

View File

@ -9602,7 +9602,7 @@
},
"zlmediakit": {
"baseline": "2024-03-30",
"port-version": 0
"port-version": 1
},
"zoe": {
"baseline": "3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f84ad2056d32e9ea7bdc07160784c2458c12e15d",
"version-date": "2024-03-30",
"port-version": 1
},
{
"git-tree": "1af9543148c012a8e58061be6e613dc28f38d0d5",
"version-date": "2024-03-30",