diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-05-28 15:02:03 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-08-01 19:37:16 -0400 |
commit | 20a49ecd908cceb29a8680b08d00d4529cebc23d (patch) | |
tree | 7a93440aacad76b86cd73743b2b11a6c430ed582 /packages | |
parent | babf4ae74b2e27e5746cd7c1d78050c4bee5494f (diff) |
Only package gst-omx with the rpi variant
The generic build of gst-omx is not very useful. The only purpose is for
checking that the build works.
https://bugzilla.gnome.org/show_bug.cgi?id=796435
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gstreamer-1.0-codecs.package | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/gstreamer-1.0-codecs.package b/packages/gstreamer-1.0-codecs.package index 5005530b..61109520 100644 --- a/packages/gstreamer-1.0-codecs.package +++ b/packages/gstreamer-1.0-codecs.package @@ -27,8 +27,9 @@ class Package(custom.GStreamer, package.Package): platform_files = { Platform.ANDROID: ['tremor:libs'], Platform.IOS: ['tremor:libs'], - Platform.LINUX: ['gst-omx-1.0:plugins_codecs'] - } - platform_files_devel = { - Platform.LINUX: ['gst-omx-1.0:plugins_codecs_devel'] } + + def prepare(self): + if self.config.variants.rpi: + self.files.append('gst-omx-1.0:plugins_codecs') + self.files_devel.append('gst-omx-1.0:plugins_codecs_devel') |