1 x11_dep = dependency('x11', required : get_option('x11'))
5 # FIXME: Need to check for XShmAttach inside libXext
6 xshm_dep = dependency('xext', required : false)
8 x_args += ['-DHAVE_XSHM']
11 xfixes_dep = dependency('xfixes', required : false)
13 x_args += ['-DHAVE_XFIXES']
16 xdamage_dep = dependency('xdamage', required : false)
17 if xdamage_dep.found()
18 x_args += ['-DHAVE_XDAMAGE']
21 gstximagesrc = library('gstximagesrc',
22 'gstximagesrc.c', 'ximageutil.c',
23 c_args : gst_plugins_good_args + x_args,
24 include_directories : [configinc, libsinc],
25 dependencies : [gstbase_dep, gstvideo_dep, x11_dep,
26 xshm_dep, xfixes_dep, xdamage_dep],
28 install_dir : plugins_install_dir,
30 pkgconfig.generate(gstximagesrc, install_dir : plugins_pkgconfig_install_dir)