From bca3b80da6b3653ada9e0546a3fd053cdc4651d0 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Thu, 19 Oct 2023 11:41:29 +0800 Subject: Add meson build support --- capplets/windows/meson.build | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 capplets/windows/meson.build (limited to 'capplets/windows/meson.build') diff --git a/capplets/windows/meson.build b/capplets/windows/meson.build new file mode 100644 index 00000000..b60720eb --- /dev/null +++ b/capplets/windows/meson.build @@ -0,0 +1,36 @@ +desktop = 'mate-window-properties.desktop' + +i18n.merge_file( + type: 'desktop', + input: desktop + '.in', + output: desktop, + po_dir: po_dir, + install: true, + install_dir: mcc_desktopdir +) + +sources = files( + 'mate-metacity-support.c', + 'mate-window-properties.c' +) + +sources += gnome.compile_resources( + 'mate-window-properties-resources', + 'org.mate.mcc.windows.gresource.xml', + c_name: 'window_properties', + export: true +) + +cflags += [ + '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir), +] + +executable( + 'mate-window-properties', + sources : sources, + include_directories: config_inc, + dependencies : [common_deps, libcommon_dep], + c_args : cflags, + install : true, + install_dir : get_option('bindir') +) -- cgit v1.2.1