summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-visualizers.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-visualizers.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-visualizers.package')
-rw-r--r--packages/gstreamer-1.0-visualizers.package5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-visualizers.package b/packages/gstreamer-1.0-visualizers.package
index 872ed6d8..15491137 100644
--- a/packages/gstreamer-1.0-visualizers.package
+++ b/packages/gstreamer-1.0-visualizers.package
@@ -16,3 +16,8 @@ class Package(custom.GStreamer, package.Package):
'gst-plugins-good-1.0:plugins_vis_devel',
'gst-plugins-ugly-1.0:plugins_vis_devel',
'gst-plugins-bad-1.0:plugins_vis_devel']
+
+ def prepare(self):
+ if self.config.variants.rust:
+ self.files.append('gst-plugins-rs:plugins_vis')
+ self.files_devel.append('gst-plugins-rs:plugins_vis_devel')