blob: a579b02bebd2c0c7c8b19f6fc38577437c66d048 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# -*- 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 = '3aa5ed9d7f4b5a7cb60d8b0370d983d59395de546ee76704401180fd0fd5ee86'
meson_options = {# auto enable plugins
'encoders': 'auto',
'drm': 'auto',
'wayland': 'auto'}
deps = ['gst-plugins-bad-1.0']
use_system_libs = True
files_plugins_codecs = [
'%(libdir)s/gstreamer-1.0/libgstvaapi%(mext)s',
]
files_plugins_codecs_devel = [
'%(libdir)s/gstreamer-1.0/libgstvaapi.a',
]
def prepare(self):
if self.config.variants.x11:
self.meson_options['x11'] = 'enabled'
else:
self.meson_options['x11'] = 'auto'
|