image: add PIPEWIRE_SUPPORT option

This commit is contained in:
Lukas Rusak 2022-05-17 11:23:38 -07:00
parent 2201b0f3fe
commit 59b247ee66
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
2 changed files with 9 additions and 0 deletions

View File

@ -87,6 +87,9 @@
# build and install PulseAudio support (yes / no)
PULSEAUDIO_SUPPORT="yes"
# build and install pipewire support (yes / no)
PIPEWIRE_SUPPORT="no"
# build and install eSpeak-NG support (yes / no)
ESPEAK_SUPPORT="no"

View File

@ -19,6 +19,12 @@ PKG_LONGDESC="Root package used to build and create complete image"
[ "${PULSEAUDIO_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" pulseaudio"
[ "${PIPEWIRE_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" pipewire wireplumber"
if [ "${PULSEAUDIO_SUPPORT}" = "yes" -a "${PIPEWIRE_SUPPORT}" = "yes" ]; then
die "PULSEAUDIO_SUPPORT and PIPEWIRE_SUPPORT cannot be enabled together"
fi
# Automounter support
[ "${UDEVIL}" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil"