File: meson.build

package info (click to toggle)
gedit 48.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,636 kB
  • sloc: ansic: 47,496; python: 649; xml: 536; objc: 446; makefile: 205; sh: 62
file content (43 lines) | stat: -rw-r--r-- 929 bytes parent folder | download | duplicates (2)
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
plugin_spell_sources = files(
  'gedit-spell-app-activatable.c',
  'gedit-spell-plugin.c',
)

subdir('resources')

shared_module(
  'spell',
  sources: plugin_spell_sources,
  include_directories: root_include_dir,
  dependencies: [libgedit_dep, gspell_dep],
  install: true,
  install_dir: get_option('libdir') / 'gedit/plugins',
  name_suffix: module_suffix,
)

plugin_spell_gschema_file = files('org.gnome.gedit.plugins.spell.gschema.xml')
install_data(
  plugin_spell_gschema_file,
  install_dir: get_option('datadir') / 'glib-2.0/schemas',
)

if xmllint.found()
  test(
    'validate-spell-gschema',
    xmllint,
    args: [
      '--noout',
      '--dtdvalid', gschema_dtd,
      plugin_spell_gschema_file,
    ]
  )
endif

custom_target(
  'spell.plugin',
  input: 'spell.plugin.desktop.in',
  output: 'spell.plugin',
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: get_option('libdir') / 'gedit/plugins',
)