summaryrefslogtreecommitdiff
path: root/packages/gstreamer-1.0/gstreamer-1.0.package
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-10 10:21:20 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-05-12 13:56:35 +0200
commit9e5d68d830b5320baed234a0fa93805ec28ad78e (patch)
treed2b8ac195a250a87703dfd7e8d9acd8c4e920233 /packages/gstreamer-1.0/gstreamer-1.0.package
parenta040aafd6e1f9c52ae616d22138761be90ac90ad (diff)
upstream: De-SDK the packages
Diffstat (limited to 'packages/gstreamer-1.0/gstreamer-1.0.package')
-rw-r--r--packages/gstreamer-1.0/gstreamer-1.0.package66
1 files changed, 66 insertions, 0 deletions
diff --git a/packages/gstreamer-1.0/gstreamer-1.0.package b/packages/gstreamer-1.0/gstreamer-1.0.package
new file mode 100644
index 00000000..bbd331fd
--- /dev/null
+++ b/packages/gstreamer-1.0/gstreamer-1.0.package
@@ -0,0 +1,66 @@
+# -*- 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.0.7'
+ 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),
+ ]
+ platform_packages = {
+ Platform.WINDOWS: [('vsintegration-1.0', 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'