~vcs-imports/gnome-bluetooth/trunk

« back to all changes in this revision

Viewing changes to icons/meson.build

  • Committer: Bastien Nocera
  • Author(s): Jan Alexander Steffens (heftig)
  • Date: 2017-09-15 15:25:39 UTC
  • Revision ID: git-v1:f69fa83e95e0d2a1428efbb29f24c87e3e2f5966
meson: Fix installing the icons

https://bugzilla.gnome.org/show_bug.cgi?id=787728

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
icons_files = [
2
 
  ['apps', 'bluetooth.png'],
3
 
  ['status', 'bluetooth-active.png'],
4
 
  ['status', 'bluetooth-disabled.png'],
5
 
  ['status', 'bluetooth-paired.png']
6
 
]
7
 
 
8
 
icons_48x48_files = [
9
 
  ['apps', 'bluetooth.png'],
10
 
  ['status', 'bluetooth-active.png'],
11
 
  ['status', 'bluetooth-disabled.png']
12
 
]
13
 
 
14
 
icons_scalable_files = [
15
 
  ['apps', 'bluetooth.svg'],
16
 
  ['status', 'bluetooth-paired.svg']
17
 
]
18
 
 
19
 
icons = [
20
 
  ['16x16', icons_files],
21
 
  ['22x22', icons_files],
22
 
  ['24x24', icons_files],
23
 
  ['32x32', icons_files],
24
 
  ['48x48', icons_48x48_files],
25
 
  ['scalable', icons_scalable_files]
26
 
]
27
 
 
28
 
foreach icon: icons
29
 
  foreach icon_file: icon[1]
30
 
    install_data(
31
 
      '_'.join(['hicolor', icon_file[0], icon[0], icon_file[1]]),
32
 
      install_dir: join_paths(gnomebt_icondir, icon[0], icon_file[0])
33
 
    )
34
 
  endforeach
35
 
endforeach
 
1
install_subdir('hicolor', install_dir: gnomebt_icondir)