gnome-shell/src/calendar-server/meson.build
Florian Müllner c987d3d2c9 build: Support the meson build system
Meson is on track to replace autotools as the build system of choice,
so support it in addition to autotools. If all goes well, we'll
eventually be able to drop the latter ...

https://bugzilla.gnome.org/show_bug.cgi?id=783229
2017-07-20 00:20:54 +02:00

38 lines
932 B
Meson

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('evolution-calendar.desktop',
input: 'evolution-calendar.desktop.in',
output: 'evolution-calendar.desktop',
po_dir: '../../po',
install: true,
install_dir: desktopdir,
type: 'desktop'
)