Skip to content

Commit

Permalink
Add a D-Bus service file for mako
Browse files Browse the repository at this point in the history
  • Loading branch information
Meiyo Peng authored and emersion committed May 24, 2019
1 parent e6b9a42 commit ca8e763
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fr.emersion.mako.service.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[D-BUS Service]
Name=org.freedesktop.Notifications
Exec=@bindir@/mako
10 changes: 10 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ install_data(
install_mode: 'rwxr-xr-x',
)

conf_data = configuration_data()
conf_data.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))

configure_file(
configuration: conf_data,
input: 'fr.emersion.mako.service.in',
output: '@BASENAME@',
install_dir: datadir + '/dbus-1/services',
)

scdoc = find_program('scdoc', required: get_option('man-pages'))

if scdoc.found()
Expand Down

0 comments on commit ca8e763

Please sign in to comment.