[gnote/meson] Build bugzilla using meson
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/meson] Build bugzilla using meson
- Date: Mon, 29 Mar 2021 20:40:52 +0000 (UTC)
commit 40ca1b63597921c4cb26830ca3a26609bc4d3c32
Author: Aurimas Černius <aurisc4 gmail com>
Date: Mon Mar 29 23:01:08 2021 +0300
Build bugzilla using meson
src/addins/bugzilla/meson.build | 36 ++++++++++++++++++++++++++++++++++++
src/addins/meson.build | 1 +
2 files changed, 37 insertions(+)
---
diff --git a/src/addins/bugzilla/meson.build b/src/addins/bugzilla/meson.build
new file mode 100644
index 00000000..17c2a891
--- /dev/null
+++ b/src/addins/bugzilla/meson.build
@@ -0,0 +1,36 @@
+desktop_file = 'bugzilla.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,
+)
+
+install_data('bug.png', install_dir: get_option('datadir') / meson.project_name()/
'icons/hicolor/16x16/apps')
+
+shared_library(
+ 'bugzilla',
+ [
+ 'bugzillanoteaddin.cpp',
+ 'insertbugaction.cpp',
+ 'bugzillalink.cpp',
+ 'bugzillapreferences.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 aad0018b..d17df2d4 100644
--- a/src/addins/meson.build
+++ b/src/addins/meson.build
@@ -5,4 +5,5 @@ addin_conf.set('libgnote_release', gnote_release)
addin_conf.set('libgnote_version_info', libgnote_version_info)
subdir('backlinks')
+subdir('bugzilla')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]