mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-26 08:56:42 -05:00
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:
parent
af5ae60b33
commit
b657cff400
4 changed files with 19 additions and 3 deletions
|
|
@ -1511,6 +1511,13 @@ AC_ARG_WITH(
|
|||
AC_SUBST(modlibexecdir)
|
||||
AX_DEFINE_DIR(PA_DLSEARCHPATH, modlibexecdir, [Modules dir])
|
||||
|
||||
AC_ARG_WITH(
|
||||
[alsa-data-dir],
|
||||
AS_HELP_STRING([--with-alsa-data-dir],[Directory for ALSA card profiles (defaults to ${datadir}/pulseaudio/alsa-mixer)]),
|
||||
[alsadatadir=$withval], [alsadatadir="${datadir}/pulseaudio/alsa-mixer"])
|
||||
|
||||
AC_SUBST(alsadatadir)
|
||||
|
||||
AC_ARG_WITH(
|
||||
[udev-rules-dir],
|
||||
AS_HELP_STRING([--with-udev-rules-dir],[Directory where to install udev rules to (defaults to /lib/udev/rules.d)]),
|
||||
|
|
@ -1656,6 +1663,7 @@ echo "
|
|||
sysconfdir: ${sysconfdir}
|
||||
localstatedir: ${localstatedir}
|
||||
modlibexecdir: ${modlibexecdir}
|
||||
alsadatadir: ${alsadatadir}
|
||||
System Runtime Path: ${PA_SYSTEM_RUNTIME_PATH}
|
||||
System State Path: ${PA_SYSTEM_STATE_PATH}
|
||||
System Config Path: ${PA_SYSTEM_CONFIG_PATH}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue