summaryrefslogtreecommitdiffstats
path: root/schemas/meson.build
blob: 65065924aabcb17e85414ddbb0e01ea2e8026171 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
schemas = [
  'org.gnome.desktop.default-applications.gschema.xml',
  'org.gnome.desktop.interface.gschema.xml',
  'org.gnome.desktop.lockdown.gschema.xml',
  'org.gnome.system.locale.gschema.xml',
  'org.gnome.system.location.gschema.xml',
  'org.gnome.system.proxy.gschema.xml',
  'org.gnome.desktop.sound.gschema.xml',
  'org.gnome.desktop.thumbnail-cache.gschema.xml',
  'org.gnome.desktop.a11y.gschema.xml',
  'org.gnome.desktop.a11y.keyboard.gschema.xml',
  'org.gnome.desktop.a11y.applications.gschema.xml',
  'org.gnome.desktop.a11y.interface.gschema.xml',
  'org.gnome.desktop.a11y.magnifier.gschema.xml',
  'org.gnome.desktop.a11y.mouse.gschema.xml',
  'org.gnome.desktop.thumbnailers.gschema.xml',
  'org.gnome.desktop.session.gschema.xml',
  'org.gnome.desktop.background.gschema.xml',
  'org.gnome.desktop.calendar.gschema.xml',
  'org.gnome.desktop.datetime.gschema.xml',
  'org.gnome.desktop.media-handling.gschema.xml',
  'org.gnome.desktop.screensaver.gschema.xml',
  'org.gnome.desktop.search-providers.gschema.xml',
  'org.gnome.desktop.wm.keybindings.gschema.xml',
  'org.gnome.desktop.wm.preferences.gschema.xml',
  'org.gnome.desktop.input-sources.gschema.xml',
  'org.gnome.desktop.privacy.gschema.xml',
  'org.gnome.desktop.notifications.gschema.xml',
  'org.gnome.desktop.app-folders.gschema.xml',
  'org.gnome.desktop.peripherals.gschema.xml',
]

conf = configuration_data()
conf.set('prefix', prefix)
conf.set('exec_prefix', prefix)
conf.set('libdir', libdir)
conf.set('bindir', bindir)
conf.set('libexecdir', libexecdir)
conf.set('datarootdir', datadir)
conf.set('datadir', datadir)
conf.set('includedir', includedir)

generated_schemas = []
foreach schema: schemas
  generated_schemas += configure_file(
    output: schema,
    input: schema + '.in',
    configuration: conf,
  )
endforeach

install_data(generated_schemas, install_dir: schemasdir)

install_data(
  'gsettings-desktop-schemas.convert',
  'wm-schemas.convert',
  install_dir: join_paths(datadir, 'GConf', 'gsettings'),
)