kodi: split ALSA_SUPPORT and KODI_ALSA_SUPPORT

This commit is contained in:
Lukas Rusak
2022-05-17 09:12:12 -07:00
parent 876d25b0a5
commit d5be131e30
2 changed files with 3 additions and 1 deletions

View File

@@ -135,6 +135,8 @@
# build with Samba Client support (mounting SAMBA shares with KODI) (yes / no)
KODI_SAMBA_SUPPORT="yes"
# build kodi with alsa support (yes/no)
KODI_ALSA_SUPPORT="yes"
### KODI ADDONS ###

View File

@@ -48,7 +48,7 @@ configure_package() {
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
fi
if [ "${ALSA_SUPPORT}" = yes ]; then
if [ "${KODI_ALSA_SUPPORT}" = yes ]; then
PKG_DEPENDS_TARGET+=" alsa-lib"
KODI_ALSA="-DENABLE_ALSA=ON"
else