diff --git a/distributions/LibreELEC/options b/distributions/LibreELEC/options index 21fa8499fc..81d034a265 100644 --- a/distributions/LibreELEC/options +++ b/distributions/LibreELEC/options @@ -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" diff --git a/packages/virtual/image/package.mk b/packages/virtual/image/package.mk index ddd47a266f..f8f22d74d7 100644 --- a/packages/virtual/image/package.mk +++ b/packages/virtual/image/package.mk @@ -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"