summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-18 10:32:33 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-22 08:35:45 +0200
commit0797053db15d67355d10bfffc8ccb42d884340ba (patch)
tree5e917b9b94212188a9cb56ec091b98b4bca7dc9b
parent4a3201499441d1310b9270f562ae968ae2d64f64 (diff)
gstreamer-1.0: Add gstreamer-1.0-osx-framework
-rw-r--r--recipes/gstreamer-1.0-osx-framework.recipe23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes/gstreamer-1.0-osx-framework.recipe b/recipes/gstreamer-1.0-osx-framework.recipe
new file mode 100644
index 0000000..43e8caa
--- /dev/null
+++ b/recipes/gstreamer-1.0-osx-framework.recipe
@@ -0,0 +1,23 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+
+from cerbero.ide.xcode.fwlib import DynamicFrameworkLibrary
+
+class Recipe(recipe.Recipe):
+ name = 'gstreamer-1.0-osx-framework'
+ version = '0.1'
+ licenses = [License.LGPL]
+ stype = SourceType.CUSTOM
+ btype = BuildType.CUSTOM
+ deps = ['gstreamer-1.0', 'gst-plugins-base-1.0']
+
+ files_library = ['lib/GStreamer']
+
+ def install(self):
+ install_name = os.path.join(self.config.prefix, 'lib', 'GStreamer')
+ libs = ['gstreamer-1.0', 'gstreamer-app-1.0', 'gstreamer-audio-1.0',
+ 'gstreamer-base-1.0', 'gstreamer-controller-1.0', 'gstreamer-fft-1.0',
+ 'gstreamer-net-1.0', 'gstreamer-pbutils-1.0', 'gstreamer-riff-1.0',
+ 'gstreamer-rtp-1.0', 'gstreamer-rtsp-1.0',
+ 'gstreamer-sdp-1.0', 'gstreamer-tag-1.0', 'gstreamer-video-1.0']
+ fwlib = DynamicFrameworkLibrary(install_name, install_name, libs, self.config.target_arch)
+ fwlib.create()