summaryrefslogtreecommitdiff
path: root/recipes/gst-validate.recipe
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-03-24 16:01:08 +0100
committerThibault Saunier <tsaunier@gnome.org>2014-06-16 14:44:39 +0200
commit4a2479116664e46d8bdd9ae90f80c60bde3a661a (patch)
tree57387963fcefefb545a9c4daa110a2636b9795a1 /recipes/gst-validate.recipe
parent52b29dcb664737a1a3e82379f71ed6dacf500cfa (diff)
recipes: Add a gst-validate recipe
Diffstat (limited to 'recipes/gst-validate.recipe')
-rw-r--r--recipes/gst-validate.recipe28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/gst-validate.recipe b/recipes/gst-validate.recipe
new file mode 100644
index 00000000..8153df00
--- /dev/null
+++ b/recipes/gst-validate.recipe
@@ -0,0 +1,28 @@
+# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.utils import shell
+
+class Recipe(recipe.Recipe):
+ name = 'gst-validate'
+ version = '1.0'
+ licenses = [License.LGPLv2Plus]
+ commit = 'origin/master'
+ srcdir = 'validate'
+ config_sh = 'sh ./autogen.sh --noconfigure && ./configure --program-transform-name= '
+ deps = ['gstreamer-1.0', 'gst-plugins-base-1.0']
+
+ files_bins = ['gst-validate-1.0', 'gst-validate-transcoding-1.0', 'gst-validate-media-check-1.0']
+ files_libs = ['libgstvalidate-1.0']
+ files_devel = ["include/gstreamer-1.0/gst/validate/*.h"
+ "lib/pkgconfig/gst-validate-1.0.pc"]
+
+ files_validate = ["lib/gst-validate-launcher/",
+ 'bin/gst-validate-launcher',
+ "share/gstreamer-1.0/validate-scenario/*.scenario"
+ ]
+
+ def prepare(self):
+ self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-devtools'))
+ self.remotes['upstream'] = self.remotes['origin']
+ if self.config.target_platform == Platform.LINUX:
+ self.files_libs.extend(["libgstvalidate-preload-1.0",
+ "libgstvalidate-default-overrides-1.0"])