summaryrefslogtreecommitdiffstats
path: root/plugins/sort/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sort/meson.build')
-rw-r--r--plugins/sort/meson.build34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/sort/meson.build b/plugins/sort/meson.build
new file mode 100644
index 0000000..7f91440
--- /dev/null
+++ b/plugins/sort/meson.build
@@ -0,0 +1,34 @@
+libsort_sources = files(
+ 'gedit-sort-plugin.c',
+)
+
+libsort_deps = [
+ libgedit_dep,
+]
+
+subdir('resources')
+
+libsort_sha = shared_module(
+ 'sort',
+ sources: libsort_sources,
+ include_directories: root_include_dir,
+ dependencies: libsort_deps,
+ install: true,
+ install_dir: join_paths(
+ pkglibdir,
+ 'plugins',
+ ),
+ name_suffix: module_suffix,
+)
+
+custom_target(
+ 'sort.plugin',
+ input: 'sort.plugin.desktop.in',
+ output: 'sort.plugin',
+ command: msgfmt_plugin_cmd,
+ install: true,
+ install_dir: join_paths(
+ pkglibdir,
+ 'plugins',
+ )
+)