2016-08-12 15:51:45 +00:00
|
|
|
winscreencap_sources = [
|
|
|
|
'gstdx9screencapsrc.c',
|
|
|
|
'gstgdiscreencapsrc.c',
|
|
|
|
'gstwinscreencap.c',
|
|
|
|
]
|
|
|
|
|
|
|
|
if host_system == 'windows' and cc.has_header('d3d9.h')
|
|
|
|
winscreencap_dep = [cc.find_library('d3d9'), cc.find_library('gdi32')]
|
|
|
|
|
|
|
|
gstwinscreencap = library('gstwinscreencap',
|
|
|
|
winscreencap_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
2016-10-17 16:35:41 +00:00
|
|
|
dependencies : [gstbase_dep, gstvideo_dep] + winscreencap_dep,
|
2016-08-12 15:51:45 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstwinscreencap, install_dir : plugins_pkgconfig_install_dir)
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|