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

@ -28,8 +28,8 @@ if HAVE_X11
xdgautostartdir=$(sysconfdir)/xdg/autostart
endif
if HAVE_ALSA
alsaprofilesetsdir=$(datadir)/pulseaudio/alsa-mixer/profile-sets
alsapathsdir=$(datadir)/pulseaudio/alsa-mixer/paths
alsaprofilesetsdir=$(alsadatadir)/profile-sets
alsapathsdir=$(alsadatadir)/paths
endif
if HAVE_DBUS
dbuspolicydir=$(sysconfdir)/dbus-1/system.d