summaryrefslogtreecommitdiff
path: root/src/plugins/gromit/meson.build
blob: 10632f91101c5358e8b0e3febf1878768e0172aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
plugin_name = 'gromit'

plugin_dir = join_paths(totem_pluginsdir, plugin_name)

shared_module(
  plugin_name,
  sources: 'totem-' + plugin_name + '.c',
  include_directories: plugins_incs,
  dependencies: plugins_deps,
  c_args: plugins_cflags,
  install: true,
  install_dir: plugin_dir
)

plugin_data = plugin_name + '.plugin'

custom_target(
  plugin_data,
  input: plugin_data + '.desktop.in',
  output: plugin_data,
  command: msgfmt_plugin_cmd,
  install: true,
  install_dir: plugin_dir
)