diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-08 11:09:50 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-16 04:07:59 +0530 |
commit | bca3cdf24308a8e5283ce2d09f54aeaf51a3de61 (patch) | |
tree | a03936a06c4bbbbbbce1fe4c3dd037d694a567d4 /recipes/gst-plugins-ugly-1.0.recipe | |
parent | ebd908be8044e936674588d8a9e6a08f35722e64 (diff) |
gst-plugins-ugly-1.0.recipe: Disable features on UWP
x264 can be enabled, but it needs our meson port to be updated.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/511>
Diffstat (limited to 'recipes/gst-plugins-ugly-1.0.recipe')
-rw-r--r-- | recipes/gst-plugins-ugly-1.0.recipe | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/gst-plugins-ugly-1.0.recipe b/recipes/gst-plugins-ugly-1.0.recipe index 3b9aef05..71dd6951 100644 --- a/recipes/gst-plugins-ugly-1.0.recipe +++ b/recipes/gst-plugins-ugly-1.0.recipe @@ -48,8 +48,14 @@ class Recipe(custom.GStreamer): files_lang = ['gst-plugins-ugly-1.0'] def prepare(self): - if self.config.target_platform in (Platform.ANDROID, Platform.IOS): + if self.using_msvc() or self.config.target_platform in (Platform.ANDROID, Platform.IOS): self.disable_plugin('dvdread', 'dvd', dep='libdvdread') + if self.using_msvc(): + self.disable_plugin('a52dec', 'codecs_restricted', dep='a52dec') + self.disable_plugin('amrnb', 'codecs_restricted', dep='opencore-amr') + self.disable_plugin('amrwbdec', 'codecs_restricted', dep='opencore-amr') + self.disable_plugin('x264', 'codecs_restricted', dep='x264') + if self.config.variants.nodebug: self.append_env('CFLAGS', '-DGST_LEVEL_MAX=GST_LEVEL_FIXME') |