summaryrefslogtreecommitdiff
path: root/data/icons/meson.build
blob: 283abbc26aae8de12445ae93910ce646f815e643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
actioniconsdir = pkgdatadir / 'icons' / 'hicolor'
appiconsdir = datadir / 'icons' / 'hicolor'

foreach size : ['16x16', '22x22', '24x24', '32x32']
  install_data([
    size / 'actions/eom-image-collection.png',
    size / 'actions/slideshow-play.png',
  ], install_dir: actioniconsdir / size / 'actions')
endforeach

foreach size : ['16x16', '22x22', '32x32']
  install_data([
    size / 'actions/eom-plugin.png',
  ], install_dir: actioniconsdir / size / 'actions')
endforeach

install_data('48x48/actions/slideshow-play.png', install_dir: actioniconsdir / '48x48' / 'actions')

install_data([
  'scalable/actions/eom-image-collection.svg',
  'scalable/actions/eom-plugin.svg',
  'scalable/actions/slideshow-play.svg',
], install_dir: actioniconsdir / 'scalable' / 'actions')

foreach size : ['16x16', '22x22', '24x24', '32x32']
  install_data([
    size / 'apps/eom.png',
  ], install_dir: appiconsdir / size / 'apps')
endforeach

install_data(['scalable/apps/eom.svg'], install_dir: appiconsdir / 'scalable' / 'apps')

meson.add_install_script(find_program('gtk-update-icon-cache'), '-f', '-t', appiconsdir, skip_if_destdir: true)