[gnote/meson] Build inserttimestamp using meson
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/meson] Build inserttimestamp using meson
- Date: Mon, 29 Mar 2021 20:40:52 +0000 (UTC)
commit 6f28ba988a25e0c90a79e6b19ad091f0ab8c9728
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Mar 29 23:36:13 2021 +0300
Build inserttimestamp using meson
.../inserttimestamp/inserttimestamp.desktop.in.in | 4 +--
src/addins/inserttimestamp/meson.build | 31 ++++++++++++++++++++++
src/addins/meson.build | 1 +
3 files changed, 34 insertions(+), 2 deletions(-)
---
diff --git a/src/addins/inserttimestamp/inserttimestamp.desktop.in.in
b/src/addins/inserttimestamp/inserttimestamp.desktop.in.in
index ecbfb211..a946e9a0 100644
--- a/src/addins/inserttimestamp/inserttimestamp.desktop.in.in
+++ b/src/addins/inserttimestamp/inserttimestamp.desktop.in.in
@@ -7,7 +7,7 @@ Category=Tools
Version=0.6
DefaultEnabled=false
Module=libinserttimestamp
-LibgnoteRelease=@LIBGNOTE_RELEASE@
-LibgnoteVersionInfo=@LIBGNOTE_VERSION_INFO@
+LibgnoteRelease=@libgnote_release@
+LibgnoteVersionInfo=@libgnote_version_info@
[Actions]
actions_void=inserttimestamp-insert
diff --git a/src/addins/inserttimestamp/meson.build b/src/addins/inserttimestamp/meson.build
new file mode 100644
index 00000000..f865d110
--- /dev/null
+++ b/src/addins/inserttimestamp/meson.build
@@ -0,0 +1,31 @@
+desktop_file = 'inserttimestamp.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(
+ 'inserttimestamp',
+ [
+ 'inserttimestampnoteaddin.cpp',
+ 'inserttimestamppreferences.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/meson.build b/src/addins/meson.build
index 86c61710..6aa806bc 100644
--- a/src/addins/meson.build
+++ b/src/addins/meson.build
@@ -11,4 +11,5 @@ subdir('exporttohtml')
subdir('filesystemsyncservice')
subdir('fixedwidth')
subdir('gvfssyncservice')
+subdir('inserttimestamp')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]