File: meson.build

package info (click to toggle)
magpie 0.9.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 28,684 kB
  • sloc: ansic: 333,939; xml: 2,084; python: 1,403; sh: 181; ruby: 167; perl: 120; makefile: 40; javascript: 11
file content (58 lines) | stat: -rw-r--r-- 1,505 bytes parent folder | download
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
msgfmt = find_program('msgfmt')

# Unconditionally use this dir to avoid a circular dep with gnomecc
gnome_keybindings_keysdir = join_paths(datadir, 'gnome-control-center/keybindings')

keybinding_xml_files = [
  '50-mutter-navigation.xml',
  '50-mutter-system.xml',
  '50-mutter-windows.xml',
]

if have_wayland
  keybinding_xml_files += [
    '50-mutter-wayland.xml',
  ]
endif

if have_shared_components
  install_data(keybinding_xml_files,
    install_dir: gnome_keybindings_keysdir,
  )
endif

#xwayland_grab_default_access_rules = get_option('xwayland_grab_default_access_rules')

gschema_config = configuration_data()
gschema_config.set('GETTEXT_DOMAIN', meson.project_name())
gschema_config.set('XWAYLAND_GRAB_DEFAULT_ACCESS_RULES',
                   xwayland_grab_default_access_rules)

schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
if have_shared_components
  configure_file(
    input: 'org.gnome.mutter.gschema.xml.in',
    output: 'org.gnome.mutter.gschema.xml',
    configuration: gschema_config,
    install_dir: schemadir
  )

  configure_file(
    input: 'org.gnome.mutter.wayland.gschema.xml.in',
    output: 'org.gnome.mutter.wayland.gschema.xml',
    configuration: gschema_config,
    install_dir: schemadir
  )

  install_data(['mutter-schemas.convert'],
    install_dir: join_paths(datadir, 'GConf/gsettings'),
  )

  if have_libgudev
    install_data(['61-magpie.rules'],
      install_dir: join_paths(udev_dir, 'rules.d'),
    )
  endif
endif

subdir('dbus-interfaces')