mconnect - KDE Connect protocol implementation in Vala/C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
2.1 KiB

  1. project('mconnect', 'vala', 'c')
  2. glib_dep = dependency('glib-2.0')
  3. gobject_dep = dependency('gobject-2.0')
  4. gio_dep = dependency('gio-2.0')
  5. gio_unix_dep = dependency('gio-unix-2.0')
  6. json_glib_dep = dependency('json-glib-1.0')
  7. gee_dep = dependency('gee-0.8')
  8. libnotify_dep = dependency('libnotify')
  9. gdk_dep = dependency('gdk-3.0')
  10. atspi_dep = dependency('atspi-2')
  11. gnutls_dep = dependency('gnutls')
  12. posix_dep = meson.get_compiler('vala').find_library('posix')
  13. add_project_arguments(['--vapidir',
  14. join_paths(meson.current_source_dir(), 'vapi')],
  15. language: 'vala')
  16. mconnect_src = [
  17. 'src/mconnect/main.vala',
  18. 'src/mconnect/discovery.vala',
  19. 'src/mconnect/packet.vala',
  20. 'src/mconnect/device.vala',
  21. 'src/mconnect/discovereddevice.vala',
  22. 'src/mconnect/device-proxy.vala',
  23. 'src/mconnect/devicemanager.vala',
  24. 'src/mconnect/devicemanager-proxy.vala',
  25. 'src/mconnect/devicechannel.vala',
  26. 'src/mconnect/core.vala',
  27. 'src/mconnect/packethandlerinterface.vala',
  28. 'src/mconnect/packethandlerinterface-proxy.vala',
  29. 'src/mconnect/packethandlers.vala',
  30. 'src/mconnect/packethandlers-proxy.vala',
  31. 'src/mconnect/notification.vala',
  32. 'src/mconnect/battery.vala',
  33. 'src/mconnect/battery-proxy.vala',
  34. 'src/mconnect/telephony.vala',
  35. 'src/mconnect/mousepad.vala',
  36. 'src/mconnect/ping.vala',
  37. 'src/mconnect/ping-proxy.vala',
  38. 'src/mconnect/config.vala',
  39. 'src/mconnect/application.vala',
  40. 'src/mconnect/utils.vala',
  41. 'src/mconnect/property-proxy.vala',
  42. 'src/crypt/certificate.vala',
  43. ]
  44. executable('mconnect', mconnect_src,
  45. dependencies : [glib_dep, gobject_dep,
  46. gio_dep, gio_unix_dep,
  47. json_glib_dep, gee_dep,
  48. libnotify_dep, gdk_dep,
  49. atspi_dep, gnutls_dep,
  50. posix_dep])
  51. mconnectctl_src = 'src/mconnectctl/main.vala'
  52. executable('mconnectctl', mconnectctl_src,
  53. dependencies : [glib_dep, gobject_dep,
  54. gio_dep, gio_unix_dep,
  55. json_glib_dep, gee_dep,
  56. libnotify_dep, gdk_dep,
  57. atspi_dep, gnutls_dep])