2018-07-27 13:29:23 +00:00
|
|
|
dssim_dep = dependency('dssim', required : get_option('iqa'),
|
2016-11-16 17:46:24 +00:00
|
|
|
fallback: ['dssim', 'dssim_dep'])
|
|
|
|
|
|
|
|
if dssim_dep.found()
|
|
|
|
gstiqa = library('gstiqa',
|
|
|
|
'iqa.c',
|
|
|
|
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DHAVE_DSSIM'],
|
|
|
|
include_directories : [configinc],
|
2018-12-26 16:54:21 +00:00
|
|
|
dependencies : [gstvideo_dep, gstbase_dep, gst_dep, dssim_dep],
|
2016-11-16 17:46:24 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstiqa, install_dir : plugins_pkgconfig_install_dir)
|
2016-11-16 17:46:24 +00:00
|
|
|
endif
|
|
|
|
|