diff options
author | zhuyaliang <[email protected]> | 2023-05-19 17:05:11 +0800 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-05-23 03:04:29 +0000 |
commit | e4cdb9e1a846390bafef8e36085242f793464edd (patch) | |
tree | 668a8ff5d5d66d33db111d2e6cd3f72df16afaab /caja | |
parent | 41a0cad8fafe515f56854462dd62c1b1bd94a393 (diff) | |
download | engrampa-e4cdb9e1a846390bafef8e36085242f793464edd.tar.bz2 engrampa-e4cdb9e1a846390bafef8e36085242f793464edd.tar.xz |
Add meson compilation support
Diffstat (limited to 'caja')
-rw-r--r-- | caja/meson.build | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/caja/meson.build b/caja/meson.build new file mode 100644 index 0000000..2324719 --- /dev/null +++ b/caja/meson.build @@ -0,0 +1,37 @@ +shared_module('caja-engrampa', + sources : [ + 'caja-engrampa.c', + 'engrampa-module.c' + ], + dependencies : [ + libm_dep, + thread_dep, + glib_dep, + gthread_dep, + gtk_dep, + libcaja_extension_dep, + use_json_glib ? libjson_glib_dep : [], + ], + include_directories : config_inc, + c_args : c_args, + install : true, + install_dir : libcaja_extension_dep.get_pkgconfig_variable('extensiondir') +) + +desktop_data = configuration_data() +desktop_data.set('VERSION', meson.project_version()) +desktop_data.set('PACKAGE_URL', 'https://mate-desktop.org') +desktop_in_file = configure_file( + input : 'libcaja-engrampa.caja-extension.desktop.in.in', + output : 'libcaja-engrampa.caja-extension.desktop.in', + configuration : desktop_data +) + +i18n.merge_file( + input : desktop_in_file, + output : 'libcaja-engrampa.caja-extension', + type : 'desktop', + po_dir : po_dir, + install : true, + install_dir : join_paths(datadir, 'caja', 'extensions') +) |