summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-net-restricted.package
blob: e6a6ccc018d0faf9d83e0173d9d74b1e82ce7cfc (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
# vi:si:et:sw=4:sts=4:ts=4:syntax=python:ft=python
# -*- Mode: Python -*-


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

    name = 'gstreamer-1.0-net-restricted'
    shortdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries'
    longdesc = 'GStreamer 1.0 plugins for network protocols with potential patent issues in some countries'
    org = 'org.freedesktop.gstreamer'
    uuid = '8cf57a89-3ba3-4db0-8b66-15e79b541ffe'
    deps = ['gstreamer-1.0-core', 'base-crypto']

    files = ['librtmp:libs',
             'gst-plugins-ugly-1.0:plugins_net_restricted',
             'gst-plugins-bad-1.0:plugins_net_restricted']
    files_devel = ['gst-plugins-ugly-1.0:plugins_net_restricted_devel',
            'gst-plugins-bad-1.0:plugins_net_restricted_devel']

    def prepare(self):
        if self.config.variants.uwp:
            self.files.remove('librtmp:libs')

        if self.config.variants.rust:
            self.files.append('gst-plugins-rs:plugins_net_restricted')
            self.files_devel.append('gst-plugins-rs:plugins_net_restricted_devel')