summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-codecs-gpl.package
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-02-05 16:12:36 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-02-05 16:12:36 +0530
commit0e928c6f52c76632f3cc2ea87fcd6b9fd41865f3 (patch)
tree4917651504a6a0c532500346fe0ed4f916baa7b0 /packages/gstreamer-1.0-codecs-gpl.package
parent491383df7aa5e6c86825dd82d729ce015a4ff639 (diff)
packages: Don't forget to package libiconv
This is needed for zbar. Also add it as an explicit dependency of libass since it uses it for translating subtitles from various codepages (such as UTF-16) to UTF-8 and it has an automagic dependency on it, which means it was already using it. Closes https://gitlab.freedesktop.org/gstreamer/cerbero/issues/221
Diffstat (limited to 'packages/gstreamer-1.0-codecs-gpl.package')
-rw-r--r--packages/gstreamer-1.0-codecs-gpl.package5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0-codecs-gpl.package b/packages/gstreamer-1.0-codecs-gpl.package
index 61b14fbd..723f8e78 100644
--- a/packages/gstreamer-1.0-codecs-gpl.package
+++ b/packages/gstreamer-1.0-codecs-gpl.package
@@ -19,3 +19,8 @@ class Package(custom.GStreamer, package.Package):
'gst-plugins-good-1.0:plugins_codecs_gpl_devel',
'gst-plugins-bad-1.0:plugins_codecs_gpl_devel',
'gst-plugins-ugly-1.0:plugins_codecs_gpl_devel']
+
+ def prepare(self):
+ if self.config.target_platform in (Platform.WINDOWS, Platform.ANDROID):
+ # Needed by libass
+ self.files.append('libiconv:libs')