summaryrefslogtreecommitdiffstats
path: root/plugins/rpm-ostree/meson.build
blob: 840f9e7e694853a3e6cc4433aebbaaea2fc08bb2 (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
cargs = ['-DG_LOG_DOMAIN="GsPluginRpmOstree"']

rpmostree_generated = gnome.gdbus_codegen(
  'gs-rpmostree-generated',
  'org.projectatomic.rpmostree1.xml',
  interface_prefix : 'org.projectatomic.rpmostree1',
  namespace : 'GsRPMOSTree'
)

shared_module(
  'gs_plugin_rpm-ostree',
  rpmostree_generated,
  sources : 'gs-plugin-rpm-ostree.c',
  include_directories : [
    include_directories('../..'),
    include_directories('../../lib'),
  ],
  install : true,
  install_dir: plugin_dir,
  install_rpath: join_paths(rpm_ostree.get_pkgconfig_variable('libdir'), 'rpm-ostree'),
  c_args : cargs,
  dependencies : [ plugin_libs, libdnf, ostree, rpm, rpm_ostree ],
  link_with : [
    libgnomesoftware
  ]
)