summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0-codecs.package
blob: 611095201c323a22194e8426a88e8df20471fb2d (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
34
35
# vi:si:et:sw=4:sts=4:ts=4:syntax=python
# -*- Mode: Python -*-


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

    name = 'gstreamer-1.0-codecs'
    shortdesc = 'GStreamer 1.0 codecs'
    longdesc = 'GStreamer 1.0 codecs'
    uuid = 'a2e545d5-7819-4636-9e86-3660542f08e5'
    deps = ['gstreamer-1.0-core', 'base-crypto']

    files = ['flac:libs', 'libkate:libs', 'libdv:libs',
            'libogg:libs', 'speex:libs',
            'libtheora:libs', 'wavpack:libs', 'libvpx:libs',
            'taglib:libs', 'opus:libs', 'libvorbis:libs',
            'openjpeg:libs', 'openh264:libs', 'spandsp:libs',
            'sbc:libs', 'mpg123:libs', 'lame:libs',
            'gst-plugins-base-1.0:plugins_codecs', 'gst-plugins-good-1.0:plugins_codecs',
            'gst-plugins-bad-1.0:plugins_codecs', 'gst-plugins-ugly-1.0:plugins_codecs',
            ]
    files_devel = ['gst-plugins-base-1.0:plugins_codecs_devel',
            'gst-plugins-good-1.0:plugins_codecs_devel',
            'gst-plugins-bad-1.0:plugins_codecs_devel',
            'gst-plugins-ugly-1.0:plugins_codecs_devel',
            'gst-plugins-bad-1.0:codecs_devel']
    platform_files = {
            Platform.ANDROID: ['tremor:libs'],
            Platform.IOS: ['tremor:libs'],
    }

    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')