[gnote/meson] Build notedirectorywatcher using meson
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/meson] Build notedirectorywatcher using meson
- Date: Mon, 29 Mar 2021 20:40:52 +0000 (UTC)
commit 1074cc78a6794406bc6e974f7b8b71d6d390d8ce
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Mar 29 23:40:27 2021 +0300
Build notedirectorywatcher using meson
src/addins/meson.build | 1 +
src/addins/notedirectorywatcher/meson.build | 31 ++++++++++++++++++++++
.../notedirectorywatcher.desktop.in.in | 4 +--
3 files changed, 34 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/meson.build b/src/addins/meson.build
index 6aa806bc..d7275b98 100644
--- a/src/addins/meson.build
+++ b/src/addins/meson.build
@@ -12,4 +12,5 @@ subdir('filesystemsyncservice')
subdir('fixedwidth')
subdir('gvfssyncservice')
subdir('inserttimestamp')
+subdir('notedirectorywatcher')
diff --git a/src/addins/notedirectorywatcher/meson.build b/src/addins/notedirectorywatcher/meson.build
new file mode 100644
index 00000000..bfd43434
--- /dev/null
+++ b/src/addins/notedirectorywatcher/meson.build
@@ -0,0 +1,31 @@
+desktop_file = 'notedirectorywatcher.desktop'
+
+configured_desktop_file = configure_file(
+ input: desktop_file + '.in.in',
+ output: desktop_file + '.in',
+ configuration: addin_conf,
+)
+
+i18n.merge_file(
+ desktop_file,
+ type: 'desktop',
+ input: configured_desktop_file,
+ output: desktop_file,
+ po_dir: '../../../po',
+ install: true,
+ install_dir: addins_install_dir,
+)
+
+shared_library(
+ 'notedirectorywatcher',
+ [
+ 'notedirectorywatcherapplicationaddin.cpp',
+ 'notedirectorywatcherpreferences.cpp',
+ ],
+ dependencies: dependencies,
+ include_directories: [root_include_dir, src_include_dir],
+ link_with: libgnote_shared_lib,
+ install: true,
+ install_dir: addins_install_dir,
+)
+
diff --git a/src/addins/notedirectorywatcher/notedirectorywatcher.desktop.in.in
b/src/addins/notedirectorywatcher/notedirectorywatcher.desktop.in.in
index 8b84cf5f..b7439b21 100644
--- a/src/addins/notedirectorywatcher/notedirectorywatcher.desktop.in.in
+++ b/src/addins/notedirectorywatcher/notedirectorywatcher.desktop.in.in
@@ -7,5 +7,5 @@ Category=Tools
Version=0.5
DefaultEnabled=false
Module=libnotedirectorywatcher
-LibgnoteRelease=@LIBGNOTE_RELEASE@
-LibgnoteVersionInfo=@LIBGNOTE_VERSION_INFO@
+LibgnoteRelease=@libgnote_release@
+LibgnoteVersionInfo=@libgnote_version_info@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]