summaryrefslogtreecommitdiff
path: root/packages/base-system-1.0.package
blob: 3ef0132ed8a196053c297c60dd326af2814d77f4 (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
36
37
38
# vi:si:et:sw=4:sts=4:ts=4:syntax=python
# -*- Mode: Python -*-


class Package(package.Package):

    name = 'base-system-1.0'
    shortdesc = 'Base system dependencies'
    longdesc = 'Base system dependencies'
    url = "http://gstreamer.freedesktop.org"
    version = '1.5.91'
    codename = 'Congo'
    license = License.LGPL
    vendor = 'GStreamer Project'
    org = 'org.freedesktop.gstreamer'
    uuid = 'fae6046d-5a39-4d54-93ee-3770d2f316f5'

    files = ['cairo:libs', 'expat:libs', 'fontconfig:libs:etc',
             'gdk-pixbuf:bins:libs:modules:lang', 'libffi:libs', 'freetype:libs',
             'glib:libs:lang:bins:schemas', 'orc:libs', 'pango:libs:modules',
             'libpng:libs', 'tiff:libs', 'libjpeg-turbo:libs',
             'libxml2:libs', 'pixman:libs',
             'zlib:libs', 'bzip2:libs', 'harfbuzz:libs',
             'libcroco:libs', 'librsvg:libs']

    platform_files = {
        Platform.WINDOWS: ['gettext:libs:lang', 'libiconv:libs:lang',
            'mingw-runtime', 'bionic-fixup:libs'],
        Platform.DARWIN: ['gettext:libs:lang', 'bionic-fixup:libs'],
        Platform.LINUX: [],
        Platform.ANDROID: ['gettext:libs:lang', 'libiconv:libs:lang', 'gnustl',
            'bionic-fixup:libs'],
        Platform.IOS: ['gettext:libs:lang', 'bionic-fixup:libs']
        }

    def prepare(self):
        if self.config.variants.gi:
            self.files.append('gobject-introspection:libs:typelibs')