1# GSettings helper 2 3gsettings_helper_sources = [ 4 'gsettings-helper.c', 5] 6 7gsettings_helper = executable('gsettings-helper', 8 gsettings_helper_sources, 9 c_args : pa_c_args, 10 include_directories : [configinc, topinc], 11 link_with : [libpulsecommon, libpulse], 12 dependencies : [gio_dep], 13 install_dir : pulselibexecdir, 14 install_rpath : privlibdir, 15 install : true, 16) 17 18# GSettings schemas 19 20compile_schemas = find_program('glib-compile-schemas', required : false) 21if compile_schemas.found() 22 test('Validate schema files in ' + meson.current_source_dir(), 23 compile_schemas, 24 args: ['--strict', '--dry-run', meson.current_source_dir()] 25 ) 26endif 27 28install_data('org.freedesktop.pulseaudio.gschema.xml', 29 install_dir : join_paths(datadir, 'glib-2.0', 'schemas') 30) 31 32meson.add_install_script('meson_post_install.py', datadir) 33 34# Conversion from GConf to GSettings 35 36install_data('pulseaudio.convert', 37 install_dir : join_paths(datadir, 'GConf', 'gsettings') 38) 39