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
129
130
131
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'gst-plugins-base'
version = '0.10.36'
licenses = [License.LGPLv2Plus]
config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
configure_options = "--disable-introspection --disable-examples --disable-gst_v4l --disable-gnome_vfs --with-package-origin='http://www.gstreamer.com' --with-package-name='GStreamer Base Plugins (GStreamer SDK)' "
remotes = {'upstream': 'git://anongit.freedesktop.org/gstreamer/gst-plugins-base'}
deps = ['glib', 'gstreamer', 'libogg', 'pango', 'libtheora', 'libvisual',
'libvorbis', 'zlib', 'orc']
platform_deps = { Platform.LINUX: [ 'cdparanoia' ], Platform.ANDROID: [ 'tremor' ] }
use_system_libs = True
files_bins = ['gst-discoverer-0.10']
files_libs = ['libgstapp-0.10', 'libgstaudio-0.10', 'libgstcdda-0.10', 'libgstfloatcast-0.10',
'libgstfft-0.10', 'libgstinterfaces-0.10', 'libgstnetbuffer-0.10',
'libgstpbutils-0.10', 'libgstriff-0.10', 'libgstrtp-0.10',
'libgstrtsp-0.10', 'libgstsdp-0.10', 'libgsttag-0.10',
'libgstvideo-0.10',]
files_plugins_core = [
'lib/gstreamer-0.10/libgstadder%(mext)s',
'lib/gstreamer-0.10/libgstapp%(mext)s',
'lib/gstreamer-0.10/libgstaudioconvert%(mext)s',
'lib/gstreamer-0.10/libgstaudiorate%(mext)s',
'lib/gstreamer-0.10/libgstaudioresample%(mext)s',
'lib/gstreamer-0.10/libgstaudiotestsrc%(mext)s',
'lib/gstreamer-0.10/libgstffmpegcolorspace%(mext)s',
'lib/gstreamer-0.10/libgstgdp%(mext)s',
'lib/gstreamer-0.10/libgstgio%(mext)s',
'lib/gstreamer-0.10/libgstpango%(mext)s',
'lib/gstreamer-0.10/libgsttypefindfunctions%(mext)s',
'lib/gstreamer-0.10/libgstvideorate%(mext)s',
'lib/gstreamer-0.10/libgstvideoscale%(mext)s',
'lib/gstreamer-0.10/libgstvideotestsrc%(mext)s',
'lib/gstreamer-0.10/libgstvolume%(mext)s',
]
files_plugins_playback = [
'lib/gstreamer-0.10/libgstdecodebin2%(mext)s',
'lib/gstreamer-0.10/libgstplaybin%(mext)s',
]
# Not used currently
files_plugins_encoding = [
'lib/gstreamer-0.10/libgstencodebin%(mext)s',
]
files_plugins_codecs = [
'lib/gstreamer-0.10/libgstsubparse%(mext)s',
'lib/gstreamer-0.10/libgstogg%(mext)s',
'lib/gstreamer-0.10/libgsttheora%(mext)s',
'lib/gstreamer-0.10/libgstvorbis%(mext)s',
]
files_plugins_vis = [
'lib/gstreamer-0.10/libgstlibvisual%(mext)s',
]
files_devel = [
'include/gstreamer-0.10/gst/app',
'include/gstreamer-0.10/gst/audio',
'include/gstreamer-0.10/gst/cdda',
'include/gstreamer-0.10/gst/fft',
'include/gstreamer-0.10/gst/floatcast',
'include/gstreamer-0.10/gst/interfaces',
'include/gstreamer-0.10/gst/netbuffer',
'include/gstreamer-0.10/gst/pbutils',
'include/gstreamer-0.10/gst/riff',
'include/gstreamer-0.10/gst/rtp',
'include/gstreamer-0.10/gst/rtsp',
'include/gstreamer-0.10/gst/sdp',
'include/gstreamer-0.10/gst/tag',
'include/gstreamer-0.10/gst/video',
'lib/pkgconfig/gstreamer-app-0.10.pc',
'lib/pkgconfig/gstreamer-audio-0.10.pc',
'lib/pkgconfig/gstreamer-cdda-0.10.pc',
'lib/pkgconfig/gstreamer-fft-0.10.pc',
'lib/pkgconfig/gstreamer-floatcast-0.10.pc',
'lib/pkgconfig/gstreamer-interfaces-0.10.pc',
'lib/pkgconfig/gstreamer-netbuffer-0.10.pc',
'lib/pkgconfig/gstreamer-pbutils-0.10.pc',
'lib/pkgconfig/gstreamer-riff-0.10.pc',
'lib/pkgconfig/gstreamer-rtp-0.10.pc',
'lib/pkgconfig/gstreamer-rtsp-0.10.pc',
'lib/pkgconfig/gstreamer-sdp-0.10.pc',
'lib/pkgconfig/gstreamer-tag-0.10.pc',
'lib/pkgconfig/gstreamer-video-0.10.pc',
'lib/pkgconfig/gstreamer-plugins-base-0.10.pc',
]
platform_files_plugins_codecs = {
Platform.ANDROID: [
'lib/gstreamer-0.10/libgstivorbisdec%(mext)s',
]
}
platform_files_plugins_sys = {
Platform.LINUX: [
'lib/gstreamer-0.10/libgstalsa%(mext)s',
'lib/gstreamer-0.10/libgstximagesink%(mext)s',
'lib/gstreamer-0.10/libgstxvimagesink%(mext)s',
'lib/gstreamer-0.10/libgstcdparanoia%(mext)s',
]
}
platform_files_plugins_net = {
Platform.LINUX: [
'lib/gstreamer-0.10/libgsttcp%(mext)s',
],
Platform.ANDROID: [
'lib/gstreamer-0.10/libgsttcp%(mext)s',
],
Platform.DARWIN: [
'lib/gstreamer-0.10/libgsttcp%(mext)s',
]
}
files_lang = ['gst-plugins-base-0.10']
def prepare(self):
if self.config.target_platform != Platform.LINUX:
self.configure_options += '--disable-gtk-doc '
if self.config.target_platform == Platform.ANDROID:
self.configure_options += ' --disable-alsa --disable-x'
if self.config.variants.nodebug:
self.configure_options += ' --disable-gst-debug'
|