diff options
-rw-r--r-- | packages/gstreamer-1.0-system.package | 3 | ||||
-rw-r--r-- | recipes/graphene.recipe | 27 | ||||
-rw-r--r-- | recipes/gst-plugins-bad-1.0-static.recipe | 3 | ||||
-rw-r--r-- | recipes/gst-plugins-bad-1.0.recipe | 2 |
4 files changed, 31 insertions, 4 deletions
diff --git a/packages/gstreamer-1.0-system.package b/packages/gstreamer-1.0-system.package index f81112d5..31626d60 100644 --- a/packages/gstreamer-1.0-system.package +++ b/packages/gstreamer-1.0-system.package @@ -17,7 +17,8 @@ class Package(package.Package): deps = ['gstreamer-1.0-core'] files = ['gst-plugins-base-1.0:plugins_sys', 'gst-plugins-good-1.0:plugins_sys', - 'gst-plugins-ugly-1.0:plugins_sys', 'gst-plugins-bad-1.0:plugins_sys'] + 'gst-plugins-ugly-1.0:plugins_sys', 'gst-plugins-bad-1.0:plugins_sys', + 'graphene:libs'] files_devel = ['gst-plugins-base-1.0-static:plugins_sys_devel', 'gst-plugins-good-1.0-static:plugins_sys_devel', 'gst-plugins-ugly-1.0-static:plugins_sys_devel', diff --git a/recipes/graphene.recipe b/recipes/graphene.recipe new file mode 100644 index 00000000..c64d24e1 --- /dev/null +++ b/recipes/graphene.recipe @@ -0,0 +1,27 @@ + # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +import sys + +class Recipe(recipe.Recipe): + name = 'graphene' + remotes = {'origin': 'https://github.com/ebassi/graphene.git'} + commit = '0.99.2' + version = '0.99.2' + licenses = [License.MIT] + deps = ['glib'] + + config_sh = 'sh ./autogen.sh' + + files_libs = ['libgraphene-1.0'] + files_typelibs = ['Graphene-1.0'] + + files_devel = [ + 'include/graphene-1.0', + 'lib/pkgconfig/graphene-1.0.pc', + 'lib/pkgconfig/graphene-gobject-1.0.pc', + ] + + def prepare(self): + if self.config.variants.gi: + # graphene needs gi 1.41.0+ + # self.deps.append("gobject-introspection") + self.config.variants.gi = False diff --git a/recipes/gst-plugins-bad-1.0-static.recipe b/recipes/gst-plugins-bad-1.0-static.recipe index 11820f08..8e82e646 100644 --- a/recipes/gst-plugins-bad-1.0-static.recipe +++ b/recipes/gst-plugins-bad-1.0-static.recipe @@ -22,8 +22,7 @@ class Recipe(custom.GStreamerStatic): deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'bzip2', 'libass', 'faad2', 'libkate', 'zlib', 'openh264', 'opus', 'nettle', 'librtmp', 'libsrtp', 'schroedinger', 'libdca', 'libmms', 'libdvdnav', - 'soundtouch', 'vo-aacenc', 'librsvg', 'openjpeg'] - use_system_libs = True + 'soundtouch', 'vo-aacenc', 'librsvg', 'openjpeg', 'graphene'] files_plugins_effects_devel = [ 'libgstaccurip', diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe index 6fc68100..d5dae4e9 100644 --- a/recipes/gst-plugins-bad-1.0.recipe +++ b/recipes/gst-plugins-bad-1.0.recipe @@ -29,7 +29,7 @@ class Recipe(recipe.Recipe): deps = ['gstreamer-1.0', 'gst-plugins-base-1.0', 'bzip2', 'libass', 'faad2', 'libkate', 'zlib', 'openh264', 'opus', 'nettle', 'librtmp', 'libsrtp', 'schroedinger', 'libdca', 'libmms', 'libdvdnav', - 'soundtouch', 'vo-aacenc', 'librsvg', 'openjpeg'] + 'soundtouch', 'vo-aacenc', 'librsvg', 'openjpeg', 'graphene'] use_system_libs = True files_lang = ['gst-plugins-bad-1.0'] |