diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-08 16:40:45 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-28 04:50:29 +0530 |
commit | 8f0c0915f9332364409c75cbb8536025ed1dbebb (patch) | |
tree | 48b3af5a9ebbd3eadd62a109f02febc2df7b5bdc /packages/gstreamer-1.0-codecs-restricted.package | |
parent | f0a181dda22a489f7a0c503a35becd3a9cd2db74 (diff) |
packages: Disable recipes for UWP
This information is already in the recipes, but unfortunately, it
needs to be duplicated in the package files.
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/527>
Diffstat (limited to 'packages/gstreamer-1.0-codecs-restricted.package')
-rw-r--r-- | packages/gstreamer-1.0-codecs-restricted.package | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-codecs-restricted.package b/packages/gstreamer-1.0-codecs-restricted.package index f7c85f6a..9513b55f 100644 --- a/packages/gstreamer-1.0-codecs-restricted.package +++ b/packages/gstreamer-1.0-codecs-restricted.package @@ -17,3 +17,9 @@ class Package(custom.GStreamer, package.Package): files_devel = ['gst-plugins-ugly-1.0:plugins_codecs_restricted_devel', 'gst-plugins-bad-1.0:plugins_codecs_restricted_devel'] + def prepare(self): + if self.config.variants.uwp: + self.files = [ + 'gst-plugins-ugly-1.0:plugins_codecs_restricted', + 'gst-plugins-bad-1.0:plugins_codecs_restricted', + ] |