diff options
Diffstat (limited to 'capplets/system-info/meson.build')
-rw-r--r-- | capplets/system-info/meson.build | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/capplets/system-info/meson.build b/capplets/system-info/meson.build new file mode 100644 index 00000000..85707452 --- /dev/null +++ b/capplets/system-info/meson.build @@ -0,0 +1,37 @@ +desktop = 'mate-system-info.desktop' + +i18n.merge_file( + type: 'desktop', + input: desktop + '.in', + output: desktop, + po_dir: po_dir, + install: true, + install_dir: mcc_desktopdir +) + +sources = files( + 'main.c', + 'mate-system-info.c', + 'info-cleanup.c' +) + +sources += gnome.compile_resources( + 'mate-system-info-resources', + 'system-info.gresource.xml', + c_name: 'mate_system_info', + export: true +) + +cflags += [ + '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), +] + +executable( + 'mate-system-info', + sources : sources, + include_directories: config_inc, + dependencies : [common_deps, libcommon_dep, gtop_dep, udisks2_dep], + c_args : cflags, + install : true, + install_dir : get_option('bindir') +) |