diff --git a/src/tuxclockerd/meson.build b/src/tuxclockerd/meson.build index e591747..9bfa246 100644 --- a/src/tuxclockerd/meson.build +++ b/src/tuxclockerd/meson.build @@ -21,3 +21,11 @@ executable('tuxclockerd', dependencies : qt5_dep, link_with : libtuxclocker, install : true) + +# DBus data directory + +dbus_data_dir = join_paths(get_option('prefix'), get_option('datadir'), 'dbus-1') + +dbus_system_services_dir = join_paths(dbus_data_dir, 'system.d') + +install_data('org.tuxclocker.conf', install_dir : dbus_system_services_dir) diff --git a/src/tuxclockerd/org.tuxclocker.conf b/src/tuxclockerd/org.tuxclocker.conf new file mode 100644 index 0000000..92e02dc --- /dev/null +++ b/src/tuxclockerd/org.tuxclocker.conf @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + +