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],
|
2017-12-02 16:01:25 +00:00
|
|
|
dependencies : [gst_dep, gstbadvideo_dep, gstbase_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
|
|
|
|
|