Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from microsoft-master #1759

Merged
merged 23 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
17ae26d
[jigson] New port (#40913)
JoshuaSledden Sep 16, 2024
50c08d3
[libheif] Update to 1.18.2 (#40937)
WangWeiLin-MV Sep 16, 2024
a82a798
[mp-units] update to 2.2.1 (#40951)
jiayuehua Sep 16, 2024
4d61638
[libphonenumber] update to 8.13.45 (#40952)
jiayuehua Sep 16, 2024
a59671f
[gstreamer] update to 1.24.7 (#40955)
jimwang118 Sep 16, 2024
d8bae13
[cpptrace] Add 0.7.1 (#40960)
jeremy-rifkin Sep 16, 2024
8a3baf8
[libassert] Add 2.1.1 (#40961)
jeremy-rifkin Sep 16, 2024
ab8ce70
[Thorvg] update v0.14.10 (#40963)
rinechran Sep 16, 2024
45baa07
[libjxl] Update to v0.11.0 (#40971)
LucasChollet Sep 16, 2024
d09d531
[wolfssl] Add 'asio' feature flag (#40967)
MattiRegenhardt Sep 16, 2024
9e81ecc
[buck-yeh-bux] Update to 1.8.0 (#41005)
buck-yeh Sep 16, 2024
d8613d0
[libarchive] Update to 3.7.5 (#40998)
mostynb Sep 16, 2024
98988c2
[x86-simd-sort] update to 5.0 (#40994)
c8ef Sep 16, 2024
14c621f
[simsimd] update to 5.2.1 (#40993)
c8ef Sep 16, 2024
20d1b77
[libjpeg-turbo] Update to 3.0.4 (#40991)
saucecontrol Sep 16, 2024
e44bf6a
[pybind11] update to 2.13.6 (#40983)
miyanyan Sep 16, 2024
292af39
[fast-float] update to 6.1.6 (#40976)
jiayuehua Sep 16, 2024
fe4edb8
[cpp-httplib] update to 0.18.0 (#40974)
jiayuehua Sep 16, 2024
aa526e8
[simdutf] update to 5.5.0 (#40973)
jiayuehua Sep 16, 2024
219c00e
[bgfx] Update to 1.128.8786-481 (#40985)
zby-c Sep 16, 2024
586674a
[Onnxruntime-gpu] update v1.19.2 (#40962)
rinechran Sep 16, 2024
b6fbec7
[yara] Update yara to version 4.5.2 (#41008)
swannman Sep 16, 2024
efb544d
Patch Tuesday for September 2024 (#40921)
BillyONeal Sep 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/bgfx/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ vcpkg_download_distfile(
ARCHIVE_FILE
URLS https://github.com/bkaradzic/bgfx.cmake/releases/download/v${VERSION}/bgfx.cmake.v${VERSION}.tar.gz
FILENAME bgfx.cmake.v${VERSION}.tar.gz
SHA512 23e334deed4ca6429c474b3b12b250ee1c660b524a05c6c9699c353509e51adcf8cbee9974313ae8c8e1a36891404f50c5be7673de4194a31fe37093548b4652
SHA512 227caf8b7cee5fe84c078a473c25e636e3cb32ae4b252cdb193f0cef069cfc32f9eb6ef52f96d5e547a3bd20360e5f09147c0c8ba5f3b20541a0082171fda076
)

vcpkg_extract_source_archive(
Expand Down
2 changes: 1 addition & 1 deletion ports/bgfx/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bgfx",
"version": "1.128.8786-480",
"version": "1.128.8786-481",
"maintainers": "Sandy Carter <bwrsandman@users.noreply.github.com>",
"description": "Cross-platform, graphics API agnostic, Bring Your Own Engine/Framework style rendering library.",
"homepage": "https://bkaradzic.github.io/bgfx/overview.html",
Expand Down
2 changes: 1 addition & 1 deletion ports/buck-yeh-bux/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO buck-yeh/bux
REF "${VERSION}"
SHA512 4ef6578d16f96bfaa96f85a0deda69e7d766b263972fa5f2a894902dc8d8db930f9169e0c36146e7ac69a2f3655e8dbf2108e7187440866bcace2c90cb3bcbfe
SHA512 e91ab0e53b8af5b6548a368f7c3259eb6b368d895df6554b090a92aaf52cab7b26ed2a6e740ebd88029994cd91aa723648fa43b62a56ad69629186e723d80510
HEAD_REF main
)

Expand Down
2 changes: 1 addition & 1 deletion ports/buck-yeh-bux/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "buck-yeh-bux",
"version": "1.7.0",
"version": "1.8.0",
"description": "A supplemental C++ library with functionalities not directly supported from Modern C++ standard.",
"homepage": "https://github.com/buck-yeh/bux",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion ports/cpp-httplib/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO yhirose/cpp-httplib
REF "v${VERSION}"
SHA512 b4c29ba7d4b832722cda01a03c8ba8c2a318afaaf7dbf5cde9aa21d0626070e61e3c39f547c8068ca7da076a96e6a0da526b80c75e33944a51665879ff45f2c7
SHA512 35ff903d51fee5428d7a95a0406460f8a18d1b5653f6ec8f353d7a2f1084598e599b24d0401f7214d5ee8d9764c74a4e617fff55acd4e6733ab1b9f2d7d4403c
HEAD_REF master
PATCHES
fix-find-brotli.patch
Expand Down
2 changes: 1 addition & 1 deletion ports/cpp-httplib/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cpp-httplib",
"version": "0.17.0",
"version": "0.18.0",
"description": "A single file C++11 header-only HTTP/HTTPS server and client library",
"homepage": "https://github.com/yhirose/cpp-httplib",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions ports/cpprestsdk/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ vcpkg_from_github(
fix_narrowing.patch
fix-uwp.patch
fix-clang-dllimport.patch # workaround for https://github.com/microsoft/cpprestsdk/issues/1710
silence-stdext-checked-array-iterators-warning.patch
)

set(OPTIONS)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/Release/CMakeLists.txt b/Release/CMakeLists.txt
index 3d6df65..9ff6d66 100644
--- a/Release/CMakeLists.txt
+++ b/Release/CMakeLists.txt
@@ -178,6 +178,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(WARNINGS)
set(CMAKE_STATIC_LINKER_FLAGS "${CMAKE_STATIC_LINKER_FLAGS} /ignore:4264")
add_compile_options(/bigobj)
+ add_compile_options(/D_SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MP")
set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} /MP")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MP")
2 changes: 1 addition & 1 deletion ports/cpprestsdk/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cpprestsdk",
"version": "2.10.19",
"port-version": 1,
"port-version": 2,
"description": [
"C++11 JSON, REST, and OAuth library",
"The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services."
Expand Down
2 changes: 1 addition & 1 deletion ports/cpptrace/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jeremy-rifkin/cpptrace
REF "v${VERSION}"
SHA512 e205ab54e51dc5fe0cc448e181181d3a2ef3e0d2435d5040cca7f36fc9f9998a0cea2a11051898ebfcc84954a1dd2aff9f48ac9ab718e5d8f974aff419f9ff23
SHA512 6dc1e7782c61ad035eccbd884777807c413cc083d5bc993421c73c2c8e2de899b26745daded4fdff03a2b878a22fb56a63e053816584f6151188360d5975d5a2
HEAD_REF main
)

Expand Down
2 changes: 1 addition & 1 deletion ports/cpptrace/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cpptrace",
"version": "0.7.0",
"version": "0.7.1",
"description": "Simple, portable, and self-contained stacktrace library for C++11 and newer",
"homepage": "https://github.com/jeremy-rifkin/cpptrace",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion ports/fast-float/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO fastfloat/fast_float
REF "v${VERSION}"
SHA512 b43ccdf1fc69d9bb07850f4ea40442e312107e7047d80cb57666ac4a4df4152c438ba6ffb8879824c691a6ce2e1d20c95a47724c5af8d10e5d787455e0a97efe
SHA512 d2dbd2537f433329a76539c061238af080125526b7822fbfdf0f70ac0a6800114848b9be0fdf9c51dbb22211af3bdcf9829ed9cc4a47fd28ecdeecf7c5d4b663
HEAD_REF master
)

Expand Down
2 changes: 1 addition & 1 deletion ports/fast-float/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fast-float",
"version": "6.1.4",
"version": "6.1.6",
"description": "Fast and exact implementation of the C++ from_chars functions for float and double types: 4x faster than strtod",
"homepage": "https://github.com/fastfloat/fast_float",
"license": "Apache-2.0 OR BSL-1.0 OR MIT",
Expand Down
39 changes: 6 additions & 33 deletions ports/gstreamer/fix-clang-cl-bad.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,11 @@ index c4868a4..6b34cb7 100644
# autotools didn't use the libdca pkg-config cflags, and they
# can point to a non-existing location (/usr/include/dca)
no_warn_c_args = ['-Wno-missing-include-dirs']
diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build
index 160080a..6acf110 100644
--- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build
+++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/meson.build
@@ -158,7 +158,7 @@ endif

# MinGW 32bits compiler seems to be complaining about redundant-decls
# when ComPtr is in use. Let's just disable the warning
-if cc.get_id() != 'msvc'
+if cc.get_argument_syntax() != 'msvc'
extra_args = cc.get_supported_arguments([
'-Wno-redundant-decls',
])
diff --git a/subprojects/gst-plugins-bad/meson.build b/subprojects/gst-plugins-bad/meson.build
index 84eeb17..1743f41 100644
index 6707dce..b8c6018 100644
--- a/subprojects/gst-plugins-bad/meson.build
+++ b/subprojects/gst-plugins-bad/meson.build
@@ -54,7 +54,7 @@ endif

cdata = configuration_data()
cdata.set('ENABLE_NLS', 1)

Expand All @@ -52,10 +38,10 @@ index c61ad4e..b30793c 100644
error('asio plugin can only be built with MSVC')
else
diff --git a/subprojects/gst-plugins-bad/sys/d3d11/meson.build b/subprojects/gst-plugins-bad/sys/d3d11/meson.build
index 1368b79..8dd3b30 100644
index ff557be..d5bf0db 100644
--- a/subprojects/gst-plugins-bad/sys/d3d11/meson.build
+++ b/subprojects/gst-plugins-bad/sys/d3d11/meson.build
@@ -96,7 +96,7 @@ endif
@@ -118,7 +118,7 @@ endif

# MinGW 32bits compiler seems to be complaining about redundant-decls
# when ComPtr is in use. Let's just disable the warning
Expand All @@ -64,19 +50,6 @@ index 1368b79..8dd3b30 100644
extra_mingw_args = cc.get_supported_arguments([
'-Wno-redundant-decls',
])
diff --git a/subprojects/gst-plugins-bad/sys/decklink/meson.build b/subprojects/gst-plugins-bad/sys/decklink/meson.build
index d869e79a4..c7b37a7c6 100644
--- a/subprojects/gst-plugins-bad/sys/decklink/meson.build
+++ b/subprojects/gst-plugins-bad/sys/decklink/meson.build
@@ -18,7 +18,7 @@ decklink_libs = []

if host_system == 'windows'
decklink_sources += ['win/DeckLinkAPIDispatch.cpp', 'win/DeckLinkAPI_i.c']
- if cxx.get_id() == 'msvc'
+ if cxx.get_argument_syntax() == 'msvc'
# FIXME: Use commsuppwd.lib for debug builds?
comutil_dep = cxx.find_library('comsuppw', required : get_option('decklink'))
if comutil_dep.found()
diff --git a/subprojects/gst-plugins-bad/sys/mediafoundation/meson.build b/subprojects/gst-plugins-bad/sys/mediafoundation/meson.build
index 6b9a059..40713ce 100644
--- a/subprojects/gst-plugins-bad/sys/mediafoundation/meson.build
Expand All @@ -91,10 +64,10 @@ index 6b9a059..40713ce 100644
error('mediafoundation plugin can only be built with MSVC')
endif
diff --git a/subprojects/gst-plugins-bad/sys/msdk/meson.build b/subprojects/gst-plugins-bad/sys/msdk/meson.build
index 659b96c..92e6bc4 100644
index 51bf953..e30e138 100644
--- a/subprojects/gst-plugins-bad/sys/msdk/meson.build
+++ b/subprojects/gst-plugins-bad/sys/msdk/meson.build
@@ -176,12 +176,12 @@ if use_onevpl and have_mfx_ver205
@@ -175,12 +175,12 @@ if use_onevpl and have_mfx_ver205
endif

if host_machine.system() == 'windows'
Expand All @@ -108,4 +81,4 @@ index 659b96c..92e6bc4 100644
+ msdk_deps_found = d3d11_dep.found() and legacy_stdio_dep.found() and cc.get_argument_syntax() == 'msvc'
else
libdl_dep = cc.find_library('dl', required: get_option('msdk'))
libgudev_dep = dependency('gudev-1.0', required: get_option('msdk'))
libgudev_dep = dependency('gudev-1.0', required: get_option('msdk'), allow_fallback: true)
11 changes: 5 additions & 6 deletions ports/gstreamer/gstreamer-disable-no-unused.patch
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
diff --git a/subprojects/gstreamer/meson.build b/subprojects/gstreamer/meson.build
index bed8c4e..772809e 100644
index 3b2cbba..18dd8d0 100644
--- a/subprojects/gstreamer/meson.build
+++ b/subprojects/gstreamer/meson.build
@@ -435,8 +435,8 @@ if cc.has_header('execinfo.h')
endif
@@ -493,7 +493,7 @@ if cc.has_header('execinfo.h')
endif

gst_debug = get_option('gst_debug')
-if not gst_debug
+if not gst_debug and cc.has_argument('-Wno-unused')
add_project_arguments(['-Wno-unused'], language: 'c')
endif

if cc.get_argument_syntax() == 'msvc'
msvc_args = cc.get_supported_arguments([
'/wd4101', # 'identifier' : unreferenced local variable
33 changes: 21 additions & 12 deletions ports/gstreamer/no-downloads.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
diff --git a/meson.build b/meson.build
index df015cb..93cf7e9 100644
index 3815aa3..6aeeab4 100644
--- a/meson.build
+++ b/meson.build
@@ -105,12 +105,6 @@ subprojects = [
['gst-plugins-rs', { 'option': get_option('rs'), 'build-hotdoc': true, 'match_gst_version': false}],
@@ -125,20 +125,7 @@ subprojects = [
]

-if build_system == 'windows'
- subproject('win-flex-bison-binaries')
- subproject('win-nasm')
-elif build_system == 'darwin'
- subproject('macos-bison-binary')
-endif


if get_option('build-tools-source') == 'subproject'
- if build_system == 'windows'
- subproject('win-flex-bison-binaries')
- subproject('win-nasm')
- subproject('win-pkgconfig')
- elif build_system == 'darwin'
- subproject('macos-bison-binary')
- # Newer macOS provides /usr/lib/pkgconfig/libpcre2-8.pc which is broken
- # because it says headers are in /usr/include but that directory doesn't
- # exist. It can only be used to find the library, which only exists on
- # newer macOS at /usr/lib/libpcre2-8.dylib, so it's also unusable.
- #
- # jit support requires macOS 11.0 or newer, so disable it by default
- subproject('pcre2', default_options: ['default_library=static', 'jit=disabled'])
- endif
+
endif

orc_option = get_option('orc')
# There is a check below to keep this in sync with subprojects/gst-plugins-base/meson.build
31 changes: 13 additions & 18 deletions ports/gstreamer/plugin-base-disable-no-unused.patch
Original file line number Diff line number Diff line change
@@ -1,26 +1,21 @@
diff --git a/subprojects/gst-plugins-base/meson.build b/subprojects/gst-plugins-base/meson.build
index 9b00253..495671e 100644
index 2c09e7b..e51f5a8 100644
--- a/subprojects/gst-plugins-base/meson.build
+++ b/subprojects/gst-plugins-base/meson.build
@@ -388,10 +388,11 @@ int32x4_t testfunc(int16_t *a, int16_t *b) {
endif
@@ -412,6 +412,7 @@ int32x4_t testfunc(int16_t *a, int16_t *b) {
endif

# Disable compiler warnings for unused variables and args if gst debug system is disabled
+build_system = build_machine.system()
if gst_dep.type_name() == 'internal'
gst_proj = subproject('gstreamer')
gst_proj = subproject('gstreamer')
gst_debug_disabled = not gst_proj.get_variable('gst_debug')
@@ -421,7 +422,7 @@ else
gst_debug_disabled = cc.has_header_symbol('gst/gstconfig.h', 'GST_DISABLE_GST_DEBUG', dependencies: gst_dep)
endif

- if not gst_proj.get_variable('gst_debug')
+ if not gst_proj.get_variable('gst_debug') and build_system != 'windows'
message('GStreamer debug system is disabled')
add_project_arguments('-Wno-unused', language: 'c')
else
@@ -404,7 +405,7 @@ else
#include <gst/gstconfig.h>
#ifdef GST_DISABLE_GST_DEBUG
#error "debugging disabled, make compiler fail"
-#endif''' , dependencies: gst_dep)
+#endif''' , dependencies: gst_dep) and build_system != 'windows'
message('GStreamer debug system is disabled')
add_project_arguments('-Wno-unused', language: 'c')
else
-if gst_debug_disabled
+if gst_debug_disabled and build_system != 'windows'
message('GStreamer debug system is disabled')
if cc.get_argument_syntax() == 'msvc'
msvc_args = cc.get_supported_arguments([
7 changes: 1 addition & 6 deletions ports/gstreamer/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vcpkg_from_gitlab(
OUT_SOURCE_PATH SOURCE_PATH
REPO gstreamer/gstreamer
REF "${VERSION}"
SHA512 0d69896d0a83452320df0d0f56c710df1365a259cd3f48dc7cd4df18d45b27caea7174aafa15ae5eb8637ccdef192c1047185b369b7232db4eaacbc57ffaaa22
SHA512 c181c8048ef859dfdd17d2bf1487d078704fdd289fed4e13fc00aebca055965c186286e60f3703c69d816734ef4be344b32650058d72517576927f9df18db2df
HEAD_REF main
PATCHES
fix-clang-cl.patch
Expand All @@ -21,7 +21,6 @@ vcpkg_from_gitlab(
gstreamer-disable-no-unused.patch
srtp_fix.patch
fix-bz2-windows-debug-dependency.patch
base-must-be-enabled.patch
no-downloads.patch
${PATCHES}
)
Expand Down Expand Up @@ -156,7 +155,6 @@ vcpkg_configure_meson(
-Dlibnice=disabled
-Ddevtools=disabled
-Drtsp_server=disabled
-Domx=disabled
-Dvaapi=disabled
-Dsharp=disabled
-Drs=disabled
Expand Down Expand Up @@ -209,8 +207,6 @@ vcpkg_configure_meson(
-Dgst-plugins-good:wavpack=disabled # Error during plugin build
# gst-plugins-ugly
-Dgst-plugins-ugly:a52dec=disabled
-Dgst-plugins-ugly:amrnb=disabled
-Dgst-plugins-ugly:amrwbdec=disabled
-Dgst-plugins-ugly:cdio=disabled
-Dgst-plugins-ugly:dvdread=disabled
-Dgst-plugins-ugly:mpeg2dec=disabled # libmpeg2 not found
Expand Down Expand Up @@ -240,7 +236,6 @@ vcpkg_configure_meson(
-Dgst-plugins-bad:gsm=disabled
-Dgst-plugins-bad:ipcpipeline=auto
-Dgst-plugins-bad:iqa=disabled
-Dgst-plugins-bad:kate=disabled
-Dgst-plugins-bad:kms=disabled
-Dgst-plugins-bad:ladspa=disabled
-Dgst-plugins-bad:ldac=disabled
Expand Down
13 changes: 7 additions & 6 deletions ports/gstreamer/srtp_fix.patch
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
diff --git a/subprojects/gst-plugins-bad/ext/srtp/meson.build b/subprojects/gst-plugins-bad/ext/srtp/meson.build
index 49eed5b..db5aed0 100644
index d15d58c..0a3b1a2 100644
--- a/subprojects/gst-plugins-bad/ext/srtp/meson.build
+++ b/subprojects/gst-plugins-bad/ext/srtp/meson.build
@@ -6,13 +6,15 @@ srtp_sources = [
@@ -6,6 +6,8 @@ srtp_sources = [
'gstsrtpenc.c',
]

+gst_plugins_install_dir = join_paths(get_option('libdir'), 'gstreamer-1.0')
+
srtp_cargs = []
if get_option('srtp').disabled()
srtp_dep = dependency('', required : false)
srtp_option = get_option('srtp').enable_if(get_option('webrtc').enabled(), error_message: 'webrtc option is enabled')
if srtp_option.disabled()
@@ -13,7 +15,7 @@ if srtp_option.disabled()
subdir_done()
endif

-srtp_dep = dependency('libsrtp2', version : '>= 2.1.0', required : false)
-srtp_dep = dependency('libsrtp2', version : '>= 2.1.0', required : false, allow_fallback: true)
+srtp_dep = dependency('libSRTP', modules: ['libSRTP::srtp2'], version : '>= 2.1.0', required : false)
if srtp_dep.found()
srtp_cargs += ['-DHAVE_SRTP2']
else
@@ -38,7 +40,7 @@ if srtp_dep.found()
@@ -39,7 +41,7 @@ if srtp_dep.found()
include_directories : [configinc],
dependencies : [gstrtp_dep, gstvideo_dep, srtp_dep],
install : true,
Expand Down
3 changes: 1 addition & 2 deletions ports/gstreamer/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "gstreamer",
"version": "1.22.5",
"port-version": 8,
"version": "1.24.7",
"description": "GStreamer open-source multimedia framework core library",
"homepage": "https://gstreamer.freedesktop.org/",
"license": "LGPL-2.0-only",
Expand Down
10 changes: 10 additions & 0 deletions ports/jigson/jigson-config.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
if(NOT TARGET jigson::jigson)
include(CMakeFindDependencyMacro)
find_dependency(nlohmann_json CONFIG)
add_library(jigson::jigson INTERFACE IMPORTED)
set_target_properties(jigson::jigson PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include/jigson"
INTERFACE_LINK_LIBRARIES nlohmann_json::nlohmann_json
)

endif()
Loading
Loading