• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2if not gstgl_dep.found()
3  if get_option('wpe').enabled()
4    error('wpe plugin enabled but GL support was not detected')
5  endif
6  subdir_done()
7endif
8
9wpe_dep = dependency('wpe-webkit-1.0', version : '>= 2.24', required : get_option('wpe'))
10wpe_fdo_dep = dependency('wpebackend-fdo-1.0', required : get_option('wpe'))
11egl_dep = dependency('egl', required : get_option('wpe'))
12xkbcommon_dep = dependency('xkbcommon', version : '>= 0.8', required : get_option('wpe'))
13
14if not wpe_dep.found() or not wpe_fdo_dep.found() or not egl_dep.found() or not xkbcommon_dep.found()
15  subdir_done()
16endif
17
18gstwpe = library('gstwpe',
19  ['WPEThreadedView.cpp', 'gstwpesrc.cpp'],
20  dependencies : [egl_dep, wpe_dep, wpe_fdo_dep, gstvideo_dep, gstbase_dep, gstgl_dep, xkbcommon_dep],
21  cpp_args : gst_plugins_bad_args + ['-DHAVE_CONFIG_H=1'],
22  include_directories : [configinc],
23  install : true,
24  install_dir : plugins_install_dir)
25pkgconfig.generate(gstwpe, install_dir : plugins_pkgconfig_install_dir)
26