# -*- 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 tarball_checksum = 'a9a550267c9584df0e8c70434d30476e8fd0018b733c1c1ee33deaf422bdb24b' meson_options = {# auto enable plugins 'encoders': 'auto', 'drm': 'auto', '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['x11'] = 'enabled' else: self.meson_options['x11'] = 'auto'