diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:03:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:03:18 +0000 |
commit | 2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1 (patch) | |
tree | 465b29cb405d3af0b0ad50c78e1dccc636594fec /src/modules/gsettings/meson.build | |
parent | Initial commit. (diff) | |
download | pulseaudio-2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1.tar.xz pulseaudio-2dd5bc6a074165ddfbd57c4bd52c2d2dac8f47a1.zip |
Adding upstream version 14.2.upstream/14.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/modules/gsettings/meson.build')
-rw-r--r-- | src/modules/gsettings/meson.build | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/modules/gsettings/meson.build b/src/modules/gsettings/meson.build new file mode 100644 index 0000000..68a72c3 --- /dev/null +++ b/src/modules/gsettings/meson.build @@ -0,0 +1,38 @@ +# GSettings helper + +gsettings_helper_sources = [ + 'gsettings-helper.c', +] + +gsettings_helper = executable('gsettings-helper', + gsettings_helper_sources, + c_args : pa_c_args, + include_directories : [configinc, topinc], + link_with : [libpulsecommon, libpulse], + dependencies : [gio_dep], + install_dir : pulselibexecdir, + install_rpath : privlibdir, + install : true, +) + +# GSettings schemas + +compile_schemas = find_program('glib-compile-schemas', required : false) +if compile_schemas.found() + test('Validate schema files in ' + meson.current_source_dir(), + compile_schemas, + args: ['--strict', '--dry-run', meson.current_source_dir()] + ) +endif + +install_data('org.freedesktop.pulseaudio.gschema.xml', + install_dir : join_paths(datadir, 'glib-2.0', 'schemas') +) + +meson.add_install_script('meson_post_install.py', datadir) + +# Conversion from GConf to GSettings + +install_data('pulseaudio.convert', + install_dir : join_paths(datadir, 'GConf', 'gsettings') +) |