Commit 9d0216e4 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Allow to disable icon conversion

parent 17118624
......@@ -9,7 +9,7 @@ zathura_resources = gnome.compile_resources(
install_data('org.pwmt.zathura.xml', install_dir: dbusinterfacesdir)
install_data('org.pwmt.zathura.svg', install_dir: join_paths(datadir, 'icons', 'scalable', 'apps'))
rsvg_convert = find_program('rsvg-convert', required: false, native: true)
rsvg_convert = find_program('rsvg-convert', required: get_option('convert-icon'), native: true)
if rsvg_convert.found()
foreach width : [16, 32, 64, 128, 256]
subdir('icon-@0@'.format(width))
......
......@@ -28,3 +28,8 @@ option('tests',
value: 'auto',
description: 'run tests'
)
option('convert-icon',
type: 'feature',
value: 'auto',
description: 'convert icon to PNG'
)
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