From 6607a6315934d2c9156901303b7aea0ff6cb5903 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 19 Dec 2022 16:31:35 +0530 Subject: [PATCH] meson: Disable webp plugin on Windows and macOS Known to be broken, should be kept disabled till the fix is in a release: https://github.com/qnighy/libwebp-sys2-rs/pull/13 Part-of: --- meson.build | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 919a8cad..05dec107 100644 --- a/meson.build +++ b/meson.build @@ -84,11 +84,17 @@ plugins = { 'gst-plugin-png': 'libgstrspng', 'gst-plugin-rav1e': 'libgstrav1e', # videofx has an external dependency, see below +} +# Won't build on platforms where it bundles the sources because of: +# https://github.com/qnighy/libwebp-sys2-rs/issues/12 +# Remove this check once we update to a version that contains the fix: +# https://github.com/qnighy/libwebp-sys2-rs/pull/13 +if host_system not in ['windows', 'darwin'] # FIXME: libwebp-sys2 will build its bundled version on msvc and apple platforms # https://github.com/qnighy/libwebp-sys2-rs/issues/4 - 'gst-plugin-webp': 'libgstrswebp', -} + plugins += {'gst-plugin-webp': 'libgstrswebp'} +endif extra_env = {}