You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.0 KiB

if get_option('screen').allowed()
# XCB screen grab
if xcb_dep.found() and xcb_shm_dep.found() and xcb_composite_dep.found()
vlc_modules += {
'name' : 'xcb_screen',
'sources' : files('xcb.c'),
'dependencies' : [xcb_dep, xcb_shm_dep, xcb_composite_dep]
}
endif
# screen
if host_system == 'windows' or host_system == 'darwin'
screen_files = files(
'screen.c',
'screen.h'
)
screen_deps = []
screen_link_with = []
if host_system == 'windows'
screen_files += files('win32.c', 'dxgi.cpp')
gdi32_dep = cc.find_library('gdi32')
screen_deps += [gdi32_dep]
screen_link_with += d3d11_common_lib
else
screen_files += files('mac.c')
applicationservices_dep = dependency('ApplicationServices', required: true)
screen_deps += [applicationservices_dep]
endif
vlc_modules += {
'name' : 'screen',
'sources' : screen_files,
'dependencies' : screen_deps,
'link_with' : screen_link_with,
}
endif
endif