mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
Add a build option to specify whether pulse gsettings schema should be installed
This commit is contained in:
parent
ee42a6868d
commit
bd87902da6
3 changed files with 16 additions and 7 deletions
|
|
@ -415,13 +415,15 @@ if gio_dep.found()
|
|||
]
|
||||
pipewire_module_protocol_pulse_deps += gio_dep
|
||||
cdata.set('HAVE_GIO', true)
|
||||
install_data(['module-protocol-pulse/modules/org.freedesktop.pulseaudio.gschema.xml'],
|
||||
install_dir: pipewire_datadir / 'glib-2.0' / 'schemas'
|
||||
)
|
||||
gnome = import('gnome')
|
||||
gnome.post_install(
|
||||
glib_compile_schemas: true
|
||||
)
|
||||
if get_option('gsettings-pulse-schema').enabled()
|
||||
install_data(['module-protocol-pulse/modules/org.freedesktop.pulseaudio.gschema.xml'],
|
||||
install_dir: pipewire_datadir / 'glib-2.0' / 'schemas'
|
||||
)
|
||||
gnome = import('gnome')
|
||||
gnome.post_install(
|
||||
glib_compile_schemas: true
|
||||
)
|
||||
endif
|
||||
endif
|
||||
|
||||
if flatpak_support
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue