From 8f0c0915f9332364409c75cbb8536025ed1dbebb Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 8 Jun 2020 16:40:45 +0530 Subject: 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: --- packages/gstreamer-1.0-codecs-restricted.package | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/gstreamer-1.0-codecs-restricted.package') 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', + ] -- cgit v1.2.3