summaryrefslogtreecommitdiffstats
path: root/plugins/rpm-ostree/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rpm-ostree/meson.build')
-rw-r--r--plugins/rpm-ostree/meson.build26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/rpm-ostree/meson.build b/plugins/rpm-ostree/meson.build
new file mode 100644
index 0000000..840f9e7
--- /dev/null
+++ b/plugins/rpm-ostree/meson.build
@@ -0,0 +1,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
+ ]
+)