• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1iqa_opt = get_option('iqa').require(gpl_allowed, error_message: '''
2  Plugin iqa explicitly required via options but (A)GPL-licensed plugins disabled via options.
3  Pass option -Dgpl=enabled to Meson to allow (A)GPL-licensed plugins to be built.
4  ''')
5
6dssim_dep = dependency('dssim', required: iqa_opt,
7    fallback: ['dssim', 'dssim_dep'])
8
9if dssim_dep.found()
10  gstiqa = library('gstiqa',
11    'iqa.c',
12    c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DHAVE_DSSIM'],
13    include_directories : [configinc],
14    dependencies : [gstvideo_dep, gstbase_dep, gst_dep, dssim_dep],
15    install : true,
16    install_dir : plugins_install_dir,
17  )
18  pkgconfig.generate(gstiqa, install_dir : plugins_pkgconfig_install_dir)
19  plugins += [gstiqa]
20endif
21
22