summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-bad-1.0.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-04-13 15:48:53 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-04-13 16:16:11 +0530
commitacf649e06d77e3abf6de8a325f95c2607741cbe8 (patch)
tree84a0872ce1b37c28c01da045a33bbe08cd1f0c3f /recipes/gst-plugins-bad-1.0.recipe
parentbedec42a7f583c3be60f46e7801be50dc2f07d6f (diff)
gst-plugins-bad-1.0: Disable webrtcdsp on Windows
It fails to build on most Windows machines due to a too-long-path error unless you use a directory (with a small name) in the root of the drive. This means that essentially every Windows user will hit this (and does hit this), so disable it. If you need this, please supply patches to fix it. Alternatively, revert it locally. https://bugzilla.gnome.org/show_bug.cgi?id=770264
Diffstat (limited to 'recipes/gst-plugins-bad-1.0.recipe')
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 3b7d7731..63ee8ae0 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -219,6 +219,13 @@ class Recipe(custom.GStreamer):
self.append_env['CXXFLAGS'] = " -Wno-error "
self.append_env['CPPFLAGS'] = " -Wno-error "
+ if self.config.platform == Platform.WINDOWS:
+ # FIXME: This will almost certainly fail to build on Windows due to
+ # https://bugzilla.gnome.org/show_bug.cgi?id=770264
+ # See also, -static and gstreamer-1.0-effects.package
+ self.deps.remove('webrtc-audio-processing')
+ self.files_plugins_effects.remove('lib/gstreamer-1.0/libgstwebrtcdsp%(mext)s')
+
if self.config.target_platform != Platform.LINUX:
self.configure_options += '--disable-gtk-doc '
if self.config.target_platform == Platform.WINDOWS: