File: meson.build

package info (click to toggle)
muffin 6.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,404 kB
  • sloc: ansic: 312,122; xml: 1,877; python: 538; sh: 236; ruby: 167; perl: 120; makefile: 76
file content (46 lines) | stat: -rw-r--r-- 1,273 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
msgfmt = find_program('msgfmt')

custom_target('muffin.desktop',
  input: 'muffin.desktop.in',
  output: 'muffin.desktop',
  command: [
    msgfmt,
    '--desktop', '--template',
    '@INPUT@',
    '-d', join_paths(meson.project_source_root(), 'po'),
    '-o', '@OUTPUT@'
  ],
  install: true,
  install_dir: join_paths(datadir, 'applications'),
)

#xwayland_grab_default_access_rules = get_option('xwayland_grab_default_access_rules')
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')
configure_file(
  input: 'org.cinnamon.muffin.gschema.xml.in',
  output: 'org.cinnamon.muffin.gschema.xml',
  configuration: gschema_config,
  install_dir: schemadir
)

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

configure_file(
  input: 'org.cinnamon.muffin.x11.gschema.xml.in',
  output: 'org.cinnamon.muffin.x11.gschema.xml',
  configuration: gschema_config,
  install_dir: schemadir
)