summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-codecs-restricted.package
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-08-24 10:55:53 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-09-15 10:40:12 +0530
commitceb6534a6b5a4f8e9b67e8efd9ac5b5b5e16ff1a (patch)
tree3297e83e84d59219c94b7063d207a2172a29fe19 /packages/gstreamer-1.0-codecs-restricted.package
parent65c81d7c4dd0c7b88c8eb70da6a03c7c5410ed0d (diff)
Add gst-plugins-rs.recipe
Plugins are also packaged when the variant is enabled. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/915>
Diffstat (limited to 'packages/gstreamer-1.0-codecs-restricted.package')
-rw-r--r--packages/gstreamer-1.0-codecs-restricted.package4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-codecs-restricted.package b/packages/gstreamer-1.0-codecs-restricted.package
index a39a65ad..58556ff8 100644
--- a/packages/gstreamer-1.0-codecs-restricted.package
+++ b/packages/gstreamer-1.0-codecs-restricted.package
@@ -22,6 +22,10 @@ class Package(custom.GStreamer, package.Package):
if self.config.platform == Platform.WINDOWS:
self.files.remove('a52dec:libs')
+ if self.config.variants.rust:
+ self.files.append('gst-plugins-rs:plugins_codecs_restricted')
+ self.files_devel.append('gst-plugins-rs:plugins_restricted_devel')
+
if self.config.variants.uwp:
self.files = [
'gst-plugins-ugly-1.0:plugins_codecs_restricted',