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