gstreamer/ext/svthevcenc/meson.build

19 lines
624 B
Meson
Raw Normal View History

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