mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-04-19 12:07:18 +00:00
kodi: split PULSEAUDIO_SUPPORT and KODI_PULSEAUDIO_SUPPORT
This commit is contained in:
parent
d5be131e30
commit
245fc2894c
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user