summaryrefslogtreecommitdiffstats
path: root/src/calendar-server/meson.build
blob: 8b4ef411c896ad3cb7b8c2c8e8d69a2a0c43dbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
calendar_sources = [
  'gnome-shell-calendar-server.c',
  'calendar-debug.h',
  'calendar-sources.c',
  'calendar-sources.h'
]

calendar_server = executable('gnome-shell-calendar-server', calendar_sources,
  dependencies: [ecal_dep, eds_dep, gio_dep],
  include_directories: include_directories('..', '../..'),
  c_args: [
    '-DPREFIX="@0@"'.format(prefix),
    '-DLIBDIR="@0@"'.format(libdir),
    '-DDATADIR="@0@"'.format(datadir),
    '-DG_LOG_DOMAIN="ShellCalendarServer"'
  ],
  install_dir: libexecdir,
  install: true
)

service_file = 'org.gnome.Shell.CalendarServer.service'

configure_file(
  input: service_file + '.in',
  output: service_file,
  configuration: service_data,
  install_dir: servicedir
)

i18n.merge_file(
  input: 'evolution-calendar.desktop.in',
  output: 'evolution-calendar.desktop',
  po_dir: po_dir,
  install: true,
  install_dir: desktopdir,
  type: 'desktop'
)