summaryrefslogtreecommitdiff
path: root/capplets/keyboard/meson.build
blob: 22fa4a6f1570e7ff9434af92d0b946498558e0c4 (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
38
39
40
41
42
desktop = 'mate-keyboard.desktop'

i18n.merge_file(
  type: 'desktop',
  input: desktop + '.in',
  output: desktop,
  po_dir: po_dir,
  install: true,
  install_dir: mcc_desktopdir
)

sources = files(
  'mate-keyboard-properties.c',
  'mate-keyboard-properties-a11y.c',
  'mate-keyboard-properties-xkb.c',
  'mate-keyboard-properties-xkbmc.c',
  'mate-keyboard-properties-xkblt.c',
  'mate-keyboard-properties-xkbltadd.c',
  'mate-keyboard-properties-xkbot.c',
  'mate-keyboard-properties-xkbpv.c'
)

sources += gnome.compile_resources(
  'mate-keyboard-properties-resources',
  'org.mate.mcc.keyboard.gresource.xml',
  c_name: 'keyboard',
  export: true
)

cflags += [
  '-DMATECC_DATA_DIR="@0@"'.format(mcc_pkgdatadir),
]

executable(
  'mate-keyboard-properties',
  sources : sources,
  include_directories: config_inc,
  dependencies : [common_deps, libcommon_dep, xklavier_dep, matekbd_dep, matekbdui_dep],
  c_args : cflags,
  install : true,
  install_dir : get_option('bindir')
)