summaryrefslogtreecommitdiff
path: root/schemas/meson.build
blob: 677e4ef506a6156846f117f8e307f0f14341204d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
gsettingsdir = datadir / 'glib-2.0/schemas'
install_data('org.gnome.GWeather.gschema.xml',
  install_dir: gsettingsdir,
)

gnome.mkenums('org.gnome.GWeather.enums.xml',
  comments: '<!-- @comment@ -->',
  fhead: '<schemalist>',
  vhead: '<@type@ id="org.gnome.GWeather.@EnumName@">',
  vprod: '<value nick="@valuenick@" value="@valuenum@"/>',
  vtail: '</@type@>',
  ftail: '</schemalist>',
  sources: ['../libgweather/gweather-enums.h'],
  install_header: true,
  install_dir: gsettingsdir,
)