From e4cdb9e1a846390bafef8e36085242f793464edd Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Fri, 19 May 2023 17:05:11 +0800 Subject: Add meson compilation support --- data/icons/meson.build | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 data/icons/meson.build (limited to 'data/icons/meson.build') diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..93c4a29 --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,35 @@ +apps_icons = [ + ['16x16', 'engrampa.png'], + ['22x22', 'engrampa.png'], + ['24x24', 'engrampa.png'], + ['32x32', 'engrampa.png'], +] + +actions_icons = [ + ['16x16', 'add-folder-to-archive.png', 'extract-archive.png', 'add-files-to-archive.png'], + ['24x24', 'add-folder-to-archive.png', 'extract-archive.png', 'add-files-to-archive.png'], +] + +foreach icon: actions_icons + install_data( + join_paths(icon[0], 'actions', icon[1]), + install_dir: join_paths(get_option('prefix'), 'share/icons', 'hicolor', icon[0], 'actions') + ) + install_data( + join_paths(icon[0], 'actions', icon[2]), + install_dir: join_paths(get_option('prefix'), 'share/icons', 'hicolor', icon[0], 'actions') + ) + install_data( + join_paths(icon[0], 'actions', icon[3]), + install_dir: join_paths(get_option('prefix'), 'share/icons', 'hicolor', icon[0], 'actions') + ) +endforeach + +foreach icon: apps_icons + install_data( + join_paths(icon[0], 'apps', icon[1]), + install_dir: join_paths(get_option('prefix'), 'share/icons', 'hicolor', icon[0], 'apps') + ) +endforeach + +install_subdir('scalable', install_dir : join_paths(datadir, 'icons', 'hicolor')) -- cgit v1.2.1