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
117
118
119
120
121
122
123
124
125
126
127
128
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(custom.GStreamerStatic):
name = 'gst-plugins-good-1.0-static'
version = '1.0'
gstreamer_version = '1.0'
licenses = [License.LGPLv2Plus]
extra_configure_options = '--enable-static --disable-oss4 --disable-oss --disable-dv1394 --disable-aalib --disable-libcaca --disable-jack --disable-shout2'
commit = 'origin/1.2'
deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'jpeg', 'libpng',
'speex', 'gdk-pixbuf', 'libsoup',
'orc', 'wavpack', 'flac', 'taglib', 'bzip2', 'zlib',
'libvpx', 'libdv', 'cairo']
files_plugins_core_devel = [
'libgstautodetect',
'libgstvideofilter',
]
files_plugins_effects_devel = [
'libgstalpha',
'libgstalphacolor',
'libgstaudiofx',
'libgstcairo',
'libgstcutter',
'libgstdebug',
'libgstdeinterlace',
'libgstdtmf',
'libgsteffectv',
'libgstequalizer',
'libgstgdkpixbuf',
'libgstimagefreeze',
'libgstinterleave',
'libgstlevel',
'libgstmultifile',
'libgstreplaygain',
'libgstshapewipe',
'libgstsmpte',
'libgstspectrum',
'libgstvideobox',
'libgstvideocrop',
'libgstvideomixer',
]
files_plugins_codecs_devel = [
'libgstalaw',
'libgstapetag',
'libgstaudioparsers',
'libgstauparse',
'libgstavi',
'libgstdv',
'libgstflac',
'libgstflv',
'libgstflxdec',
'libgsticydemux',
'libgstid3demux',
'libgstisomp4',
'libgstjpeg',
'libgstmatroska',
'libgstmulaw',
'libgstmultipart',
'libgstpng',
'libgstspeex',
'libgsttaglib',
'libgstvpx',
'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):
self.append_env['CFLAGS'] = " -Wno-error "
self.append_env['CXXFLAGS'] = " -Wno-error "
self.append_env['CPPFLAGS'] = " -Wno-error "
if self.config.target_platform != Platform.LINUX:
self.configure_options += '--disable-gtk-doc '
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)
self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-plugins-good'))
self.remotes['upstream'] = self.remotes['origin']
|