mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
19 lines
624 B
Meson
19 lines
624 B
Meson
|
svthevcenc_sources = [
|
||
|
'gstsvthevcenc.c',
|
||
|
]
|
||
|
|
||
|
svthevcenc_dep = dependency('SvtHevcEnc', version : '>= 1.4.1', required: get_option('svthevcenc'))
|
||
|
|
||
|
if svthevcenc_dep.found()
|
||
|
gstsvthevcenc = library('gstsvthevcenc',
|
||
|
svthevcenc_sources,
|
||
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
|
||
|
include_directories : [configinc],
|
||
|
dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, gstcodecparsers_dep, svthevcenc_dep],
|
||
|
install : true,
|
||
|
install_dir : plugins_install_dir,
|
||
|
)
|
||
|
pkgconfig.generate(gstsvthevcenc, install_dir : plugins_pkgconfig_install_dir)
|
||
|
plugins += [gstsvthevcenc]
|
||
|
endif
|