kodi: split PULSEAUDIO_SUPPORT and KODI_PULSEAUDIO_SUPPORT

This commit is contained in:
Lukas Rusak 2022-05-17 09:13:51 -07:00
parent d5be131e30
commit 245fc2894c
No known key found for this signature in database
GPG Key ID: 8C310C807E7393A3
3 changed files with 6 additions and 1 deletions

View File

@ -138,6 +138,9 @@
# build kodi with alsa support (yes/no)
KODI_ALSA_SUPPORT="yes"
# build kodi with pulseaudio support (yes/no)
KODI_PULSEAUDIO_SUPPORT="yes"
### KODI ADDONS ###
# Distribution Specific source location

View File

@ -55,7 +55,7 @@ configure_package() {
KODI_ALSA="-DENABLE_ALSA=OFF"
fi
if [ "${PULSEAUDIO_SUPPORT}" = yes ]; then
if [ "${KODI_PULSEAUDIO_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" pulseaudio"
KODI_PULSEAUDIO="-DENABLE_PULSEAUDIO=ON"
else

View File

@ -17,6 +17,8 @@ PKG_LONGDESC="Root package used to build and create complete image"
# Sound support
[ "${ALSA_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" alsa"
[ "${PULSEAUDIO_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" pulseaudio"
# Automounter support
[ "${UDEVIL}" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil"