summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-effects.package
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-02-22 02:08:26 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-02-22 02:34:27 +0530
commitc877545cc9eec20002afdad43f72e73a14df302f (patch)
treedd54c50b956f54db6b9ee5d65b570e6c5664f0a9 /packages/gstreamer-1.0-effects.package
parent2467f20bfe8143361da8d13f6fe120ed21dd7b5f (diff)
gst recipes: Disable plugins when building with MSVC
Some libraries have issues that cause us to be unable to include their headers or link to their libraries when building with MSVC. Disable them when we're building with MSVC on Windows. With this, you can produce a mostly-complete gstreamer-1.0 package that is built with MSVC on Windows. The status of these plugins is tracked at: https://gitlab.freedesktop.org/gstreamer/cerbero/issues/121
Diffstat (limited to 'packages/gstreamer-1.0-effects.package')
-rw-r--r--packages/gstreamer-1.0-effects.package7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/gstreamer-1.0-effects.package b/packages/gstreamer-1.0-effects.package
index 59b32fc3..eba6a177 100644
--- a/packages/gstreamer-1.0-effects.package
+++ b/packages/gstreamer-1.0-effects.package
@@ -10,8 +10,7 @@ class Package(custom.GStreamer, package.Package):
uuid = '4be3f88b-b552-4cd7-aecd-cf935fe270f7'
deps = ['gstreamer-1.0-core']
- files = ['ladspa:libs', 'soundtouch:libs',
- 'webrtc-audio-processing:libs',
+ files = ['ladspa:libs',
'gst-plugins-base-1.0:plugins_effects',
'gst-plugins-good-1.0:plugins_effects',
'gst-plugins-ugly-1.0:plugins_effects',
@@ -21,3 +20,7 @@ class Package(custom.GStreamer, package.Package):
'gst-plugins-good-1.0:plugins_effects_devel',
'gst-plugins-ugly-1.0:plugins_effects_devel',
'gst-plugins-bad-1.0:plugins_effects_devel']
+
+ def prepare(self):
+ if not self.config.variants.visualstudio:
+ self.files += ['soundtouch:libs', 'webrtc-audio-processing:libs']