summaryrefslogtreecommitdiffstats
path: root/plugins/external-appstream/meson.build
blob: 2252c7d5744aaa9590e22f6289c3570ccc823384 (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
35
36
37
38
cargs = ['-DG_LOG_DOMAIN="GsPluginExternalAppstream"']

executable(
  'gnome-software-install-appstream',
  sources : [
    'gs-external-appstream-utils.c',
    'gs-install-appstream.c',
  ],
  include_directories : [
    include_directories('../..'),
  ],
  dependencies : [
    gio_unix,
    libxmlb,
  ],
  c_args : cargs,
  install : true,
  install_dir : get_option('libexecdir')
)

shared_module(
  'gs_plugin_external-appstream',
  sources : [
    'gs-external-appstream-utils.c',
    'gs-plugin-external-appstream.c',
  ],
  include_directories : [
    include_directories('../..'),
    include_directories('../../lib'),
  ],
  install : true,
  install_dir: plugin_dir,
  c_args : cargs,
  dependencies : [gio_unix, appstream_glib, libsoup, plugin_libs],
  link_with : [
    libgnomesoftware
  ]
)