summaryrefslogtreecommitdiff
path: root/packages/base-system-1.0.package
blob: b3712d66fca61efc4a3d8d12e12bbfabaca1c15d (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
# 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.4.1'
    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', 'jpeg: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'],
        Platform.DARWIN: ['gettext:libs:lang', 'libiconv:libs:lang'],
        Platform.LINUX: [],
        Platform.ANDROID: ['gettext:libs:lang', 'libiconv:libs:lang', 'gnustl'],
        Platform.IOS: ['gettext:libs:lang', 'libiconv:libs:lang']
        }

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