meson.build 755 Bytes
Newer Older
1 2 3 4
sources = [
  'server-service.c',
  'server-context-service.c',
  'server-main.c',
5 6 7 8 9
  '../eekboard/eekboard-service.c',
  '../eekboard/eekboard-context-service.c',
#	$(srcdir)/eekboard-client.c		\
#	$(srcdir)/eekboard-context.c		\
  '../eekboard/eekboard-xklutil.c',
10 11 12 13 14 15 16
]

deps = [
#  dependency('glib-2.0', version: '>=2.26.0'),
  dependency('gio-2.0', version: '>=2.26.0'),
  dependency('gtk+-3.0', version: '>=3.0'),
  dependency('eek-gtk-0.90'),
17
  dependency('libxklavier'), # FIXME remove
18 19 20 21 22
]

# Replacement for eekboard-server
squeekboard = executable('squeekboard',
  sources,
23
  include_directories: [include_directories('..')],
24 25
  dependencies: deps,
  install: true,
26
  c_args: ['-DTHEMESDIR="' + pkgdatadir + '/themes"', '-DEEKBOARD_COMPILATION=1'],
27 28
)