vcpkg/ports/gstreamer/fix-clang-cl-good.patch
Cedric GNIEWEK 4eaa3d2118
[gstreamer] Update to version 1.20.4 and rework (#27790)
* 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>
2022-11-28 12:09:25 -08:00

23 lines
1001 B
Diff

diff --git a/subprojects/gst-plugins-good/meson.build b/subprojects/gst-plugins-good/meson.build
index 64705379f..0c55b9732 100644
--- a/subprojects/gst-plugins-good/meson.build
+++ b/subprojects/gst-plugins-good/meson.build
@@ -30,7 +30,7 @@ plugins = []
cc = meson.get_compiler('c')
host_system = host_machine.system()
-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
@@ -183,7 +183,7 @@ cdata.set('SIZEOF_OFF_T', cc.sizeof('off_t'))
# Here be fixmes.
# FIXME: check if this is correct
cdata.set('HAVE_CPU_X86_64', host_machine.cpu() == 'amd64')
-cdata.set('HAVE_GCC_ASM', cc.get_id() != 'msvc')
+cdata.set('HAVE_GCC_ASM', cc.get_argument_syntax() != 'msvc')
cdata.set_quoted('VERSION', gst_version)
cdata.set_quoted('PACKAGE_VERSION', gst_version)
cdata.set_quoted('GST_LICENSE', 'LGPL')