mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 10:59:00 +08:00
4eaa3d2118
* Update to GStreamer v1.20.3 * Fixed gst-plugins-bad * Made optional dependences features * Added webrtc feature * webrtc dependency fixes Set meson option 'gst_debug' to true for both debug and release configurations Enabled dtls and srtp plugins Fixed srtp plugin * [gstreamer] Changed version to 1.20.4 * [gstreamer] Reworked port file * [gst-rtsp-server] Updated to version 1.20.4 * [opencv4] Update GStreamer dependency * [qtmultimedia] Update GStreamer dependency * [qtmultimedia] Enabled AVFoundation (part of the Apple Frameworks) * [qtbase] Fix PCRE2 static linking for GLib * Added versions Co-authored-by: Gerard Ryan <gerard.ryan@immersaview.com> Co-authored-by: David Ely <david.ely@immersaview.com>
58 lines
2.0 KiB
Diff
58 lines
2.0 KiB
Diff
diff --git a/subprojects/gstreamer/gst/parse/meson.build b/subprojects/gstreamer/gst/parse/meson.build
|
|
index 35ed6f2f4..5e38e49ea 100644
|
|
--- a/subprojects/gstreamer/gst/parse/meson.build
|
|
+++ b/subprojects/gstreamer/gst/parse/meson.build
|
|
@@ -16,7 +16,7 @@ else
|
|
endif
|
|
|
|
flex_cdata.set('FLEX', flex.full_path())
|
|
-if cc.get_id() == 'msvc'
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
flex_cdata.set('FLEX_ARGS', '--nounistd')
|
|
else
|
|
flex_cdata.set('FLEX_ARGS', '')
|
|
diff --git a/subprojects/gstreamer/meson.build b/subprojects/gstreamer/meson.build
|
|
index 772809e15..70b1eafc5 100644
|
|
--- a/subprojects/gstreamer/meson.build
|
|
+++ b/subprojects/gstreamer/meson.build
|
|
@@ -36,7 +36,7 @@ cc = meson.get_compiler('c')
|
|
|
|
cdata = configuration_data()
|
|
|
|
-if cc.get_id() == 'msvc'
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
msvc_args = [
|
|
# Ignore several spurious warnings for things gstreamer does very commonly
|
|
# If a warning is completely useless and spammy, use '/wdXXXX' to suppress it
|
|
@@ -61,7 +61,7 @@ endif
|
|
|
|
# Symbol visibility
|
|
have_visibility_hidden = false
|
|
-if cc.get_id() == 'msvc'
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
export_define = '__declspec(dllexport) extern'
|
|
elif cc.has_argument('-fvisibility=hidden')
|
|
add_project_arguments('-fvisibility=hidden', language: 'c')
|
|
@@ -313,8 +313,10 @@ static __uint128_t v2 = 10;
|
|
static __uint128_t u;
|
|
u = v1 / v2;
|
|
}'''
|
|
-if cc.compiles(uint128_t_src, name : '__uint128_t available')
|
|
- cdata.set('HAVE_UINT128_T', 1)
|
|
+if cc.get_argument_syntax() != 'msvc'
|
|
+ if cc.compiles(uint128_t_src, name : '__uint128_t available')
|
|
+ cdata.set('HAVE_UINT128_T', 1)
|
|
+ endif
|
|
endif
|
|
|
|
# All supported platforms have long long now
|
|
@@ -322,7 +324,7 @@ cdata.set('HAVE_LONG_LONG', 1)
|
|
|
|
# We only want to use the __declspec(dllexport/import) dance in GST_EXPORT when
|
|
# building with MSVC
|
|
-if cc.get_id() == 'msvc'
|
|
+if cc.get_argument_syntax() == 'msvc'
|
|
cdata.set('GSTCONFIG_BUILT_WITH_MSVC', 1)
|
|
else
|
|
cdata.set('GSTCONFIG_BUILT_WITH_MSVC', 0)
|