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
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class SDKPackage(package.SDKPackage):
name = "gstreamer-1.0"
shortdesc = "GStreamer 1.0"
longdesc = "GStreamer 1.0"
title = "GStreamer 1.0"
url = "http://gstreamer.freedesktop.org"
version = '1.7.2'
sdk_version = '1.0'
codename = 'Congo'
license = License.LGPL
uuid = 'b1b4b712-0d09-4a34-8117-8a69b6deecc2'
vendor = "GStreamer Project"
org = "org.freedesktop.gstreamer"
ignore_package_prefix = True
packages =[
# (name, required, selected)
('gstreamer-1.0-core', True, True),
('gstreamer-1.0-system', False, True),
('gstreamer-1.0-playback', False, True),
('gstreamer-1.0-codecs', False, True),
('gstreamer-1.0-effects', False, True),
('gstreamer-1.0-net', False, True),
('gstreamer-1.0-visualizers', False, True),
('gstreamer-1.0-codecs-gpl', False, False),
('gstreamer-1.0-codecs-restricted', False, False),
('gstreamer-1.0-net-restricted', False, False),
('gstreamer-1.0-dvd', False, False),
('gstreamer-1.0-libav', False, False),
('gstreamer-1.0-encoding', False, False),
('gstreamer-1.0-capture', False, False),
('gstreamer-1.0-editing', False, False),
('gstreamer-1.0-devtools', False, False),
]
platform_packages = {
Platform.WINDOWS: [
('vsintegration-1.0', True, False),
('gstreamer-1.0-vs-templates', True, False),
],
}
install_dir = {
Platform.WINDOWS: 'gstreamer',
Platform.LINUX: '/opt/gstreamer-1.0/',
Platform.DARWIN: '/Library/Frameworks/GStreamer.framework/',
Platform.IOS: '/Library/Developer/GStreamer/iPhone.sdk'}
root_env_var = 'GSTREAMER_1_0_ROOT_%(arch)s'
wix_upgrade_code = {
PackageType.DEVEL: {
Architecture.X86 : 'c0c6126d-1f4a-4577-9598-e900f594fd06',
Architecture.X86_64: '49c4a3aa-249f-453c-b82e-ecd05fac0693',
},
PackageType.RUNTIME: {
Architecture.X86 : 'ebe0c791-d84e-4f7e-a4eb-18012a0e319d',
Architecture.X86_64: 'c20a66dc-b249-4e6d-a68a-d0f836b2b3cf',
},
}
osx_framework_library = ('GStreamer', 'lib/GStreamer')
ios_framework_library = ('GStreamer', 'lib/GStreamer')
def prepare(self):
if self.config.target_platform in [Platform.ANDROID, Platform.IOS]:
p = ['gstreamer-1.0-dvd']
self.packages = [ x for x in self.packages if x[0] not in p]
if self.config.target_platform == Platform.IOS:
self.resources_postinstall = 'post_install_ios'
#self.user_resources = ['share/gst-sdk/tutorials/xcode iOS']
|