Browse Source

meson: generate mconnect.desktop

bboozzoo/tls-support
Maciek Borzecki 7 years ago
parent
commit
60e13e2574
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      meson.build

+ 11
- 0
meson.build View File

@ -1,5 +1,6 @@
project('mconnect', 'vala', 'c')
# dependencies
glib_dep = dependency('glib-2.0')
gobject_dep = dependency('gobject-2.0')
gio_dep = dependency('gio-2.0')
@ -17,6 +18,7 @@ add_project_arguments(['--vapidir',
join_paths(meson.current_source_dir(), 'vapi')],
language: 'vala')
# binaries
mconnect_src = [
'src/mconnect/main.vala',
'src/mconnect/discovery.vala',
@ -75,3 +77,12 @@ test_mconn_crypt = executable('test-mconn-crypt', test_mconn_crypt_src,
],
install: false)
test('mconn-crypt', test_mconn_crypt)
# other files
conf = configuration_data()
conf.set('bindir',
join_paths(get_option('prefix'), get_option('bindir')))
configure_file(output: 'mconnect.desktop',
input: 'mconnect.desktop.in',
configuration: conf)

Loading…
Cancel
Save