1svthevcenc_sources = [ 2 'gstsvthevcenc.c', 3] 4 5svthevcenc_dep = dependency('SvtHevcEnc', version : '>= 1.4.1', required: get_option('svthevcenc')) 6 7if svthevcenc_dep.found() 8 gstsvthevcenc = library('gstsvthevcenc', 9 svthevcenc_sources, 10 c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], 11 include_directories : [configinc], 12 dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, gstcodecparsers_dep, svthevcenc_dep], 13 install : true, 14 install_dir : plugins_install_dir, 15 ) 16 pkgconfig.generate(gstsvthevcenc, install_dir : plugins_pkgconfig_install_dir) 17 plugins += [gstsvthevcenc] 18endif 19