summaryrefslogtreecommitdiffstats
path: root/plugins/odrs/meson.build
blob: 254530d35a5417a4da2a7ff90be7bd10ce379bf4 (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
cargs = ['-DG_LOG_DOMAIN="GsPluginOdrs"']

shared_module(
  'gs_plugin_odrs',
  sources : 'gs-plugin-odrs.c',
  include_directories : [
    include_directories('../..'),
    include_directories('../../lib'),
  ],
  install : true,
  install_dir: plugin_dir,
  c_args : cargs,
  dependencies : plugin_libs,
  link_with : [
    libgnomesoftware
  ]
)
metainfo = 'org.gnome.Software.Plugin.Odrs.metainfo.xml'

i18n.merge_file(
  input: metainfo + '.in',
  output: metainfo,
  type: 'xml',
  po_dir: join_paths(meson.source_root(), 'po'),
  install: true,
  install_dir: join_paths(get_option('datadir'), 'metainfo')
)