summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-effects.package
blob: d9f8a24b3ee22cf5eb32fcc01f5cfaa12bfd9749 (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
29
30
31
32
33
# vi:si:et:sw=4:sts=4:ts=4:syntax=python
# -*- Mode: Python -*-


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

    name = 'gstreamer-1.0-effects'
    shortdesc = 'GStreamer 1.0 effects and instrumentation plugins'
    longdesc = 'GStreamer 1.0 effects and instrumentation plugins'
    uuid = '4be3f88b-b552-4cd7-aecd-cf935fe270f7'
    deps = ['gstreamer-1.0-core']

    files = ['ladspa:libs',
             'libltc:libs',
             'soundtouch:libs',
             'webrtc-audio-processing:libs',
             'gst-plugins-base-1.0:plugins_effects',
             'gst-plugins-good-1.0:plugins_effects',
             'gst-plugins-ugly-1.0:plugins_effects',
             'gst-plugins-bad-1.0:plugins_effects']
    files_devel = [
            'gst-plugins-base-1.0:plugins_effects_devel',
            'gst-plugins-good-1.0:plugins_effects_devel',
            'gst-plugins-ugly-1.0:plugins_effects_devel',
            'gst-plugins-bad-1.0:plugins_effects_devel']

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

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