summaryrefslogtreecommitdiff
path: root/caja
diff options
context:
space:
mode:
Diffstat (limited to 'caja')
-rw-r--r--caja/meson.build37
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')
+)