Try to reenable Print plugin on Windows. Let's see if the CI passes.

This commit is contained in:
Félix Piédallu 2020-07-06 11:03:21 +02:00 committed by Jehan
parent 979b0bd9b3
commit 1a19ac6a3a
2 changed files with 3 additions and 9 deletions

View file

@ -613,18 +613,12 @@ conf.set('HAVE_X11_XMU_WINUTIL_H',
x11_target and cc.has_header('X11/Xmu/WinUtil.h'))
have_print = get_option('print')
# Features requiring x11
have_doc_shooter= x11_target
if get_option('print').disabled()
have_print = false
elif get_option('print').enabled() and not x11_target
error('Printing requires x libs')
else
have_print = x11_target
endif
if get_option('screenshot').disabled()
have_screenshot = false
elif get_option('screenshot').enabled() and not x11_target

View file

@ -42,7 +42,7 @@ option('jpeg2000', type: 'feature', value: 'auto', description: 'Jpeg-2
option('mng', type: 'feature', value: 'auto', description: 'Mng support')
option('openexr', type: 'feature', value: 'auto', description: 'Openexr support')
option('png', type: 'feature', value: 'auto', description: 'PNG support')
option('print', type: 'feature', value: 'auto', description: 'Print support')
option('print', type: 'boolean', value: true, description: 'Print support')
option('screenshot', type: 'feature', value: 'auto', description: 'Screensh')
option('tiff', type: 'feature', value: 'auto', description: 'TIFF support')
option('vala-plugins', type: 'feature', value: 'auto', description: 'Build VAPI and Vala plugins')