summaryrefslogtreecommitdiffstats
path: root/plugins/sort/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 14:32:59 +0000
commitadb934701975f6b0214475d1a8d0d1ce727b9d4d (patch)
tree5688c745d10b64c8856586864ec416a6bdae881d /plugins/sort/meson.build
parentInitial commit. (diff)
downloadgedit-adb934701975f6b0214475d1a8d0d1ce727b9d4d.tar.xz
gedit-adb934701975f6b0214475d1a8d0d1ce727b9d4d.zip
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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',
+ )
+)