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


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

    name = 'gstreamer-1.0-core'
    shortdesc = 'GStreamer 1.0 core'
    longdesc = 'GStreamer 1.0 core'
    uuid = 'd9626750-e8b7-4e40-944d-98b67ed0c6bf'
    deps = ['base-system-1.0']

    files = ['gstreamer-1.0', 'gst-plugins-base-1.0:bins:libs:core:lang:typelibs',
            'gst-shell',
            'gst-plugins-good-1.0:plugins_core:lang',
            'gst-plugins-bad-1.0:plugins_core:lang:libs:typelibs',
            'gst-plugins-ugly-1.0:plugins_core:lang']
    files_devel = ['gstreamer-1.0', 'gst-plugins-base-1.0:plugins_core_devel',
            'gst-plugins-good-1.0:plugins_core_devel', 'gst-plugins-bad-1.0:plugins_core_devel']
    platform_files = {
        Platform.DARWIN: ['gstreamer-1.0-osx-framework', 'pkg-config'],
        Platform.IOS: ['gstreamer-ios-templates'],
        Platform.ANDROID: ['gst-android-1.0'],
        Platform.LINUX: ['bash-completion'],
    }

    def prepare(self):
        if self.config.variants.unwind:
            self.files.append('libunwind:libs')