summaryrefslogtreecommitdiff
path: root/src/plugins/properties/meson.build
blob: d158b16ac0db67bab606a4fc414079e27409faa3 (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
25
26
27
28
29
30
31
32
33
34
plugin_name = 'movie-properties'

plugin_dir = join_paths(totem_pluginsdir, 'properties')

resources = gnome.compile_resources(
  'properties-resources',
  'properties.gresource.xml',
  c_name: 'totem_properties',
)

shared_module(
  plugin_name,
  sources: [
    'totem-' + plugin_name + '.c',
    'bacon-video-widget-properties.c',
    resources[0]
  ],
  include_directories: plugins_incs,
  dependencies: plugins_deps,
  c_args: plugins_cflags,
  install: true,
  install_dir: plugin_dir
)

plugin_data = plugin_name + '.plugin'

i18n.merge_file(
  input: plugin_data + '.desktop.in',
  output: plugin_data,
  type: 'desktop',
  po_dir: po_dir,
  install_dir: plugin_dir,
  install: true
)