File: meson.build

package info (click to toggle)
gedit-plugins 48.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,084 kB
  • sloc: python: 2,730; ansic: 2,549; xml: 199; makefile: 11
file content (31 lines) | stat: -rw-r--r-- 712 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
msgfmt_plugin_cmd = [
  find_program('msgfmt'),
  '--desktop',
  '--keyword=Name',
  '--keyword=Description',
  '--template=@INPUT@',
  '-d', join_paths(srcdir, 'po'),
  '--output=@OUTPUT@'
]

plugin_in = configuration_data()
plugin_in.set('VERSION', meson.project_version())

gpdefs_config_data = configuration_data()
gpdefs_config_data.set('GETTEXT_PACKAGE', meson.project_name())

configure_file(
  input: 'gpdefs.py.in',
  output: 'gpdefs.py',
  configuration: gpdefs_config_data,
  install: true,
  install_dir: get_option('libdir') / 'gedit/plugins',
)

foreach plugin_name : enabled_c_plugins
  subdir(plugin_name)
endforeach

foreach plugin_name : enabled_python_plugins
  subdir(plugin_name)
endforeach