meson.build 494 Bytes
Newer Older
1
hicolor_dir = join_paths(datadir, 'icons', 'hicolor')
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
2

3
scalable_dir = join_paths('scalable', 'apps')
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
4
install_data(
5 6
  join_paths(scalable_dir, 'org.gnome.Games.svg'),
  install_dir: join_paths(hicolor_dir, scalable_dir),
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
7 8
  rename: '@0@.svg'.format(application_id)
)
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
9

10
symbolic_dir = join_paths('symbolic', 'apps')
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
11
install_data(
12 13
  join_paths(symbolic_dir, 'org.gnome.Games-symbolic.svg'),
  install_dir: join_paths(hicolor_dir, symbolic_dir),
14
  rename: '@0@-symbolic.svg'.format(application_id)
Alexander Mikhaylenko's avatar
Alexander Mikhaylenko committed
15
)