[gnote/meson] Process and install dbus service file
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/meson] Process and install dbus service file
- Date: Sun, 28 Mar 2021 15:03:34 +0000 (UTC)
commit f6d55a18c52d0a2fca78814249e74f413ff12a36
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Mar 28 16:39:18 2021 +0300
Process and install dbus service file
data/meson.build | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index 82121637..69c8c5bf 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -26,3 +26,14 @@ if xmllint.found()
test('validate-gschema', xmllint, args: ['--noout', '--dtdvalid', gschema_dtd, gnote_gschema])
endif
+dbus_service_file = 'org.gnome.Gnote.service'
+dbus_service_conf = configuration_data()
+dbus_service_conf.set('bindir', get_option('prefix') / get_option('bindir'))
+dbus_service_conf.set('wrapper', 'gnote')
+configure_file(
+ input: dbus_service_file + '.in',
+ output: dbus_service_file,
+ configuration: dbus_service_conf,
+ install_dir: get_option('datadir') / 'dbus-1/services',
+)
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]