3 'bepo': '-l fr -v dvorak',
6 'de': '-l de -v nodeadkeys',
14 'fr': '-l fr -v nodeadkeys',
16 'fr-ca': '-l ca -v fr',
17 'fr-ch': '-l ch -v fr',
22 'ja': '-l jp -m jp106',
36 if meson.is_cross_build() or 'CONFIG_XKBCOMMON' not in config_host
37 native_qemu_keymap = find_program('qemu-keymap', required: false, disabler: true)
39 native_qemu_keymap = qemu_keymap
43 foreach km, args: keymaps
44 if native_qemu_keymap.found()
45 # generate with qemu-kvm
46 t += custom_target(km,
47 build_by_default: true,
49 command: [native_qemu_keymap, '-f', '@OUTPUT@', args.split()],
51 install_dir: qemu_datadir / 'keymaps')
53 # copy from source tree
54 t += custom_target(km,
55 build_by_default: true,
58 command: ['cp', '@INPUT@', '@OUTPUT@'],
60 install_dir: qemu_datadir / 'keymaps')
64 if native_qemu_keymap.found()
65 alias_target('update-keymaps', t)
68 install_data(['sl', 'sv'], install_dir: qemu_datadir / 'keymaps')