mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
conf: move config file to datadir
Install the config file in $PREFIX/share/pipewire so that a factory reset can be done by wiping /etc and /home. Add this new directory to the search path. System wide config can still be done in /etc, user config in $HOME/.config/pipewire/ by copying files from $PREFIX/share/pipewire Fixes #1191
This commit is contained in:
parent
d9240bb766
commit
1609126bcd
6 changed files with 25 additions and 15 deletions
|
|
@ -14,7 +14,6 @@ conf_config.set('media_session_path', pipewire_bindir / 'pipewire-media-session'
|
|||
conf_config.set('pipewire_path', pipewire_bindir / 'pipewire')
|
||||
conf_config.set('pipewire_pulse_path', pipewire_bindir / 'pipewire-pulse')
|
||||
conf_config.set('comment', '#')
|
||||
conf_install_dir = get_option('sysconfdir') / 'pipewire'
|
||||
|
||||
conf_config_uninstalled = conf_config
|
||||
conf_config_uninstalled.set('media_session_path',
|
||||
|
|
@ -38,7 +37,7 @@ foreach c : conf_files
|
|||
configure_file(input : c.get(0),
|
||||
output : c.get(1),
|
||||
configuration : conf_config,
|
||||
install_dir : conf_install_dir)
|
||||
install_dir : pipewire_confdatadir)
|
||||
endforeach
|
||||
|
||||
configure_file(input : 'pipewire.conf.in',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue