summaryrefslogtreecommitdiffstats
path: root/src/modules/gsettings/meson.build
blob: 68a72c3ff44aa91d12f91211428f4083b7710a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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')
)