meson.build 1009 Bytes
Newer Older
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
subdir('icons')

desktops = [
  'org.gnome.DiskUtility.desktop',
  'gnome-disk-image-mounter.desktop',
  'gnome-disk-image-writer.desktop'
]

foreach desktop: desktops
  i18n.merge_file (
    desktop,
    type: 'desktop',
    input: desktop + '.in',
    output: desktop,
    po_dir: po_dir,
    install: true,
    install_dir: join_paths(gdu_datadir, 'applications')
  )
endforeach

service_conf = configuration_data()
service_conf.set('bindir', gdu_bindir)

service = 'org.gnome.DiskUtility.service'

configure_file(
  input: service + '.in',
  output: service,
  install: true,
  install_dir: join_paths(gdu_datadir, 'dbus-1', 'services'),
  configuration: service_conf
)

install_data(
  'org.gnome.Disks.gschema.xml',
  install_dir: join_paths(gdu_datadir, 'glib-2.0', 'schemas')
)

Kalev Lember's avatar
Kalev Lember committed
39
info = 'org.gnome.DiskUtility.appdata.xml'
40 41 42 43 44 45 46 47 48

i18n.merge_file(
  info,
  input: 'org.gnome.DiskUtility.appdata.xml.in',
  output: info,
  po_dir: po_dir,
  install: true,
  install_dir: join_paths(gdu_datadir, 'metainfo')
)