diff options
author | Jochen Henneberg <jh@henneberg-systemdesign.com> | 2019-03-02 18:48:56 +0100 |
---|---|---|
committer | Jochen Henneberg <jh@henneberg-systemdesign.com> | 2019-11-02 17:17:03 +0000 |
commit | 992a1d7fd789efe84f8e0efb9a1d9f385061e9bf (patch) | |
tree | 9fd65a53ee910396a85162096829a2ee00925460 /recipes/gstreamer-vaapi-1.0.recipe | |
parent | cf86f311f536b3e956ad0c33c1d4fd99a68d82a1 (diff) |
recipes: Added recipe for gstreamer-vaapi
cerbero: Added 'vaapi' variant
If this is set (default is unset) the gstreamer-vaapi recipe is added to
the codecs package build.
vaapi.recipe: Fixed plugin path
Update README for new vaapi variant
vaapi.recipe: Bind x11 build to variant
Diffstat (limited to 'recipes/gstreamer-vaapi-1.0.recipe')
-rw-r--r-- | recipes/gstreamer-vaapi-1.0.recipe | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/gstreamer-vaapi-1.0.recipe b/recipes/gstreamer-vaapi-1.0.recipe new file mode 100644 index 00000000..4a6cf590 --- /dev/null +++ b/recipes/gstreamer-vaapi-1.0.recipe @@ -0,0 +1,27 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + + +class Recipe(custom.GStreamer): + name = 'gstreamer-vaapi-1.0' + btype = BuildType.MESON + meson_options = {# auto enable plugins + 'with_encoders': 'auto', + 'with_drm': 'auto', + 'with_wayland': 'auto'} + + deps = ['gst-plugins-bad-1.0'] + use_system_libs = True + + files_plugins_codecs = [ + 'lib/gstreamer-1.0/libgstvaapi%(mext)s', + ] + + files_plugins_codecs_devel = [ + 'lib/gstreamer-1.0/libgstvaapi.a', + ] + + def prepare(self): + if self.config.variants.x11: + self.meson_options['with_x11'] = 'yes' + else: + self.meson_options['with_x11'] = 'auto' |