summaryrefslogtreecommitdiff
path: root/data/meson.build
blob: 98d1d69cab86227d6266e004354ebea4fe3c2ce7 (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
34
35
36
37
38
39
icondir = join_paths(get_option('datadir'), 'icons/hicolor')
foreach size: ['16x16', '22x22', '24x24', '32x32', '48x48', '256x256', 'symbolic']
  install_subdir('icons/hicolor/' + size, install_dir: icondir)
endforeach

install_man ('baobab.1')

desktop_file = i18n.merge_file(
  input: 'org.gnome.baobab.desktop.in',
  output: 'org.gnome.baobab.desktop',
  type: 'desktop',
  po_dir: '../po',
  install: true,
  install_dir: join_paths(get_option('datadir'), 'applications'),
)

appdata_file = i18n.merge_file(
  input: 'org.gnome.baobab.appdata.xml.in',
  output: 'org.gnome.baobab.appdata.xml',
  po_dir: '../po',
  install: true,
  install_dir: join_paths(get_option('datadir'), 'metainfo'),
)

install_data (
  'org.gnome.baobab.gschema.xml',
  install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
)

service_conf = configuration_data ()
service_conf.set ('bindir', join_paths (get_option('prefix'), get_option('bindir')))

configure_file (
  input: 'org.gnome.baobab.service.in',
  output: 'org.gnome.baobab.service',
  configuration: service_conf,
  install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services')
)