summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-codecs-gpl.package
blob: c2a39bf091d696f5c2ae0ebf7add1e9de80c40db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# vi:si:et:sw=4:sts=4:ts=4:syntax=python
# -*- Mode: Python -*-


class Package(custom.GStreamer, package.Package):

    name = 'gstreamer-1.0-codecs-gpl'
    shortdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues'
    longdesc = 'GStreamer 1.0 codecs under the GPL license and/or with patents issues'
    uuid = 'f685219b-7ee8-46b9-af3c-338e3cbb4f94'
    deps = ['gstreamer-1.0-core']

    files = ['gst-plugins-base-1.0:plugins_codecs_gpl',
             'gst-plugins-good-1.0:plugins_codecs_gpl',
             'gst-plugins-bad-1.0:plugins_codecs_gpl',
             'gst-plugins-ugly-1.0:plugins_codecs_gpl']
    files_devel = ['gst-plugins-base-1.0:plugins_codecs_gpl_devel',
             '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')

        if self.config.variants.uwp:
            self.files.remove('libiconv:libs')