Files
clr-desktop-defaults/dconf/meson.build
T
Ikey Doherty e1ff1d058c dconf: Add new dconf defaults directory
This will allow us to perform some overrides in dconf that can't be
implemented within GSettings due to upstream bugs.

Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
2019-01-14 13:22:52 +00:00

29 lines
766 B
Meson

dconf = find_program('dconf')
conf_data = configuration_data()
indir = join_paths(meson.current_source_dir(), 'system-wide.d')
dconf_dir = join_paths(datadir, 'defaults', 'clearlinux', 'dconf')
dconf_profile_dir = join_paths(datadir, 'dconf', 'profile')
# Write the dconf path to conf data
conf_data.set('DCONF_PATH', dconf_dir)
# Write the configuration file to dconf profile dir
conf_file = configure_file(
configuration: conf_data,
input: 'profile.in',
output: 'user',
install: true,
install_dir: dconf_profile_dir,
)
# compile binary data
dconf_db_bin = custom_target(
'clearlinux-defaults',
output: 'clearlinux-defaults',
command: [dconf, 'compile', '@OUTPUT@', indir],
install: true,
install_dir: dconf_dir,
)