summaryrefslogtreecommitdiff
path: root/recipes/gst-plugins-good-static.recipe
blob: f9962f2b1ab587bc5e1ba2c8d6504d8256d78b71 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(custom.GStreamerStatic):
    name = 'gst-plugins-good-static'
    version = '0.10.31'
    gstreamer_version = '0.10'
    licenses = [License.LGPLv2Plus]
    extra_configure_options = ' --disable-oss4 --disable-oss --disable-dv1394 --disable-aalib --disable-libcaca --disable-esd --disable-gconf --disable-hal --disable-jack --disable-shout2'
    deps = ['gstreamer', 'gst-plugins-base', 'jpeg', 'libpng',
            'speex', 'gdk-pixbuf', 'libsoup', 'cairo',
            'orc', 'wavpack', 'flac', 'taglib', 'bzip2', 'zlib', 'libdv' ]

    files_plugins_core_devel = [
             'libgstautodetect',
             'libgstvideofilter',
    ]

    files_plugins_effects_devel = [
             'libgstalpha',
             'libgstalphacolor',
             'libgstaudiofx',
             'libgstcairo',
             'libgstcutter',
             'libgstdebug',
             'libgstdeinterlace',
             'libgsteffectv',
             'libgstequalizer',
             'libgstgdkpixbuf',
             'libgstimagefreeze',
             'libgstinterleave',
             'libgstlevel',
             'libgstmultifile',
             'libgstreplaygain',
             'libgstshapewipe',
             'libgstsmpte',
             'libgstspectrum',
             'libgstvideobox',
             'libgstvideocrop',
             'libgstvideomixer',
    ]

    files_plugins_codecs_devel = [
             'libgstalaw',
             'libgstannodex',
             'libgstapetag',
             'libgstaudioparsers',
             'libgstauparse',
             'libgstavi',
             'libgstdv',
             'libgstflac',
             'libgstflv',
             'libgstflxdec',
             'libgsticydemux',
             'libgstid3demux',
             'libgstisomp4',
             'libgstjpeg',
             'libgstmatroska',
             'libgstmulaw',
             'libgstmultipart',
             'libgstpng',
             'libgstspeex',
             'libgsttaglib',
             'libgstwavenc',
             'libgstwavpack',
             'libgstwavparse',
             'libgsty4menc',
    ]

    files_plugins_net_devel = [
             'libgstrtsp',
             'libgstrtp',
             'libgstrtpmanager',
             'libgstsouphttpsrc',
             'libgstudp',
    ]

    files_plugins_vis_devel = [
             'libgstgoom',
             'libgstgoom2k1',
            ]

    platform_files_plugins_capture_devel = {
        Platform.LINUX: [
              'libgstvideo4linux2',
              'libgstximagesrc',
             ]
    }

    platform_files_plugins_sys_devel = {
        Platform.WINDOWS: [
             'libgstdirectsoundsink',
            ],
        Platform.LINUX: [
             'libgstpulse',
            ],
        Platform.DARWIN: [
             'libgstosxaudio',
             'libgstosxvideosink',
            ],
        Platform.IOS: [
             'libgstosxaudio',
            ]
    }

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.configure_options += '--disable-aalib --disable-esd '
        if self.config.target_platform in [Platform.ANDROID, Platform.IOS]:
            self.configure_options += '--disable-pulse --disable-x'
        if self.config.target_platform == Platform.LINUX:
            self.use_system_libs = True
        if self.config.variants.nodebug:
            self.configure_options += ' --disable-gst-debug'
        custom.GStreamerStatic.prepare(self)