1# SPDX-License-Identifier: LGPL-2.1-or-later 2 3systemd_localed_sources = files( 4 'localed.c', 5 'keymap-util.c', 6 'keymap-util.h', 7) 8 9localectl_sources = files('localectl.c') 10 11if conf.get('ENABLE_LOCALED') == 1 12 install_data('org.freedesktop.locale1.conf', 13 install_dir : dbuspolicydir) 14 install_data('org.freedesktop.locale1.service', 15 install_dir : dbussystemservicedir) 16 install_data('org.freedesktop.locale1.policy', 17 install_dir : polkitpolicydir) 18endif 19 20# If you know a way that allows the same variables to be used 21# in sources list and concatenated to a string for test_env, 22# let me know. 23kbd_model_map = meson.current_source_dir() / 'kbd-model-map' 24language_fallback_map = meson.current_source_dir() / 'language-fallback-map' 25 26if conf.get('ENABLE_LOCALED') == 1 27 install_data('kbd-model-map', 28 'language-fallback-map', 29 install_dir : pkgdatadir) 30endif 31 32tests += [ 33 [files('test-keymap-util.c', 34 'keymap-util.c', 35 'keymap-util.h')], 36] 37