Gimp/icons/Color/32/meson.build
Jehan ae6c58652e icons, tools: fix the CI when building icon resources with vector icons.
Ok that was a bit of a mess with the 4 build cases (combinations of
meson, autotools, vector and raster icons). I *think* this is now OK.

Basically we still need to build the colorsvg2png tool even when
installing vector icons, just for the purpose of the 2 icons
dialog-question and gimp-wilber-eek which we compile into GLib resources
from PNG images.

Also it looks like I completely forgot to add the subdir meson.build in
icons/Color/.
2022-01-31 22:33:30 +01:00

17 lines
382 B
Meson

icons_dir = size + 'x' + size
foreach icon : source_icons
icon_name = icon + '.png'
input_path = '../scalable/' + icon + '.svg'
custom_target(icon_name,
input : [ input_path ],
output: [ icon_name ],
command: [
colorsvg2png, '@INPUT@', '@OUTPUT@', size,
],
install: true,
install_dir: gimpiconsdir / theme / icons_dir / 'apps',
)
endforeach