mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
7853700b50
Makes sure their path gets added to the uninstalled environment and makes sure they get included in the docs.
30 lines
895 B
Meson
30 lines
895 B
Meson
vdpau_sources = [
|
|
'gstvdpau.c',
|
|
'gstvdputils.c',
|
|
'gstvdpvideomemory.c',
|
|
'gstvdpvideobufferpool.c',
|
|
'gstvdpdevice.c',
|
|
'gstvdpdecoder.c',
|
|
'mpeg/gstvdpmpegdec.c',
|
|
# 'h264/gsth264dpb.c',
|
|
# 'h264/gstvdph264dec.c',
|
|
]
|
|
|
|
vdpau_dep = dependency('vdpau', required: get_option('vdpau'))
|
|
|
|
if vdpau_dep.found()
|
|
if x11_dep.found()
|
|
gstvdpau = library('gstvdpau',
|
|
vdpau_sources,
|
|
c_args: gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
|
include_directories: [configinc],
|
|
dependencies: [gstbase_dep, gstvideo_dep, gstcodecparsers_dep, vdpau_dep, x11_dep, libm],
|
|
install: true,
|
|
install_dir: plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstvdpau, install_dir: plugins_pkgconfig_install_dir)
|
|
plugins += [gstvdpau]
|
|
elif get_option('vdpau').enabled()
|
|
error('vdpau plugin was enabled but required X11 dependency was not found.')
|
|
endif
|
|
endif
|