summaryrefslogtreecommitdiff
path: root/packages/base-system-1.0.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/base-system-1.0.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/base-system-1.0.package')
-rw-r--r--packages/base-system-1.0.package8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/base-system-1.0.package b/packages/base-system-1.0.package
index b19eb499..e2a3b138 100644
--- a/packages/base-system-1.0.package
+++ b/packages/base-system-1.0.package
@@ -10,12 +10,11 @@ class Package(custom.GStreamer, package.Package):
uuid = 'fae6046d-5a39-4d54-93ee-3770d2f316f5'
files = ['cairo:libs', 'expat:libs', 'fontconfig:libs:etc',
- 'gdk-pixbuf:bins:libs:modules:lang', 'libffi:libs', 'freetype:libs',
+ 'libffi:libs', 'freetype:libs',
'glib:libs:lang:bins:schemas', 'orc:libs', 'pango:libs:modules',
- 'libpng:libs', 'tiff:libs', 'libjpeg-turbo:libs',
+ 'libpng:libs', 'libjpeg-turbo:libs',
'libxml2:libs', 'pixman:libs', 'fribidi:libs',
'zlib:libs', 'bzip2:libs', 'harfbuzz:libs',
- 'libcroco:libs', 'librsvg:libs',
'json-glib:bins:libs']
platform_files = {
@@ -29,3 +28,6 @@ class Package(custom.GStreamer, package.Package):
def prepare(self):
if self.config.variants.gi:
self.files.append('gobject-introspection:libs:typelibs')
+ if not self.config.variants.visualstudio:
+ # gdk-pixbuf and librsvg plugins
+ self.files += ['tiff:libs', 'gdk-pixbuf:bins:libs:modules:lang', 'libcroco:libs', 'librsvg:libs']