summaryrefslogtreecommitdiff
path: root/schemas/meson.build
blob: 639744551a6f21217330c7753480c8340cc5cabb (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
40
41
schemas_data = configuration_data()
schemas_data.set('GETTEXT_PACKAGE', meson.project_name())
schemas_data.set('datadir', matedt_datadir)

schemas_in = [
  'org.mate.background.gschema.xml',
]

schemas = []
foreach s: schemas_in
  schemas += configure_file(
    input: '@0@.in'.format(s),
    output: '@0@'.format(s),
    configuration: schemas_data,
  )
endforeach

schemas += [
  'org.mate.accessibility-keyboard.gschema.xml',
  'org.mate.accessibility-startup.gschema.xml',
  'org.mate.applications-at-mobility.gschema.xml',
  'org.mate.applications-at-visual.gschema.xml',
  'org.mate.applications-browser.gschema.xml',
  'org.mate.applications-calculator.gschema.xml',
  'org.mate.applications-office.gschema.xml',
  'org.mate.applications-terminal.gschema.xml',
  'org.mate.debug.gschema.xml',
  'org.mate.file-views.gschema.xml',
  'org.mate.interface.gschema.xml',
  'org.mate.lockdown.gschema.xml',
  'org.mate.peripherals-keyboard.gschema.xml',
  'org.mate.peripherals-mouse.gschema.xml',
  'org.mate.sound.gschema.xml',
  'org.mate.thumbnail-cache.gschema.xml',
  'org.mate.thumbnailers.gschema.xml',
  'org.mate.typing-break.gschema.xml',
]

install_data(schemas,
  install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas'),
)