summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-07-12 09:07:48 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-07-12 09:08:28 +0200
commitb0d467ff2b0af51a2d6bbe603e252072a029c6b9 (patch)
tree4b86e2e6437543ea46a33bd8c9a8fcb01cbc302b
parenta472a4089e9c2e59c92ee252ebf2c27638cd3fdf (diff)
gst-plugins-gl: Add recipes
-rw-r--r--recipes/gst-plugins-gl-1.0-static.recipe25
-rw-r--r--recipes/gst-plugins-gl-1.0.recipe32
2 files changed, 57 insertions, 0 deletions
diff --git a/recipes/gst-plugins-gl-1.0-static.recipe b/recipes/gst-plugins-gl-1.0-static.recipe
new file mode 100644
index 0000000..b28ca8c
--- /dev/null
+++ b/recipes/gst-plugins-gl-1.0-static.recipe
@@ -0,0 +1,25 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+class Recipe(custom.GStreamerStatic):
+ name = 'gst-plugins-gl-1.0-static'
+ version = '1.0'
+ gstreamer_version = '1.0'
+ licenses = [License.LGPLv2Plus]
+ config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
+ extra_configure_options = "--disable-examples "
+ make_check = None
+ commit = 'upstream/master'
+ deps = ['gstreamer', 'gst-plugins-base' ]
+
+ files_plugins_devel = ['libgstopengl']
+
+ def prepare(self):
+ if self.config.target_platform != Platform.LINUX:
+ self.configure_options += ' --disable-gtk-doc'
+
+ super(Recipe, self).prepare()
+
+ self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-plugins-gl'))
+ self.remotes['upstream'] = self.remotes['origin']
+
diff --git a/recipes/gst-plugins-gl-1.0.recipe b/recipes/gst-plugins-gl-1.0.recipe
new file mode 100644
index 0000000..c43e367
--- /dev/null
+++ b/recipes/gst-plugins-gl-1.0.recipe
@@ -0,0 +1,32 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+class Recipe(recipe.Recipe):
+ name = 'gst-plugins-gl-1.0'
+ version = '1.0'
+ licenses = [License.LGPLv2Plus]
+ config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
+ configure_options = "--disable-examples "
+ commit = 'upstream/master'
+ deps = ['gstreamer', 'gst-plugins-base' ]
+
+ files_libs = ['libgstgl-1.0']
+
+ files_devel = ['include/gstreamer-1.0/gst/gl',
+ 'lib/pkgconfig/gstreamer-gl-1.0.pc']
+
+ files_lang = ['gst-plugins-gl-1.0']
+
+ files_plugins_gl = ['lib/gstreamer-1.0/libgstopengl%(mext)s']
+
+ def prepare(self):
+ self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-plugins-gl'))
+ self.remotes['upstream'] = self.remotes['origin']
+
+ 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 '
+