mirror of https://github.com/microsoft/vcpkg.git
[icey] add icey port (#50915)
This commit is contained in:
parent
48ee41e567
commit
d3a1e8c161
|
|
@ -0,0 +1,39 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO nilstate/icey
|
||||
REF "2.4.2"
|
||||
SHA512 1b56b3c9f082d4d35f9150c75c1c23972c696f853f3f0627787f33882e07c44de843b3896dc4a54f04cefd20dd7b4a6f64a52c5cdabc11d98b5be57c17193dfb
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
ffmpeg WITH_FFMPEG
|
||||
opencv WITH_OPENCV
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DUSE_SYSTEM_DEPS=ON
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_SAMPLES=OFF
|
||||
-DBUILD_APPLICATIONS=OFF
|
||||
-DBUILD_FUZZERS=OFF
|
||||
-DBUILD_BENCHMARKS=OFF
|
||||
-DBUILD_ALPHA=OFF
|
||||
-DWITH_LIBDATACHANNEL=OFF
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE
|
||||
-DENABLE_NATIVE_ARCH=OFF
|
||||
${FEATURE_OPTIONS}
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/icey)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
"name": "icey",
|
||||
"version": "2.4.2",
|
||||
"maintainers": "0state OSS <oss@0state.com>",
|
||||
"description": "C++20 media stack and libwebrtc alternative for real-time video, signalling, TURN, and media servers",
|
||||
"homepage": "https://0state.com/icey/",
|
||||
"documentation": "https://0state.com/icey/docs",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
"dependencies": [
|
||||
"libuv",
|
||||
"llhttp",
|
||||
"minizip",
|
||||
"openssl",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
},
|
||||
"zlib"
|
||||
],
|
||||
"features": {
|
||||
"ffmpeg": {
|
||||
"description": "Enable FFmpeg-backed codecs and capture in icey::av",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "ffmpeg",
|
||||
"default-features": false,
|
||||
"features": [
|
||||
"avcodec",
|
||||
"avformat",
|
||||
"swresample",
|
||||
"swscale"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"opencv": {
|
||||
"description": "Enable OpenCV integration in icey::av",
|
||||
"dependencies": [
|
||||
"opencv"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3888,6 +3888,10 @@
|
|||
"baseline": "2.0.6",
|
||||
"port-version": 1
|
||||
},
|
||||
"icey": {
|
||||
"baseline": "2.4.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"icu": {
|
||||
"baseline": "78.2",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "df041864a584d605aae51c2b8f8cb6f1c3fda56e",
|
||||
"version": "2.4.2",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "2b455b0c5859c399e2b5241854302932060f82d1",
|
||||
"version": "2.4.0",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue