build: Make alsadatadir configurable

Pipewire has started shipping copies of PulseAudio's ALSA card profiles.

It would be useful if both projects could share the same profiles and
this patch is a step toward that.
This commit is contained in:
Jan Alexander Steffens (heftig) 2020-08-02 17:43:03 +02:00 committed by Arun Raghavan
parent af5ae60b33
commit b657cff400
4 changed files with 19 additions and 3 deletions

View file

@ -51,6 +51,9 @@ option('pulsedsp-location',
option('modlibexecdir',
type : 'string',
description : 'Specify location where modules will be installed')
option('alsadatadir',
type : 'string',
description : 'Directory for ALSA card profiles (defaults to ${datadir}/pulseaudio/alsa-mixer)')
option('systemduserunitdir',
type : 'string',
description : 'Directory for systemd user service files')