mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 22:26:02 +01:00
Allow to disable icon conversion
This commit is contained in:
parent
1711862495
commit
9d0216e485
2 changed files with 6 additions and 1 deletions
|
@ -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'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue