summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-08-21 13:27:20 +0200
committerThibault Saunier <tsaunier@gnome.org>2015-08-21 21:39:25 +0200
commitc0fb3dceca61fcf3f14656632e935bef8ca696ee (patch)
tree7364019ce99ff86369772af329f59fdea547f901
parent7e9e6995102a703c53095dacdd1d003aaf87981f (diff)
recipes: Dist new NLE plugin
-rw-r--r--packages/gstreamer-1.0-editing.package4
-rw-r--r--recipes/gst-editing-services-1.0-static.recipe25
-rw-r--r--recipes/gst-editing-services-1.0.recipe2
3 files changed, 30 insertions, 1 deletions
diff --git a/packages/gstreamer-1.0-editing.package b/packages/gstreamer-1.0-editing.package
index 5a43f533..73b61892 100644
--- a/packages/gstreamer-1.0-editing.package
+++ b/packages/gstreamer-1.0-editing.package
@@ -15,4 +15,6 @@ class Package(package.Package):
uuid = '4befe092-e10a-4500-9ac9-d9c6d18072a1'
deps = ['gstreamer-1.0-core', 'gstreamer-1.0-devtools']
- files = ['gst-editing-services-1.0']
+ files = ['gst-editing-services-1.0:bins:libs:typelibs:plugins_ges']
+ files_devel = ['gst-editing-services-1.0-static:plugins_ges_devel',
+ 'gst-editing-services-1.0:devel']
diff --git a/recipes/gst-editing-services-1.0-static.recipe b/recipes/gst-editing-services-1.0-static.recipe
new file mode 100644
index 00000000..253ca3e2
--- /dev/null
+++ b/recipes/gst-editing-services-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-editing-services-1.0-static'
+ version = '1.5'
+ gstreamer_version = '1.0'
+ licenses = [License.LGPLv2Plus]
+ extra_configure_options = "--enable-static"
+ remotes = {'origin': 'git://anongit.freedesktop.org/gstreamer/gst-editing-services'}
+ commit = 'origin/master'
+ config_sh = 'sh ./autogen.sh --noconfigure && ./configure'
+ deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'gst-plugins-good-1.0', 'gst-validate']
+
+ files_plugins_ges_devel = ['libgstnle']
+
+ def prepare(self):
+ 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 --disable-docbook'
+
+ custom.GStreamerStatic.prepare(self)
diff --git a/recipes/gst-editing-services-1.0.recipe b/recipes/gst-editing-services-1.0.recipe
index 7731ceca..d2ecdb78 100644
--- a/recipes/gst-editing-services-1.0.recipe
+++ b/recipes/gst-editing-services-1.0.recipe
@@ -16,6 +16,8 @@ class Recipe(recipe.Recipe):
files_libs = ['libges-1.0']
files_typelibs = ['GES-1.0']
+ files_plugins_ges = [ 'lib/gstreamer-1.0/libgstnle%(mext)s' ]
+
# files_python = ['site-packages/ges%(pext)s']
def prepare(self):