diff options
Diffstat (limited to 'plugins/odrs/meson.build')
-rw-r--r-- | plugins/odrs/meson.build | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/odrs/meson.build b/plugins/odrs/meson.build new file mode 100644 index 0000000..254530d --- /dev/null +++ b/plugins/odrs/meson.build @@ -0,0 +1,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') +) |