Commit 248d2e95 authored by Jacob Boerema's avatar Jacob Boerema Committed by Jehan

plug-ins: enable screenshot for non x11 targets in meson build.

This also removes screenshot as an option for the meson build
since the autotools build doesn't have that option either.
parent 9b55f825
Pipeline #200903 passed with stages
in 28 minutes and 19 seconds
......@@ -619,14 +619,6 @@ have_print = get_option('print')
have_doc_shooter= x11_target
if get_option('screenshot').disabled()
have_screenshot = false
elif get_option('screenshot').enabled() and not x11_target
error('Printing requires x libs')
else
have_screenshot = x11_target
endif
################################################################################
# Plugins (optional dependencies)
......
......@@ -43,7 +43,6 @@ option('mng', type: 'feature', value: 'auto', description: 'Mng su
option('openexr', type: 'feature', value: 'auto', description: 'Openexr support')
option('png', type: 'feature', value: 'auto', description: 'PNG 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')
option('webkit', type: 'feature', value: 'auto', description: 'Help browser and webpage plugins')
......
if have_screenshot
plugin_name = 'screenshot'
plugin_sources = [
'screenshot-freedesktop.c',
......@@ -24,5 +24,3 @@ screenshot = executable('screenshot',
install: true,
install_dir: gimpplugindir / 'plug-ins' / plugin_name,
)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment